ActiveField Technology Objects Overview Hierarchy Chart How to Start: Application Object How to work with Problems How to work with Model How to work with Data How to Analyze Results

GetBitmap Method

Summary

Puts the DIB (Device Independent Bitmap) formatted picture on the clipboard. Input parameters specify the size and the color depth of the bitmap.

Syntax

Object.GetBitmap (
   pictureWidth As Long,
   pictureHeight As Long,
   colorDepth As qfBitmapColorMode )

Parameters

pictureWidth
[in, optional] Long
pictureHeight
[in, optional] Long
colorDepth
[in, optional] qfBitmapColorMode

Remarks

Parameters pictureWidth and pictureHeight define the user area of the window, i.e. the final size of the image.

Both should be positive. Current size of the user area used in case of invalid settings definition

ParameterqfBitmapColorMode defines the color depth of the image (number of bites per pixel). Only color depth not requiring the palette is supported now, i.e. qf_HighColor, qf_TrueColor, or qf_TrueColorAlpha.

In case of success the function GetBitmap puts the raster image, related to the window content, into the windows clipboard. Please take into account that the clipboard is a common system resource, and its content may be replaced by other programs on the user initiative.