DK11 for ActiveX | TatukGIS_XDK11.TGIS_LabelAlignment | Enums
Alignment within label.
// C# public enum TGIS_LabelAlignment { Single = 0, LeftJustify = 1, Center = 2, RightJustify = 3, Follow = 4 }
' VisualBasic Public Enum TGIS_LabelAlignment Single = 0 LeftJustify = 1 Center = 2 RightJustify = 3 Follow = 4 End Enum
// Oxygene type TGIS_LabelAlignment = public ( Single = 0, LeftJustify = 1, Center = 2, RightJustify = 3, Follow = 4 );
Name | Value | Description | |
---|---|---|---|
Single | 0 | No alignment; single line label. | |
LeftJustify | 1 | Align to left; multi-line allowed. | |
Center | 2 | Center text; multi-line allowed. | |
RightJustify | 3 | Align to right; multi-line allowed. | |
Follow | 4 | label will follow the flow of shape; valid only for Arcs; ideal for river and streets labeling; any position will be tested for fitting with 10% tolerance; to place a label on a top of the shape set TGIS_ParamsLabel.Position to TGIS_LabelPosition.MiddleCenter; to force a label to display on arcs shorter than a label width set TGIS_ParamsLabel.Position to TGIS_LabelPosition.Flow. | |