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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET