Positions a label in the center of the range of an object and rotates the label 90 degrees if there is not enough clear space in the first position.
Usage in Label Template XML
<posModules>
<posModule value="DrawingCenterThenRotate">
<hOffset>0</hOffset>
<vOffset>0</vOffset>
<connectPoint>4</connectPoint>
</posModule>
</posModules>
Customization
hOffset, vOffset
The horizontal or vertical distance of the label from the positioning point. This distance is applied when the software cannot find clear space in which to place the label. The value is measured in meters.
The following graphic shows a label placed according to positive Vertical Offset and Horizontal Offset values.
1 - Horizontal Offset distance |
connectPoint
Specifies the point on the model object to which the leader line connects. If model objects block the direct path of the leader line to the Connect Point, then the leader line points toward the connect point.
The range of options is indicated by colored dots in the following graphic. The connectPoint is placed at the TopRight point.
1 - Top Left |
The following options allow you to manually edit the .xml file.
-
Type 0 to place the Connect Point at the top left.
-
Type 1 to place the Connect Point at the top middle.
-
Type 2 to place the Connect Point at the top right.
-
Type 3 to place the Connect Point at the middle left.
-
Type 4 to place the Connect Point in the middle middle.
-
Type 5 to place the Connect Point at the middle right.
-
Type 6 to place the Connect Point at the bottom left.
-
Type 7 to place the Connect Point at the bottom middle.
-
Type 8 to place the Connect Point at the bottom right.