Size Class |
The Size class contains the width and height properties.
Inheritance Hierarchy
Namespace: Tekla.Structures.Drawing
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2024.0.0+a110b435391768740483e3032720a566518c9a63
Syntax
The Size type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Size |
Creates a new size instance with zero width and height.
| |
Size(Double, Double) |
Creates a new size instance with the specified width and height.
|
Properties
Name | Description | |
---|---|---|
Height |
Gets or sets the height value of the size instance.
| |
Width |
Gets or sets the width value of the size instance.
|
Methods
Name | Description | |
---|---|---|
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.) | |
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).
| |
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).
|
See Also