Image functions Functions: CreateBitmapFromObject

This function is used to create an image from an object that implements a visualization protocol. The creation depends on the passed object.

This page discusses:

Signature

CreateBitmapFromObject(obj : Feature, w : Integer, h : Integer) : Bitmap

Arguments

NameInput/OutputRequired?TypeComment
objInFeatureObject name
wInIntegerWidth
hInIntegerHeight

ReturnType

Bitmap

Example

Let f (Feature)
set f = ...
let b (Bitmap)
b = CreateBitmapFromObject(f, 400,300)
if b <> NULL
{
	b.Save("e:\\tmp\\test.png", "PNG")
}