User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_labelalignment

Table of Contents

TGIS_LabelAlignment enum

DK11 for .NET | TatukGIS.NDK.TGIS_LabelAlignment | Enums

Alignment within label.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public enum TGIS_LabelAlignment
{
  Single, LeftJustify, Center, RightJustify, Follow
}
' VisualBasic
Public Enum TGIS_LabelAlignment
  Single
  LeftJustify
  Center
  RightJustify
  Follow
End Enum
// 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/08 01:21

Page Tools