###User Defined Function###
_GDIPlus_RegionGetBounds

###Description###
Gets a rectangle that encloses a region

###Syntax###
#include <GDIPlus.au3>
_GDIPlus_RegionGetBounds ( $hRegion, $hGraphics )


###Parameters###
@@ParamTable@@
$hRegion
	Pointer to a Region object
$hGraphics
	Pointer to a Graphics object that contains the world and page transformations required to calculate the device coordinates of the region and the rectangle
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	an array containing the rectangle coordinates and dimensions:
		[0] - X coordinate of the upper-left corner of the rectangle
		[1] - Y coordinate of the upper-left corner of the rectangle
		[2] - Width of the rectangle
		[3] - Height of the rectangle
Failure:	sets the @error flag to non-zero, @extended may contain GPSTATUS error code ($GPID_ERR*).
@@End@@


###Remarks###
None.


###Related###
None


###See Also###
@@MsdnLink@@ GdipGetRegionBounds


###Example###
@@IncludeExample@@
