CADability dotNET
The Layout type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Layout(Project) |
Creates an empty Layout
| |
| Layout(SerializationInfo, StreamingContext) |
Used by deserialization.
|
Methods
| Name | Description | |
|---|---|---|
| AddPatch(Model, Projection, Border) |
Adds a "patch" to the layout. A patch is a a model with a certain
projection placed on a section of the layout. The projection includes
the placement of the model inside the section and the scaling.
| |
| AddPatch(Model, Projection, Border, LayoutView) | ||
| AddVisibleLayer |
Marks the given Layer as visible in the context of this ProjectedModel.
| |
| CenterPatch |
Centers the patch with the given index according to the horizontal and vertical
center mode. If scale is 0.0 the current scaling remains unchanged.
| |
| Finalize | (Overrides Object..::..Finalize()()()().) | |
| GetPatch |
Returns the data that describe the patch with the given index.
| |
| IsLayerVisible |
Determins whether the given Layer is marked visible in the context of this ProjectedModel.
| |
| MovePatch |
Places the patch on the paper leaving the scalinfactor unchanged. The parameters
specify the position of the model origin on the paper.
| |
| RemovePatch |
Removes the patch with the given index
| |
| RemoveVisibleLayer |
Marks the given Layer as invisible in the context of this ProjectedModel.
| |
| SetPatch |
Changes the data of the patch with the given index.
|
Fields
| Name | Description | |
|---|---|---|
| pageSettings |
The printer settings.
|
Properties
| Name | Description | |
|---|---|---|
| Name |
Gets or sets the name of the layout.
| |
| PaperHeight |
Gets or sets the height of the total layout area. When printing the layout this
is assumed to be in mm
| |
| PaperWidth |
Gets or sets the width of the total layout area. When printing the layout this
is assumed to be in mm
| |
| PatchCount |
Returns the number of the patches
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ISerializable..::..GetObjectData |