Name

RegionData

Synopsis

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()

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.