개정판 0a1f51fb
dev issue #000 : edit Resources
Change-Id: I35bb053763ed6662b2dbeea3faa83c25643f8c23
DTI_PID/SPPIDConverter/AutoModeling.cs | ||
---|---|---|
1290 | 1290 |
_LMLabelPersist.Commit(); |
1291 | 1291 |
_placement.PIDRemovePlacement(_LMLabelPersist.AsLMRepresentation()); |
1292 | 1292 |
ReleaseCOMObjects(_LMLabelPersist); |
1293 |
double newX = Math.Abs(x1 - x2); |
|
1293 |
double newX = Math.Abs(x1 - x2) / 2;
|
|
1294 | 1294 |
double newY = Math.Abs(y1 - y2) / 2; |
1295 | 1295 |
array = new double[] { 0, text.SPPID.ORIGINAL_X + newX, text.SPPID.ORIGINAL_Y - newY }; |
1296 | 1296 |
_LMLabelPersist = _placement.PIDPlaceLabel(mapping.SPPIDSYMBOLNAME, ref array, Rotation: text.ANGLE, LabeledItem: _LMSymbol.AsLMRepresentation(), IsLeaderVisible: true); |
내보내기 Unified diff