Please enable JavaScript to view this site.

Version:

Description

The Line Control draws a line in a specified direction, style, width, and color.

Properties Common to Most Controls

For more information about the properties listed below, see Properties Common to Most Controls.

Actions: Align to Grid, Size to Grid, Center Horizontally, Center Vertically, Bring to Front, Send to Back, Fit Bounds to Container

Styles: Even Style, Odd Style, Style

Appearance: Background Color, Border Color, Border Dash Style, Border Width, Borders, Font Name, Font Size, Font Unit, Font Effects, Foreground Color, Padding

Behavior: Can Publish, Keep Together, Visible

Data: Tag

Design: Name

Layout: Location, Size

Navigation: Bookmark, Parent Bookmark, Navigation URL

For more information regarding each of the property groups, see the Control Reference.

Actions

Line Direction

Specifies the direction of the line.

Options for this property include:

Horizontal

Vertical

Slant: slant

Back Slant: back-slant

Line Style

Specifies how the line appears.

Options for this property include:

Solid

Dashed: dashed

Dotted: dotted

Mixed: mixed

Line Width

Specifies the line width in pixels, as a floating value.

Anchor Vertically

Sets the location of the control in relation to the parent container. When the parent container changes size, the control may move or resize to maintain its position.

The options for vertically anchoring include:

None: The control's size and location are not affected when the container size changes.

Top: The distance between the top of the control and the top of the container remains fixed when the container size changes.

Bottom: The distance between the bottom of the control and the bottom of the container remains fixed when the container size changes.

Both: The distance from the top and bottom of the control from the top and bottom of the container remains fixed when the container size changes. This means that control is resized to maintain these fixed distances.

Anchor Horizontally

Sets the location of the control in relation to the parent container. When the parent container changes size, the control may move or resize to maintain its position.

The options for horizontally anchoring include:

None: When the parent container changes size, the control's size and location are not affected when the container size changes.

Left: The distance between the left edge of the control and the left side of the container remains fixed when the container size changes.

Right: The distance between the right edge of the control and the right side of the container remains fixed when the container size changes.

Both: The distance from the left and right edges of the control from the left and right sides of the container remains fixed when the container size changes. This means that control is resized to maintain these fixed distances.

 

Appearance

Line Direction

Specifies the direction of the line.

Options for this property include:

Horizontal

Vertical

Slant: slant

Back Slant: back-slant

Line Style

Specifies how the line appears.

Options for this property include:

Solid

Dashed: dashed

Dotted: dotted

Mixed: mixed

Line Width

Specifies the line width in pixels, as a floating value.

Behavior

Anchor Vertically

Sets the location of the control in relation to the parent container. When the parent container changes size, the control may move or resize to maintain its position.

The options for vertically anchoring include:

None: The control's size and location are not affected when the container size changes.

Top: The distance between the top of the control and the top of the container remains fixed when the container size changes.

Bottom: The distance between the bottom of the control and the bottom of the container remains fixed when the container size changes.

Both: The distance from the top and bottom of the control from the top and bottom of the container remains fixed when the container size changes. This means that control is resized to maintain these fixed distances.

Anchor Horizontally

Sets the location of the control in relation to the parent container. When the parent container changes size, the control may move or resize to maintain its position.

The options for horizontally anchoring include:

None: When the parent container changes size, the control's size and location are not affected when the container size changes.

Left: The distance between the left edge of the control and the left side of the container remains fixed when the container size changes.

Right: The distance between the right edge of the control and the right side of the container remains fixed when the container size changes.

Both: The distance from the left and right edges of the control from the left and right sides of the container remains fixed when the container size changes. This means that control is resized to maintain these fixed distances.

Related Tutorials

Refer to the following resources for additional help on implementing this control:

Configure Controls

Expressions

© 2026 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.30 (31b296b9)