User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_labelalignment

Table of Contents

TGIS_LabelAlignment enum

DK11 for ActiveX | TatukGIS_XDK11.TGIS_LabelAlignment | Enums

Alignment within label.

Available also on: Delphi | .NET | Java.

Syntax

// 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
  );

Members

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.

2020/05/22 21:48

Page Tools