LBitmapRgn::GetRgnArea

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_INT LBitmapRgn::GetRgnArea(puArea)

Parameters

L_SIZE_T * puArea

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

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmapRgn::GetRgnBounds.

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.