.NET Windows Forms in a Nutshell

RegionData

System.Drawing.Drawing2D (system.drawing.dll) sealed class

This class encapsulates the data that makes up a System.Drawing.Region object. You can get at the byte array that defines the region through the Data property.

You could use this data to serialize a Region , for example.

public sealed class RegionData { // Public Instance Properties public byte[ ] Data {set; get; } }

Returned By

System.Drawing.Region.GetRegionData()

Passed To

System.Drawing.Region.Region()

Категории