WmfPaintRegion

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject

public class WmfPaintRegion extends WmfObject

The META_PAINTREGION record paints the specified region by using the brush that is defined in the playback device context.

Constructors

ConstructorDescription
WmfPaintRegion()Initializes a new instance of the WmfSelectClipRegion class.
WmfPaintRegion(WmfGraphicObject region)Initializes a new instance of the WmfSelectClipRegion class.

Methods

MethodDescription
getRegionIndex()Gets or sets the index of the region.
setRegionIndex(int value)Gets or sets the index of the region.

WmfPaintRegion()

public WmfPaintRegion()

Initializes a new instance of the WmfSelectClipRegion class.

WmfPaintRegion(WmfGraphicObject region)

public WmfPaintRegion(WmfGraphicObject region)

Initializes a new instance of the WmfSelectClipRegion class.

Parameters:

ParameterTypeDescription
regionWmfGraphicObjectThe region.

getRegionIndex()

public int getRegionIndex()

Gets or sets the index of the region.

Value: The index of the region.

Returns: int

setRegionIndex(int value)

public void setRegionIndex(int value)

Gets or sets the index of the region.

Value: The index of the region.

Parameters:

ParameterTypeDescription
valueint