StpImage class
StpImage class
STP image class.
Inheritance: StpImage
→
Image
→
DataStreamSupporter
→
DisposableObject
The StpImage type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Initializes a new instance of the Image 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. |
depth | Gets the image depth. |
palette | Gets or sets the color palette. |
size | Gets the image size. |
width | Gets the image width. |
unit_type | Gets current unit type. |
unitless_default_unit_type | Assumed unit type when UnitType is set to Unitless |
annotation_service | Gets the annotation service. |
watermark_guard_service | |
description | |
implementation_level | |
name | |
timestamp | |
author | |
organization | |
preprocessor_version | |
originating_system | |
authorization | |
schemas | |
unsupported_schemas | |
items | |
collections | Useful collections for simplification of iterating through STP data. |
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. |
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. |
get_top_level_items | Gets all top-level items (i.e., not referenced by any other item) in the file. |
See Also
- module
aspose.cad.fileformats.stp
- class
DataStreamSupporter
- class
DisposableObject
- class
Image
- class
StpImage