User Tools

Site Tools


api:dk11:delphi:gistypes.tgis_labelalignment

Table of Contents

TGIS_LabelAlignment enum

DK11 for Delphi | GisTypes.TGIS_LabelAlignment | Enums

Alignment within label.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_LabelAlignment = (
    Single, LeftJustify, Center, RightJustify, Follow
  );
// C++ Builder
enum DECLSPEC_DENUM TGIS_LabelAlignment unsigned short {
  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:10

Page Tools