clsGpBitmap ClassManages a GDI+ Bitmap/Image object
|
| Name | Description |
|---|
| Name | Description |
|---|
| Name | Type | Description |
|---|---|---|
| hBitmap | (Long) | Gets or sets the reference of the internal image handle |
| Icon | (Picture) | Gets a Standard Picture of Icon Type from the internal image |
| isValid | (Boolean) | Returns True if the instance of the class is currently managing a valid bitmap |
| Picture | (Picture) | Gets a Standard Picture of Bitmap Type from the internal image |
| Name | Type | Description |
|---|---|---|
| Clone | (clsGpBitmap) | Returns a copy of the GDI+ bitmap used in this object |
| Create | (GpStatus) | Creates a blank image with the given size |
| CreateFromFile | (GpStatus) | Loads the image from a file |
| CreateFromGraphics | (GpStatus) | Loads a new image from an existing Graphics object |
| CreateFromHBitmap | (GpStatus) | Loads a new image using the given GDI bitmap and palette |
| CreateFromHIcon | (GpStatus) | Loads a new image using the given GDI icon handle |
| CreateFromStdPicture | (GpStatus) | Loads a new image using the given StdPicture object |
| CreateGraphics | (clsGpGraphics) | Returns a reference to a graphics object that you can use to draw inside this image |
| Dispose | Release resources used by the object | |
| GetDimension | Gets the size of the internal image | |
| GetHeight | (Long) | Gets the image height |
| GetPixel_Color | (clsGpColor) | Gets the color at the given coordinate |
| GetPixel_RawColor | (Long) | Gets the ARGB color at the given coordinate (use the [clsGpSession] class for conversion functions) |
| GetPixelFormat | (GpPixelFormat) | Gets the image pixel format |
| GetType | (GpImageType) | Returns the type of the internal image |
| GetWidth | (Long) | Gets the image width |
| RotateFlip | (GpStatus) | Rotates the internal image |
| SetPixel_Color | Sets a color to the given coordinate | |
| SetPixel_RawColor | Sets a ARGB color to the given coordinate |