GetImageBits Method

See Also     Examples     Applies To

Returns a pointer to the data-bits of the bitmap.
It is up to you to interpret these bytes correctly, according to the results of GetPixelDepth() and GetImageStride() functions.

Syntax

object.GetImageBits ()

The GetImageBits syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.

Returns

Long. If success, non 0: A pointer to the data-bits of the bitmap. If fail, 0: Use the GetStat() function to determine the reason this function failed.

Category

Pixel Access Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.