API Reference

Detailed and full API reference helps you master Tekla development

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

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2021.0.0
public sealed class Frame : IAxisAlignedBoundingBox, 
	IObjectAlignedBoundingBox, IIsEqual, ICloneable

The Frame type exposes the following members.

  Name Description
Public method Frame
Creates a new frame instance with the specified frame type and color.
  Name Description
Public property Color
The frame's color.
Public property Type
The frame's type (square, round, dashed...).
  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.
See Also