Device Class |
The Device type exposes the following members.
| Name | Description | |
|---|---|---|
| Device | Default constructor for the Device class. Creates a graphics device based on an internal pointer to the wrapped C++ object. | |
| Device(IntPtr, Boolean) | Constructor for the Device class. |
| Name | Description | |
|---|---|---|
| AutoDelete | Property that indicates whether the object should be
automatically deleted by the Garbage Collector. (Inherited from DisposableWrapper) |
|
| BackgroundColor | Property that represents the background color of the GUI window of this Device object. | |
| DarkPalette | Property that represents the palette for dark background colors used by this Device object. | |
| IsDisposed | Property that indicates whether pointer to native code
unmanaged object == IntPtr::Zero. (Inherited from DisposableWrapper) |
|
| IsValid | Property that indicates whether the GUI window for this Device object is showing the correct image. | |
| LightPalette | Property that represents the palette for light background colors used by this Device object. | |
| LogicalPalette | Property that represents the logical palette to be used by this Device object. | |
| NumViews | Property that represents the number of views associated with this Device object. | |
| Properties | Property that represents a set of device properties stored in a dictionary. For more information, see ODA Vectorization Devices Properties. | |
| UnmanagedObject | Property that represents a pointer to an unmanaged
object. (Inherited from DisposableWrapper) |
|
| UserGiContext | Property that represents user context for the graphics interface. |
| Name | Description | |
|---|---|---|
| Add | Adds a graphics view where drawing is drawn. Returns true if the view was successfully added to the device. | |
| 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) |
|
| CreateModel | Creates a new model object, and associates it with this device. | |
| CreateObjRef | (Inherited from MarshalByRefObject) |
|
| CreateView | Creates a new view and associates it with this device. | |
| CreateView(ClientViewInfo) | Creates a new view based on the client view information and associates it with this device. | |
| CreateView(ClientViewInfo, Boolean) | Creates a new view based on the client view information and associates it with this device. | |
| DeleteUnmanagedObject | (Overrides RXObjectDeleteUnmanagedObject) |
|
| Dispose | (Inherited from DisposableWrapper) |
|
| Dispose(Boolean) | (Inherited from DisposableWrapper) |
|
| Equals | Checks objects for equality. (Inherited from DisposableWrapper) |
|
| Erase(Int32) | Erases a view by the specified index. | |
| Erase(View) | Erases the specified view object. | |
| EraseAll | Erases all views associated with this device. | |
| Finalize | (Inherited from DisposableWrapper) |
|
| GetHashCode | Retrieves the object hash code. (Inherited from DisposableWrapper) |
|
| GetImpObj | ||
| GetLifetimeService | (Inherited from MarshalByRefObject) |
|
| GetMetaObject | (Inherited from RXObject) |
|
| GetRXClass | Gets a class describing instance dynamically associated with
this object as the OdRxClass object. (Inherited from RXObject) |
|
| GetSize | Retrieves the size of the device. | |
| GetSizeExt | Retrieves the extents that represent dimensions of the device. | |
| GetSizeRect | Retrieves the rectangle that represents dimensions of the device. | |
| GetSnapshot | Performs a snapshot of the device's current graphics status. | |
| GetType | (Inherited from Object) |
|
| InitializeLifetimeService | (Inherited from MarshalByRefObject) |
|
| InsertView | Inserts the specified view object to the specified position (defined by the viewIndex parameter) in this device. | |
| Invalidate | This method is used to signal that the entire display area is invalid and needs to be refreshed. | |
| Invalidate(Rectangle) | This method is used to signal that the specified display area is invalid area needs to be refreshed. | |
| MemberwiseClone | (Inherited from Object) |
|
| MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject) |
|
| OnDisplayChange | Causes this device to accept new screen resolution and color depth whenever an operating system changes these parameters. | |
| OnRealizeBackgroundPalette | Causes this device to realize its palette in the background. This method is usually called when the GUI window loses focus. | |
| OnRealizeForegroundPalette | Causes this device to realize its palette in the foreground. This method is usually called when the GUI window loses focus. | |
| OnSize(Extents2d) | ||
| OnSize(Rectangle) | ||
| OnSize(Size) | ||
| 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) |
|
| SetLogicalPalette | Sets the logical color palette to be used by this device. The set palette can later be used for setting indexed colors. | |
| ToString | (Inherited from Object) |
|
| Update | Sends the "update" message to all owned views and forces to display the correct, up to date picture. | |
| Update(Rectangle) | Sends the "update" message to all owned views and forces to display the correct, up to date picture. | |
| ViewAt | Retrieves a view by the specified index. | |
| 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. |