TGdipUIImage Class
Encapsulation of a System.Drawing.Image.
Syntax
Namespace: FlexCel.Draw
public class TGdipUIImage: TUIImage
Constructors
Name | Description |
---|---|
TGdipUIImage | Overloaded TGdipUIImage(Stream) TGdipUIImage(Image, Boolean) |
Methods
Name | Description |
---|---|
Save | Saves the image to a stream, in the specified format. |
RasterizeWMF | Converts a vectorial metafile int a bitmap. |
ConvertToBWDither | Converts the image to Black and White, using Floyd steinberg dithering. Original image must be a bitmap. |
ConvertToBiLevel | Converts the image to blackandwhite, but just setting the colors to white/black, not by ussing diffussion like floyd steinberg. |
ConvertToGrayscale | Converts the image to shades of gray. |
ConvertTo256Colors | Converts the image to 256 indexed colors. |
RasterMetafile | Converts a vectorial metafile to a bitmap. |
Dispose | Override this method to dispose your own objects in your descending classes. |
AdjustImage | Adjust brightness and contrast of an image. |
MakeImageGray | Converts an image to grayscale. |
MakeTransparent | Makes an image transparent. |
ColorImage | Colors an image. |
SaveStart | Starts saving a multi page image. |
Clone | Returns a deep copy of the image. |
Properties
Name | Description |
---|---|
Width | Width of the image in device-dependent pixels. |
Height | Height of the image in device-dependent pixels. |
WidthInPoints | Width of the image in Points (1/72 of an inch) |
HeightInPoints | Height of the image in Points (1/72 of an inch) |
RawFormat | Format of the image. |
IsMetafile | Returns true if the file is a WMF or EMF file. |
Is8bitGrayscale | Returns true if the image has 256 shades of gray. |
Handle | Returns the image encapsulated by this object. |