
## DxfImage class

Dxf image class



**Inheritance:** [`DxfImage`](/cad/python-net/aspose.cad.fileformats.cad/dxfimage) → 
[`CadImage`](/cad/python-net/aspose.cad.fileformats.cad/cadimage) → 
[`Image`](/cad/python-net/aspose.cad/image) → 
[`DataStreamSupporter`](/cad/python-net/aspose.cad/datastreamsupporter) → 
[`DisposableObject`](/cad/python-net/aspose.cad/disposableobject)



The DxfImage type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/__init__/#) | Initializes a new instance of the [`DxfImage`](/cad/python-net/aspose.cad.fileformats.cad/dxfimage) class. |


### Properties
| Property | Description |
| :- | :- |
| [disposed](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/disposed) | Gets a value indicating whether this instance is disposed. |
| [data_stream_container](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/data_stream_container) | Gets the object's data stream. |
| [is_cached](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/is_cached) | Gets a value indicating whether object's data is cached currently and no data reading is required. |
| [bounds](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/bounds) | Gets the image bounds. |
| [container](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/container) | Gets the [`Image`](/cad/python-net/aspose.cad/image) container. |
| [height](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/height) | Gets the image height. |
| [palette](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/palette) | Gets or sets the color palette. |
| [size](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/size) | Gets the image size. |
| [width](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/width) | Gets the image width. |
| [has_background_color](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/has_background_color) | Gets or sets a value indicating whether image has background color. |
| [background_color](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/background_color) | Gets or sets a value for the background color. |
| [unit_type](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/unit_type) | Gets current unit type. |
| [unitless_default_unit_type](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/unitless_default_unit_type) | Assumed unit type when UnitType is set to Unitless |
| [active_page](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/active_page) | Gets the active page. |
| [default_line_weight](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/default_line_weight) | Gets or sets the default line weight. |
| [default_font](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/default_font) | Gets or sets the default font. |
| [file_encoding](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/file_encoding) | Gets file's encoding |
| [application_version](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/application_version) | Gets or sets the application version. |
| [maintenance_version](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/maintenance_version) | Gets or sets the maintenance version. |
| [specified_encoding](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/specified_encoding) | Gets or sets the specified encoding. |
| [specified_mif_encoding](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/specified_mif_encoding) | Gets or sets the specified MIF character encoding |
| [line_types](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/line_types) | Gets or sets the dimension styles. |
| [block_entities](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/block_entities) | Gets or sets the block entities. |
| [class_entities](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/class_entities) | Gets or sets the class entities. |
| [thumbnail_image](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/thumbnail_image) | Gets or sets the thumbnail image. |
| [blocks_tables](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/blocks_tables) | Gets or sets the blocks tables. |
| [dimension_styles](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/dimension_styles) | Gets or sets the dimension styles. |
| [entities](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/entities) | Gets or sets the entities. |
| [objects](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/objects) | Gets or sets the objects. |
| [layers](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/layers) | Gets or sets the layers. |
| [max_point](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/max_point) | Gets the max point. |
| [min_point](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/min_point) | Gets the min point. |
| [styles](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/styles) | Gets or sets the styles. |
| [layouts](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/layouts) | Gets the layouts. |
| [header](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/header) | Gets or sets the header. |
| [view_ports](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/view_ports) | Gets or sets the view ports. |
| [views](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/views) | Gets or sets the views. |
| [uc_ss](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/uc_ss) | Gets or sets the uc ss. |
| [cad_acds](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/cad_acds) | Gets or sets the CadAcds list |
| [app_id_tables](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/app_id_tables) | Gets or sets the application identifier tables. |


### Methods
| Method | Description |
| :- | :- |
| [save](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/save/#) | Saves the image data to the underlying stream. |
| [save](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/save/#str-aspose.cad.ImageOptionsBase) | Saves the object's data to the specified file location in the specified file format according to save options. |
| [save](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/save/#io.RawIOBase-aspose.cad.ImageOptionsBase) | Saves the image's data to the specified stream in the specified file format according to save options. |
| [save](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/save/#io.RawIOBase) | Saves the object's data to the specified stream. |
| [save](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/save/#str) | Saves the object's data to the specified file location. |
| [save](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/save/#str-bool) | Saves the object's data to the specified file location. |
| [can_load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/can_load/#str) | Determines whether image can be loaded from the specified file path. |
| [can_load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/can_load/#str-aspose.cad.LoadOptions) | Determines whether an image can be loaded from the specified file path and optionally using the specified open options |
| [can_load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/can_load/#io.RawIOBase) | Determines whether image can be loaded from the specified stream. |
| [can_load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/can_load/#io.RawIOBase-aspose.cad.LoadOptions) | Determines whether image can be loaded from the specified stream and optionally using the specified `load_options`. |
| [get_file_format](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/get_file_format/#str) | Gets the file format. |
| [get_file_format](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/get_file_format/#io.RawIOBase) | Gets the file format. |
| [load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/load/#str-aspose.cad.LoadOptions) | Loads a new image from the specified file. |
| [load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/load/#str) | Loads a new image from the specified file. |
| [load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/load/#io.RawIOBase-aspose.cad.LoadOptions) | Loads a new image from the specified stream. |
| [load](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/load/#io.RawIOBase) | Loads a new image from the specified stream. |
| [get_bounds](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/get_bounds/#) | Fills Bounds property (contain minimum and maximum point of entity) for all entities. |
| [get_bounds](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/get_bounds/#aspose.cad.fileformats.cad.cadobjects.CadBaseEntity) | Fills Bounds property (contains minimum and maximum point) for entity. |
| [cache_data](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/cache_data/#) | Caches the data and ensures no additional data loading will be performed from the underlying [`DataStreamSupporter.data_stream_container`](/cad/python-net/aspose.cad/datastreamsupporter#data_stream_container). |
| [get_strings](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/get_strings/#) | Gets all string values from image. |
| [can_save](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/can_save/#aspose.cad.ImageOptionsBase) | Determines whether image can be saved to the specified file format represented by the passed save options. |
| [remove_entity_at](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/remove_entity_at/#int) | Removes entity by its position. |
| [remove_entity](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/remove_entity/#aspose.cad.fileformats.cad.cadobjects.CadBaseEntity) | Removes entity. |
| [update_size](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/update_size/#bool) | Updates size of an image after changes, that may affect initial size, e.g. removing of entities. <br/>MinPoint, MaxPoint, Width and Height properties of image are updated. |
| [assign_handle](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/assign_handle/#aspose.cad.fileformats.cad.cadobjects.CadBase) | Assigns next available object handle. |
| [next_available_handle](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/next_available_handle/#) | Gets next available object handle |
| [add_entity](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/add_entity/#aspose.cad.fileformats.cad.cadobjects.CadBaseEntity) | Adds entity. |
| [add_object](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/add_object/#aspose.cad.fileformats.cad.cadobjects.CadBaseObject) | Adds enity. |
| [remove_object](/cad/python-net/aspose.cad.fileformats.cad/dxfimage/remove_object/#aspose.cad.fileformats.cad.cadobjects.CadBaseObject) | Removes enity. |



### See Also
* module [`aspose.cad.fileformats.cad`](..)
* class [`CadImage`](/cad/python-net/aspose.cad.fileformats.cad/cadimage)
* class [`DataStreamSupporter`](/cad/python-net/aspose.cad/datastreamsupporter)
* class [`DisposableObject`](/cad/python-net/aspose.cad/disposableobject)
* class [`DxfImage`](/cad/python-net/aspose.cad.fileformats.cad/dxfimage)
* class [`Image`](/cad/python-net/aspose.cad/image)
