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
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.