Region::FromHRGN method (gdiplusheaders.h)
The Region::FromHRGN method creates a Windows GDI+Region object from a Windows Graphics Device Interface (GDI) region.
Syntax
Region * FromHRGN(
[in] HRGN hRgn
);
Parameters
[in] hRgn
Type: HRGN
Handle to an existing GDI region.
Return value
Type: Region*
This method returns a pointer to the new Region object.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | gdiplusheaders.h (include Gdiplus.h) |
Library | Gdiplus.lib |
DLL | Gdiplus.dll |