Viewport Class |
The Viewport type exposes the following members.
| Name | Description | |
|---|---|---|
| AcadWindowId | Property that represents the window ID for this Viewport object. This property value corresponds to the CVPORT system variable. | |
| AutoDelete | Property that indicates whether the object should be
automatically deleted by the Garbage Collector. (Inherited from DisposableWrapper) |
|
| CameraLocation | Property that represents the WCS camera (eye) location for this Viewport object. | |
| CameraTarget | Property that represents the WCS camera target for this Viewport object. | |
| CameraUpVector | Property that represents the WCS camera "up" vector for this Viewport object. | |
| DeviceContextViewportCorners | Property that represents the device context viewport corners that are used to position the geometry (such as icons) that remain in a fixed position or fixed size in the viewport's display. | |
| EyeToModelTransform | Property that represents the transformation matrix from EyeSpace to ModelSpace for this Viewport object. | |
| EyeToWorldTransform | Property that represents transformation matrix from EyeSpace to WCS for this Viewport object. | |
| FrontAndBackClipping | Property that represents parameters that indicate whether front and back clipping is enabled, together with front and back clipping distance information. | |
| IsDisposed | Property that indicates whether pointer to native code
unmanaged object == IntPtr::Zero. (Inherited from DisposableWrapper) |
|
| IsPerspective | Property that indicates whether perspective mode is turned on for this viewport. | |
| LinetypeGenerationCriteria | Property that represents the value below which linetype generation is not used. | |
| LinetypeScaleMultiplier | Property that represents multiplier that is used to scale all linetypes in this Viewport object. | |
| ModelToEyeTransform | Property that represents transformation matrix from ModelSpace to EyeSpace for this Viewport object. | |
| UnmanagedObject | Property that represents a pointer to an unmanaged
object. (Inherited from DisposableWrapper) |
|
| ViewDirection | Property that represents the vector from the camera target to the camera location. | |
| ViewportId | Property that represents Viewport ID for this Viewport object. Note that this property does not relate to CVPORT system variable. | |
| WorldToEyeTransform | Property that represents transformation matrix from WCS to EyeSpace for this Viewport object. |
| Name | Description | |
|---|---|---|
| Clone | Creates a *clone* of this object, and returns a pointer to the
*clone*. (Inherited from RXObject) |
|
| CompareTo | Allows classes to compare class objects. (Inherited from RXObject) |
|
| CopyFrom | Copies the contents of the specified object into this
object. (Inherited from RXObject) |
|
| CreateObjRef | (Inherited from MarshalByRefObject) |
|
| DeleteUnmanagedObject | (Inherited from RXObject) |
|
| Dispose | (Inherited from DisposableWrapper) |
|
| Dispose(Boolean) | (Inherited from DisposableWrapper) |
|
| DoInversePerspective | Applies the inverse of the current perspective transformation to the specified point. | |
| DoPerspective | Applies the current perspective transformation to the specified point. | |
| Equals | Checks objects for equality. (Inherited from DisposableWrapper) |
|
| Finalize | (Inherited from DisposableWrapper) |
|
| GetHashCode | Retrieves the object hash code. (Inherited from DisposableWrapper) |
|
| GetLifetimeService | (Inherited from MarshalByRefObject) |
|
| GetMetaObject | (Inherited from RXObject) |
|
| GetNumPixelsInUnitSquare | Returns the display pixel density at the specified point for this Viewport object. | |
| GetRXClass | Gets a class describing instance dynamically associated with
this object as the OdRxClass object. (Inherited from RXObject) |
|
| GetType | (Inherited from Object) |
|
| InitializeLifetimeService | (Inherited from MarshalByRefObject) |
|
| LayerVisible | Checks whether the specified layer is not frozen either globally or in this Viewport object. | |
| MemberwiseClone | (Inherited from Object) |
|
| MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject) |
|
| QueryX | Checks whether the object belongs to the specified class and
returns a pointer to this object if this object can be converted to
the specified class. (Inherited from RXObject) |
|
| ToString | (Inherited from Object) |
|
| X | Checks whether the object belongs to the specified class and
returns a pointer to this object if this object can be converted to
the specified class, or throws an exception if it cannot. (Inherited from RXObject) |
| © Bricsys NV. All rights reserved. |