Represents a layout viewport in a CAD drawing.
The following tables list the members exposed by the CADViewPort type.
Public Constructors
| Name | Description | |
|---|---|---|
|
CADViewPort | Initializes a new instance of the CADViewPort class. |
Public Properties
| Name | Description | |
|---|---|---|
|
Box | Gets a three-dimensional box that encloses the CADViewPort object. |
|
Color | Gets or sets a color of the pen for this CADPenEntity. (inherited from CADPenEntity). |
|
Converter | Gets or sets a CADConverter associated with this CADObjectEntity. (inherited from CADObjectEntity). |
|
Count | Gets a number of entities contained in the given CADEntity. (inherited from CADEntity). |
|
DashStyle | Gets or sets DashStyle for CADPenEntity object (inherited from CADPenEntity). |
|
EntName | Gets a name of the CADEntity. (inherited from CADEntity). |
|
EntType | Gets a type of this CADViewPort entity. |
|
Entities | Gets a collection of all entities owned by this CADEntity. (inherited from CADEntity). |
|
ExtendedData | Provides access to entity extended data (inherited from CADEntity). |
|
FrozenLayers | Gets or sets a list of frozen layers in the current viewport. |
|
Handle | Gets a CADEntity handle. (inherited from CADEntity). |
|
IsOwnerModel | |
|
Layer | Gets or sets a layer this CADPlotEntity belongs to. (inherited from CADPlotEntity). |
|
LineType | Gets or sets a linetype of the CADEntity. (inherited from CADEntity). |
|
LineTypeScale | Gets or sets a value equal to a quantity of linetype elements per unit of its length. (inherited from CADPlotEntity). |
|
LineWeight | Gets or sets a thickness of lines for this CADEntity. (inherited from CADEntity). |
|
MSpaceCenter | Gets or sets a view center point in display coordinate system (DCS). |
|
MSpaceHeight | Gets or sets a height of the model space displayed in the viewport and measured in model space units. |
|
PSpaceCenter | Gets or sets a view center point in world coordinate system (WCS). |
|
PSpaceHeight | Gets or sets a height of the model space displayed in the viewport and measured in paper space units. |
|
PSpaceWidth | Gets or sets a width of the model space displayed in the viewport and measured in paper space units. |
|
Rect | Gets a rect of the viewport. |
|
Selected | Gets or sets a value indicating whether the CADEntity is selected. (inherited from CADEntity). |
|
TurnsOff | |
|
ViewDirection | Gets or sets a view direction vector in the world coordinate system (WCS). |
|
ViewTarget | Gets or sets a view target point in the world coordinate system (WCS). |
|
ViewTwistAngle | Gets or sets a rotation angle for the image displayed in the CADViewPort. |
|
Visibility | Gets or sets a value indicating whether a CADPlotEntity is visible. (inherited from CADPlotEntity). |
|
Visible | Gets or sets a value indicating whether a CADPlotEntity is visible taking into account a state of the layer this CADPlotEntity belongs to. (inherited from CADPlotEntity). |
|
VisibleBoundary | Gets or sets a value indicating whether the viewport's boundary is visible. |
|
Width | Gets or sets a line width of CADPenEntity object (inherited from CADPenEntity). |
Public Methods
| Name | Description | |
|---|---|---|
|
AddEntity | Virtual method. Redefined in descendant classes. (inherited from CADEntity). |
|
AssignEntity | Copies an entity |
|
ChangeEntity | Edits current entity by specified offset (inherited from CADEntity). |
|
Clone | Copies an entity (inherited from CADEntity). |
|
Dispose | Releases all resources used by the CADEntity. |
|
DrawEntityTrace | Implements drawing of entity with specified offset to specified Control (inherited from CADEntity). |
|
Equals | (Overloaded) (inherited from Object). |
|
GetBoundary | Gets a boundary of the CADViewPort. |
|
GetBoxPoints | Checks if the CADEntity must be drawn during a drawing cycle. (inherited from CADEntity). |
|
GetDrawModel | Returns a value indicating whether a model space can be displayed in the viewport. |
|
GetHashCode | (inherited from Object). |
|
GetType | (inherited from Object). |
|
Loaded | Loads this CADViewPort to the specified CADConverter. |
|
OnDraw | Raises a DrawEvent. (inherited from CADEntity). |
|
ReferenceEquals | (inherited from Object). |
|
SetBoundary | Sets a boundary of the CADViewPort. |
|
SetLType | Sets a linetype for this CADEntity. (inherited from CADEntity). |
|
ToString | (inherited from Object). |
Fields
| Name | Description | |
|---|---|---|
|
DrawEvent | Occurs when the CADEntity is drawn in the CAD image. (inherited from CADEntity). |
See Also