DwfImage class

DwfImage class

DWF image class

Inheritance: DwfImageImageDataStreamSupporterDisposableObject

The DwfImage type exposes the following members:

Properties

PropertyDescription
disposedGets a value indicating whether this instance is disposed.
data_stream_containerGets the object’s data stream.
is_cachedGets is image cached
boundsGets the image bounds.
containerGets the Image container.
heightGets the image height.
paletteGets or sets the color palette.
sizeGets the image size.
widthGets the image width.
has_background_colorGets or sets a value indicating whether image has background color.
background_colorGets or sets a value for the background color.
unit_typeGets current unit type.
unitless_default_unit_typeAssumed unit type when UnitType is set to Unitless
pagesGets pages
layersGets layers

Methods

MethodDescription
saveSaves the image data to the underlying stream.
saveSaves the object’s data to the specified file location in the specified file format according to save options.
saveSaves the image’s data to the specified stream in the specified file format according to save options.
saveSaves the object’s data to the specified stream.
saveSaves the object’s data to the specified file location.
saveSaves the object’s data to the specified file location.
can_loadDetermines whether image can be loaded from the specified file path.
can_loadDetermines whether an image can be loaded from the specified file path and optionally using the specified open options
can_loadDetermines whether image can be loaded from the specified stream.
can_loadDetermines whether image can be loaded from the specified stream and optionally using the specified load_options.
get_file_formatGets the file format.
get_file_formatGets the file format.
loadLoads a new image from the specified file.
loadLoads a new image from the specified file.
loadLoads a new image from the specified stream.
loadLoads a new image from the specified stream.
cache_dataCaches data
get_stringsGets all string values from image.
can_saveDetermines whether image can be saved to the specified file format represented by the passed save options.
add_elementAdds render able element to specified page
remove_elementRemoves element from specified page
get_element_countGets count of render able elements from specified page
update_sizeUpdates the size.

See Also