Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

GridLineGridLabel Class

The GridLabel class contains the grid labels of the grid lines, the text label and the insertion points.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DrawingGridLineGridLabel

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
[SerializableAttribute]
public sealed class GridLabel : IAxisAlignedBoundingBox, 
	IMovableRelative

The GridLineGridLabel type exposes the following members.

Constructors
  Name Description
Public method GridLineGridLabel
Creates a new default grid label instance.
Top
Properties
  Name Description
Public property CenterPoint
The center point of the grid label.
Public property FrameHeight
The height of the grid label frame.
Public property FrameWidth
The width of the grid label frame.
Public property GridLabelPoint
The grid line's label point. If the value of GridLabelPoint differs from the OffsetGridPoint value, a leader line will be created to the GridLabelPoint position. You can remove the leader line by setting GridLabelPoint to the GridPoint value (or by setting the GridLabelPoint anywhere on the grid line, but then the offset will change).
Public property GridLabelText
The grid line's label text.
Public property GridPoint
The grid line point, without offsets taken into consideration (model grid line coordinates).
Public property OffsetGridPoint
The grid line point where the grid line actually ends, with offsets applied.
Public property TextHeight
The height of the grid label's text frame.
Public property TextWidth
The width of the grid label's text frame.
Top
Methods
  Name Description
Public method GetAxisAlignedBoundingBox
The bounding box of the grid line label (rectangle format, axis aligned).
Public method GetAxisAlignedBoundingBoxOfTextLabel
The bounding box of the grid line label's text (rectangle format, axis aligned).
Public method MoveObjectRelative
Moves the object using the move vector.
Top
See Also