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.

Frame Class

The Frame class defines a frame that can be given to objects, including texts. A frame is a box around the object. You can specify the color and shape of the box.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DrawingFrame

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 Frame : IAxisAlignedBoundingBox, 
	IObjectAlignedBoundingBox, IIsEqual, ICloneable

The Frame type exposes the following members.

Constructors
  Name Description
Public method Frame
Creates a new frame instance with the specified frame type and color.
Top
Properties
  Name Description
Public property Color
The frame's color.
Public property Type
The frame's type (square, round, dashed...).
Top
Methods
  Name Description
Public method Clone
Clones the object.
Public method GetAxisAlignedBoundingBox
Returns the bounding box of the frame in the global axis coordinate system.
Public method GetObjectAlignedBoundingBox
Returns the bounding box of the frame in the local coordinate system.
Public method IsEqual
Compares the current object with an object of the same type.
Top
See Also