User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_labelalignment

Table of Contents

TGIS_LabelAlignment enum

DK11 for Java | tatukgis.jdk.TGIS_LabelAlignment | Enums

Alignment within label.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public enum TGIS_LabelAlignment {
  Single, LeftJustify, Center, RightJustify, Follow
}
// Oxygene
type
  TGIS_LabelAlignment = public (
    Single, LeftJustify, Center, RightJustify, Follow
  };

Members

Name Value Description
Single No alignment; single line label.
LeftJustify Align to left; multi-line allowed.
Center Center text; multi-line allowed.
RightJustify Align to right; multi-line allowed.
Follow 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/07 01:14

Page Tools