LBitmapRgn::GetRgnArea

#include "ltwrappr.h"

virtual L_INT LBitmapRgn::GetRgnArea(puArea)

L_SIZE_T * puArea;

/* address of the variable to be updated */

Gets the total number of pixels in the associated class object's bitmap region.

Parameter

Description

puArea

Address of the variable to be updated with the pixel count.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Before calling this function, you must declare an L_UINT32 variable for the pixel count. You can then pass the address of the variable in the puArea parameter, and the function will update the variable.

Required DLLs and Libraries

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LBitmapRgn::BitmapHasRgn, LBitmapRgn::Free, LBitmapRgn::IsPtInRgn, Class Members

Topics:

Raster Image Functions: Creating and Using a Region

 

Raster Image Functions: Region Processing

 

Defining and Using a Bitmap Region

Example

For an example, refer to LBitmapRgn::GetRgnBounds.