GdipGetImageBounds

 

 

Description

Gets the bounding rectangle for this image.

Syntax

GpStatus WINGDIPAPI GdipGetImageBounds(

    GpImage *image,

    GpRectF *srcRect,

    GpUnit *srcUnit

);

PowerBASIC Syntax

DECLARE FUNCTION GdipGetImageBounds ( _

    BYVAL pImage AS DWORD, _

    BYREF srcRect AS RectF, _

    BYREF srcUnit AS LONG _

) AS LONG

Parameters

 

image

[in] Pointer to the Image object.

srcRect

[out] Pointer to a RectF object that receives the bounding rectangle.

srcUnit

[out] Pointer to a variable that receives an element of the Unit enumeration that indicates the unit of measure for the bounding rectangle.

 

Valid HTML 4.01 Transitional