Table of Contents

Class WmfRegion

Namespace
Aspose.Imaging.FileFormats.Wmf.Objects
Assembly
Aspose.Imaging.dll

The Region Object defines a potentially non-rectilinear shape defined by an array of scanlines.

public class WmfRegion : MetaObject
Inheritance
WmfRegion
Inherited Members

Constructors

WmfRegion()

public WmfRegion()

Properties

AScans

Gets or sets a scans.

public WmfScanObject[] AScans { get; set; }

Property Value

WmfScanObject[]

An array of Scan objects (section 2.2.2.21) that define the scanlines in the region.

BoundingRectangle

Gets or sets the bounding rectangle.

public Rectangle BoundingRectangle { get; set; }

Property Value

Rectangle

A Rect object (section 2.2.2.18) that defines the bounding rectangle.

MaxScan

Gets or sets the maximum scan.

public short MaxScan { get; set; }

Property Value

short

The maximum number of points in any one scan in this region.

NextInChain

Gets or sets the next in chain.

public short NextInChain { get; set; }

Property Value

short

A value that MUST be ignored.

ObjectCount

Gets or sets the object count.

public int ObjectCount { get; set; }

Property Value

int

A value that MUST be ignored.

ObjectType

Gets or sets the type of the object.

public short ObjectType { get; set; }

Property Value

short

The region identifier. It MUST be 0x0006.

RegionSize

Gets or sets the size of the region.

public short RegionSize { get; set; }

Property Value

short

The size of the region in bytes plus the size of aScans in bytes.

ScanCount

Gets or sets the scan count.

public short ScanCount { get; set; }

Property Value

short

The number of scanlines composing the region.