Represents a layout viewport in a CAD drawing.

The following tables list the members exposed by the CADViewPort type.

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