DR Objects to bitmap

4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next

version 6.0


DR Objects to bitmap (area; scope; option) Longint

ParameterTypeDescription
areaLongint4D Draw area
scopeLongint-1=All objects
0=Selected objects
>0=ID
optionIntegerOption for converting the objects in Scope (0, 1, or 2)
Function resultLongintObject ID

Description

The command DR Objects to bitmap changes the objects specified by area and scope to a bitmap.

If option equals 0, the function converts objects in scope to a black and white bitmap.

If option equals 1, the function converts objects in scope to a color bitmap with a transparent background.

If option equals 2, the function converts objects in scope to a color bitmap with a white background.

In both cases, the function returns the ID number of the object of type Picture created by DR Objects to bitmap.

The color bitmap uses the number of colors selected in the Monitor control panel. The color bitmap is automatically converted to an object of type Picture; so, if a different number of colors is chosen in the Monitor control panel, the bitmap image will not be affected.

Note: Converting objects to a bitmapped image is irreversible. The bitmapped image loses all of its former attributes, including its name.

See Also

DR ADD TO BITMAP.


4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next