DwfImage

DwfImage class

DWF image class

public sealed class DwfImage : Image

Properties

Name Description
Bounds { get; } Gets the image bounds.
Container { get; } Gets the Image container.
DataStreamContainer { get; }
Disposed { get; }
override Height { get; } Gets the image height.
override IsCached { get; } Gets is image cached
Layers { get; } Gets layers
Pages { get; } Gets pages
Palette { get; set; } Gets or sets the color palette.
Size { get; } Gets the image size.
virtual UnitlessDefaultUnitType { get; } Assumed unit type when UnitType is set to Unitless
UnitType { get; } Gets current unit type.
override Width { get; } Gets the image width.

Methods

Name Description
AddElement(int, DwfWhipDrawable) Adds render able element to specified page
override CacheData() Caches data
CanSave(ImageOptionsBase) Determines whether image can be saved to the specified file format represented by the passed save options.
Dispose()
GetElementCount(int) Gets count of render able elements from specified page
override GetStrings() Gets all string values from image.
RemoveElement(int, int) Removes element from specified page
Save() Saves the image data to the underlying stream.
Save(Stream)
virtual Save(string)
Save(Stream, ImageOptionsBase) Saves the image’s data to the specified stream in the specified file format according to save options.
virtual Save(string, bool)
virtual Save(string, ImageOptionsBase) Saves the object’s data to the specified file location in the specified file format according to save options.
UpdateSize() Updates the size.

See Also