DgnImage class
DgnImage class
Dgn image class
Inheritance: DgnImage →
Image →
DataStreamSupporter →
DisposableObject
The DgnImage type exposes the following members:
Properties
| Property | Description |
|---|---|
| disposed | Gets a value indicating whether this instance is disposed. |
| data_stream_container | Gets the object’s data stream. |
| is_cached | Gets a value indicating whether object’s data is cached currently and no data reading is required. |
| bounds | Gets the image bounds. |
| container | Gets the Image container. |
| height | Gets the image height. |
| palette | Gets or sets the color palette. |
| size | Gets the image size. |
| width | Gets the image width. |
| has_background_color | Gets or sets a value indicating whether image has background color. |
| background_color | Gets or sets a value for the background color. |
| unit_type | Gets current unit type. |
| unitless_default_unit_type | Assumed unit type when UnitType is set to Unitless |
| sub_unit_type | Gets current sub-unit type. |
| version | Gets DGN version of loaded image |
| is_3d_image | Gets a value indicating whether file is 3D or not |
| elements | Gets elements were read from source file |
| tags | Gets the tags. |
| max_point | Gets the max point. |
| min_point | Gets the min point. |
| views | Gets the views. |
Methods
| Method | Description |
|---|---|
| save | Saves the image data to the underlying stream. |
| save | Saves the object’s data to the specified file location in the specified file format according to save options. |
| save | Saves the image’s data to the specified stream in the specified file format according to save options. |
| save | Saves the object’s data to the specified stream. |
| save | Saves the object’s data to the specified file location. |
| save | Saves the object’s data to the specified file location. |
| can_load | Determines whether image can be loaded from the specified file path. |
| can_load | Determines whether an image can be loaded from the specified file path and optionally using the specified open options |
| can_load | Determines whether image can be loaded from the specified stream. |
| can_load | Determines whether image can be loaded from the specified stream and optionally using the specified load_options. |
| get_file_format | Gets the file format. |
| get_file_format | Gets the file format. |
| load | Loads a new image from the specified file. |
| load | Loads a new image from the specified file. |
| load | Loads a new image from the specified stream. |
| load | Loads a new image from the specified stream. |
| cache_data | Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.data_stream_container. |
| get_strings | Gets all string values from image. |
| can_save | Determines whether image can be saved to the specified file format represented by the passed save options. |
See Also
- module
aspose.cad.fileformats.dgn - class
DataStreamSupporter - class
DgnImage - class
DisposableObject - class
Image