User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_bitmap.create__integer_integer

Table of Contents

ITGIS_Bitmap.Create_ method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.Create_ | Methods | Properties

Create a bitmap wrapper with the specified size using the native bitmap factory.

Available also on: Delphi | .NET | Java | Python.

Syntax

// 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
  );

Parameters

Name Type Description
_width int
Integer
Bitmap width in pixels.
_height int
Integer
Bitmap height in pixels.

Remarks

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

2026/09/20 23:44

Page Tools