CadImage class
CadImage class
Cad image class
Inheritance: CadImage
→
Image
→
DataStreamSupporter
→
DisposableObject
The CadImage type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the CadImage class. |
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 |
active_page | Gets the active page. |
default_line_weight | Gets or sets the default line weight. |
default_font | Gets or sets the default font. |
file_encoding | Gets file’s encoding |
application_version | Gets or sets the application version. |
maintenance_version | Gets or sets the maintenance version. |
specified_encoding | Gets or sets the specified encoding. |
specified_mif_encoding | Gets or sets the specified MIF character encoding |
line_types | Gets or sets the dimension styles. |
block_entities | Gets or sets the block entities. |
class_entities | Gets or sets the class entities. |
thumbnail_image | Gets or sets the thumbnail image. |
blocks_tables | Gets or sets the blocks tables. |
dimension_styles | Gets or sets the dimension styles. |
entities | Gets or sets the entities. |
objects | Gets or sets the objects. |
layers | Gets or sets the layers. |
max_point | Gets the max point. |
min_point | Gets the min point. |
styles | Gets or sets the styles. |
layouts | Gets the layouts. |
header | Gets or sets the header. |
view_ports | Gets or sets the view ports. |
views | Gets or sets the views. |
uc_ss | Gets or sets the uc ss. |
cad_acds | Gets or sets the CadAcds list |
app_id_tables | Gets or sets the application identifier tables. |
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. |
get_bounds | Fills Bounds property (contain minimum and maximum point of entity) for all entities. |
get_bounds | Fills Bounds property (contains minimum and maximum point) for entity. |
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. |
remove_entity_at | Removes entity by its position. |
remove_entity | Removes enity. |
update_size | Updates size of an image after changes, that may affect initial size, e.g. removing of entities. MinPoint, MaxPoint, Width and Height properties of image are updated. |
See Also
- module
aspose.cad.fileformats.cad
- class
CadImage
- class
DataStreamSupporter
- class
DisposableObject
- class
Image