DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.Create_ | Methods | Properties
Create a bitmap wrapper with the specified size using the native bitmap factory.
// C# public void Create_( int _width, int _height );
' VisualBasic Public Sub Create_( ByVal _width As Integer, ByVal _height As Integer )
// Oxygene public procedure Create_( _width : Integer; _height : Integer );
| Name | Type | Description |
|---|---|---|
| _width | int Integer | Bitmap width in pixels. |
| _height | int Integer | Bitmap height in pixels. |
PURPOSE: Creates a new bitmap with explicit pixel dimensions for drawing, rendering, or image processing.
BEHAVIOR: Sets the bitmap factory to the native bitmap factory, clears the path, and creates the wrapped bitmap with the requested size.
USAGE: Allocate a bitmap before rendering into it.
bitmap = TGIS_Bitmap(512, 512) width = bitmap.Width height = bitmap.Height