|
Description
Gets the number of bytes of data that describes
this region.
Syntax
GpStatus WINGDIPAPI GdipGetRegionDataSize(
GpRegion
*region,
UINT *
bufferSize
);
PowerBASIC Syntax
DECLARE FUNCTION GdipGetRegionDataSize ( _
BYVAL region AS
DWORD, _
BYREF
bufferSize AS DWORD _
) AS LONG
Parameters
region
[in] Pointer to the
Region
object.
bufferSize
[out] Pointer to a variable that receives the
number of bytes of region data.
Remarks
The GdipGetRegionDataSize
method can be used before the GdipGetRegionData
method to determine the number of bytes needed to store the region
data. Then, you can allocate a buffer that is the correct size to store
the region data that is obtained by the GdipGetRegionData.
|