Zum Inhalt

.ExportBitmap (.graphics Objektmethode)

Beschreibung

Diese Funktion exportiert ein Bitmap. Exports the canvas as a bitmap to a file or blob at the specified pixel dimensions.

Argumente

Name

Typ

Beschreibung

FileName

string

blob

Filename

PixelWidth

integer

Bitmapbreite in Pixel

PixelHeight

integer

Bitmaphöhe in Pixel

ColorMode

integer

(optional)

0 = RGB (default)

1 = Monochrome

Rückgabewert integer

1 on success, 0 on failure

Beispiel

Lo_Graphics.ExportBitmap(&Aro_Content, Li_Width, Li_Height, 1);

Siehe auch