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.

Size Class

The Size class contains the width and height properties.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DrawingSize

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 class Size

The Size type exposes the following members.

Constructors
  Name Description
Public method Size
Creates a new size instance with zero width and height.
Public method Size(Double, Double)
Creates a new size instance with the specified width and height.
Top
Properties
  Name Description
Public property Height
Gets or sets the height value of the size instance.
Public property Width
Gets or sets the width value of the size instance.
Top
Methods
  Name Description
Public methodCode example ToString
Returns a string that represents this instance (in fractional inches if advanced option XS_USE_ONLY_INCHES_IN_SHEET_SIZES set to true).
(Overrides ObjectToString.)
Public methodCode example ToString(String)
Returns a string that represents this instance (in fractional inches if advanced option XS_USE_ONLY_INCHES_IN_SHEET_SIZES set to true).
Public methodCode example ToString(IFormatProvider, String)
Returns a string that represents this instance (in fractional inches if advanced option XS_USE_ONLY_INCHES_IN_SHEET_SIZES set to true).
Top
See Also