Represents a single sheet of a model drawing. More...
Classes | |
| class | ViewIterator |
| Iterates over views of a drawing sheet. More... | |
Public Types | |
| enum | PaperSizeType { UnknownPaperSize = 0 , A0 , A1 , A2 , A3 , A4 , A , B , C , D , E , UserDefinedPaperSize = 1000 } |
| enum | OrientationType { Landscape , Portrait } |
Public Member Functions | |
| Sheet (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| Sheet () | |
| Constructor. | |
| void | SetUuid (System.Guid theUuid) |
| System.Guid | Uuid () |
| double | Width () |
| Returns the width of the sheet. | |
| double | Height () |
| Returns the height of the sheet. | |
| cadex.Drawing.Sheet.PaperSizeType | PaperSize () |
| Returns the standard paper size of the sheet, if one was defined. | |
| cadex.Drawing.Sheet.OrientationType | Orientation () |
| Returns the orientation of the sheet. | |
| void | SetStandardSheetSize (cadex.Drawing.Sheet.PaperSizeType thePaperSize, cadex.Drawing.Sheet.OrientationType theOrientation) |
| Sets the sheet size to one of the standard sizes. | |
| void | SetCustomSheetSize (double theWidth, double theHeight) |
| Sets the custom sheet size with specified dimensions. | |
| uint | NumberOfViews () |
| Returns the number of child views. | |
| void | AddView (cadex.Drawing.View theView) |
| Adds a view to the sheet. | |
Public Member Functions inherited from cadex.BaseObject | |
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| bool | IsNull () |
| ulong | Id () |
| Return unique identifier of public object. | |
| bool | IsEqual (cadex.BaseObject theObj) |
| override int | GetHashCode () |
| override bool | Equals (System.Object o) |
Static Public Member Functions | |
| static bool | CompareType (cadex.BaseObject theObject) |
| static cadex.Drawing.Sheet | Cast (cadex.BaseObject theBase) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Represents a single sheet of a model drawing.
An object of this class mimics a physical sheet of paper, hence the size and orientation settings.
Normally a drawing sheet would have associated metadata, such as default scale, title block, etc. This information is represented with objects of DrawingView class.
Represents orientation of the drawing sheet.
Represents supported paper sizes of drawing sheets.
|
inlineprotectedvirtual |
Reimplemented from cadex.BaseObject.
|
inline |
Returns the height of the sheet.
The width and height of a sheet with a standard size depend on the orientation. Changing the orientation swaps width and height.
|
inline |
Returns the width of the sheet.
The width and height of a sheet with a standard size depend on the orientation. Changing the orientation swaps width and height.