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.

GridGridAttributes Class

The GridAttributes class is the attributes class for the grid.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DrawingAttributesBase
    Tekla.Structures.DrawingGridGridAttributes

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 GridAttributes : AttributesBase

The GridGridAttributes type exposes the following members.

Constructors
  Name Description
Public method GridGridAttributes
Creates a new default grid attributes instance that loads standard attributes.
Public method GridGridAttributes(String)
Creates a new grid attributes instance that loads the specified attributes.
Top
Properties
  Name Description
Public property DrawOnlyTextLabelsNotGrids
Set as true if you don't want to draw the grids, only show the grids' text labels.
Public property DrawTextAtBottomOfGrid
Set as true if you want to show the grid's text labels at the bottom of the grid.
Public property DrawTextAtLeftOfGrid
Set as true if you want to show the grid's text labels at the left of the grid.
Public property DrawTextAtRightOfGrid
Set as true if you want to show the grid's text labels at the right of the grid.
Public property DrawTextAtTopOfGrid
Set as true if you want to show the grid's text labels at the top of the grid.
Public property Font
The grid's font attributes.
Public property Frame
The frame attributes of the grid's labels.
Public property Line
The grid's line attributes.
Public property OffsetAtEndOfLine
The offset for the end of the grid lines.
Public property OffsetAtStartOfLine
The offset for the beginning of the grid lines.
Top
Methods
  Name Description
Public method IsEqual
Compares the current object with an object of the same type.
(Overrides AttributesBaseIsEqual(Object).)
Public method LoadAttributes
Loads the attributes from the attribute file.
(Overrides AttributesBaseLoadAttributes(String).)
Top
See Also