drawing::customSheetFunction in std::drawing
Create a drawing sheet from two side lengths and a name.
Added in KCL 4.0.
Both lengths must be finite and positive. The selected orientation determines which side is the width of the resulting sheet.
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
width | number(Length) | The width of the paper before applying the orientation. | Yes |
height | number(Length) | The height of the paper before applying the orientation. | Yes |
orientation | SheetOrientation | The orientation of the sheet. | Yes |
name | string | A human-readable name that must be nonblank after trimming whitespace. | Yes |
Returns
Sheet - An opaque drawing sheet. Square sheets retain their selected orientation.