OdImage Methods |
The OdImage type exposes the following members.
Name | Description | |
---|---|---|
![]() | CacheData |
Caches the data and ensures no additional data loading will be performed from the underlying
DataStreamContainer.
(Inherited from VectorMultipageImage.) |
![]() ![]() | CanSave |
Determines whether image can be saved to the specified file format represented by the passed save options.
(Inherited from Image.) |
![]() ![]() | Dispose |
Disposes the current instance.
(Inherited from DisposableObject.) |
![]() | DoAfterSave |
Does the after save.
(Inherited from DataStreamSupporter.) |
![]() | DoUseRecursion |
Gets value indicating whether use recursion for synchronization.
(Inherited from Image.) |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | GetCanNotSaveMessage |
Gets the can not save message.
(Inherited from Image.) |
![]() | GetDefaultOptions |
Gets the default options.
(Inherited from Image.) |
![]() | GetEmbeddedImages |
Gets the embedded images.
(Inherited from VectorMultipageImage.) |
![]() | GetFitRectangle(Rectangle) |
Gets rectangle which fits the current image.
(Inherited from Image.) |
![]() | GetFitRectangle(Rectangle, Int32) |
Gets rectangle which fits the current bitmap taking into account the pixels passed. The passed pixels array count should be equal to the fitting rectangle size.
(Inherited from Image.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetImage2Export | Obsolete.
Gets the image to export.
(Inherited from Image.) |
![]() | GetOriginalOptions |
Gets the options based on the original file settings.
This can be helpful to keep bit-depth and other parameters of the original image unchanged.
For example, if we load a black-white PNG image with 1 bit per pixel and then save it using the
Save(String) method, the output PNG image with 8-bit per pixel will be produced.
To avoid it and save PNG image with 1-bit per pixel, use this method to get corresponding saving options and pass them
to the Save(String, ImageOptionsBase) method as the second parameter.
(Inherited from Image.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDataStreamContainerChanging |
Called when data stream container is changing.
(Inherited from DataStreamSupporter.) |
![]() | OnPaletteChanged |
Called when palette is changed.
(Inherited from Image.) |
![]() | OnPaletteChanging |
Called when palette is changing.
(Inherited from Image.) |
![]() | ReleaseManagedResources |
Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.
(Inherited from Image.) |
![]() | ReleaseUnmanagedResources |
Releases the unmanaged resources. Make sure no managed resources are released here, since they may have been already released.
(Inherited from DisposableObject.) |
![]() ![]() | Resize(Int32, Int32) |
Resizes the image. The default NearestNeighbourResample is used.
(Inherited from Image.) |
![]() | Resize(Int32, Int32, ImageResizeSettings) |
Resizes the image.
(Overrides VectorMultipageImageResize(Int32, Int32, ImageResizeSettings).) |
![]() | Resize(Int32, Int32, ResizeType) |
Resizes the image.
(Overrides VectorMultipageImageResize(Int32, Int32, ResizeType).) |
![]() | ResizeHeightProportionally(Int32) |
Resizes the height proportionally. The default NearestNeighbourResample is used.
(Inherited from Image.) |
![]() | ResizeHeightProportionally(Int32, ImageResizeSettings) |
Resizes the height proportionally.
(Inherited from Image.) |
![]() ![]() | ResizeHeightProportionally(Int32, ResizeType) |
Resizes the height proportionally.
(Inherited from Image.) |
![]() | ResizeWidthProportionally(Int32) |
Resizes the width proportionally. The default NearestNeighbourResample is used.
(Inherited from Image.) |
![]() | ResizeWidthProportionally(Int32, ImageResizeSettings) |
Resizes the width proportionally.
(Inherited from Image.) |
![]() ![]() | ResizeWidthProportionally(Int32, ResizeType) |
Resizes the width proportionally.
(Inherited from Image.) |
![]() | RotateFlip |
Rotates, flips, or rotates and flips the image.
(Overrides VectorMultipageImageRotateFlip(RotateFlipType).) |
![]() ![]() | Save |
Saves the image data to the underlying stream.
(Inherited from Image.) |
![]() | Save(Stream) |
Saves the object's data to the specified stream.
(Inherited from DataStreamSupporter.) |
![]() | Save(String) |
Saves the image to the specified file location.
(Inherited from Image.) |
![]() | Save(String, Boolean) |
Saves the object's data to the specified file location.
(Inherited from DataStreamSupporter.) |
![]() ![]() | Save(Stream, ImageOptionsBase) |
Saves the image's data to the specified stream in the specified file format according to save options.
(Inherited from Image.) |
![]() ![]() | Save(String, ImageOptionsBase) |
Saves the object's data to the specified file location in the specified file format according to save options.
(Inherited from Image.) |
![]() ![]() | Save(Stream, ImageOptionsBase, Rectangle) |
Saves the image's data to the specified stream in the specified file format according to save options.
(Inherited from Image.) |
![]() ![]() | Save(String, ImageOptionsBase, Rectangle) |
Saves the object's data to the specified file location in the specified file format according to save options.
(Inherited from Image.) |
![]() | SaveData |
Saves the data.
(Inherited from VectorMultipageImage.) |
![]() | SetPalette |
Sets the image palette.
(Inherited from VectorMultipageImage.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | VerifyNotDisposed |
Verifies that the current instance is not disposed.
(Inherited from DisposableObject.) |