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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for