GetShapePicturePixels

Top  Previous  Next

 

GetShapePicturePixels (Method)

 

Use this method if you want to get an array of RGB colors from the pixels of a picture object

 

Syntax:

Function GetShapePicturePixels(avHandle As Integer, lWidth As Integer, lHeight As Integer, RGBPixels(,) As Integer) As Boolean

 

The GetShapePicturePixels method syntax consists of the following:

Parameter

Data Type

Description

avHandle

Integer

Is the handle of the picture

lWidth

Integer

Is the width of the picture that pixels RGB colors will be returned

lHeight

Integer

Is the height of the picture that pixels RGB colors will be returned

RGBPixels(,)

Integer

Is the array of the pixels RGB colors

 

Return value:

Boolean - True on success, false on error.

 

Example