Region.FromHrgn(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new Region from a handle to the specified existing GDI region.
public:
static System::Drawing::Region ^ FromHrgn(IntPtr hrgn);
public static System.Drawing.Region FromHrgn (IntPtr hrgn);
static member FromHrgn : nativeint -> System.Drawing.Region
Public Shared Function FromHrgn (hrgn As IntPtr) As Region
Parameters
Returns
The new Region.
Remarks
This method creates a new Region with an interior defined by the existing Region referred to by the handle in the hrgn
parameter.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.