EmfFrameRgn

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfDrawingRecordType

public final class EmfFrameRgn extends EmfDrawingRecordType

The EMR_FRAMERGN record draws a border around the specified region using the specified brush.

Constructors

ConstructorDescription
EmfFrameRgn(EmfRecord source)Initializes a new instance of the EmfFrameRgn class.
EmfFrameRgn()Initializes a new instance of the EmfFrameRgn class.

Methods

MethodDescription
getBounds()Gets or sets 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.
setBounds(Rectangle value)Gets or sets 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.
getRgnDataSize()Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
setRgnDataSize(int value)Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
getIhBrush()Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index.
setIhBrush(int value)Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index.
getWidth()Gets or sets a 32-bit signed integer that specifies the width of the vertical brush stroke, in logical units.
setWidth(int value)Gets or sets a 32-bit signed integer that specifies the width of the vertical brush stroke, in logical units.
getHeight()Gets or sets a 32-bit signed integer that specifies the height of the horizontal brush stroke, in logical units.
setHeight(int value)Gets or sets a 32-bit signed integer that specifies the height of the horizontal brush stroke, in logical units.
getRgnData()Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units
setRgnData(EmfRegionData value)Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units

EmfFrameRgn(EmfRecord source)

public EmfFrameRgn(EmfRecord source)

Initializes a new instance of the EmfFrameRgn class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfFrameRgn()

public EmfFrameRgn()

Initializes a new instance of the EmfFrameRgn class.

getBounds()

public Rectangle getBounds()

Gets or sets 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.

Returns: Rectangle

setBounds(Rectangle value)

public void setBounds(Rectangle value)

Gets or sets 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.

Parameters:

ParameterTypeDescription
valueRectangle

getRgnDataSize()

public int getRgnDataSize()

Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.

Returns: int

setRgnDataSize(int value)

public void setRgnDataSize(int value)

Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.

Parameters:

ParameterTypeDescription
valueint

getIhBrush()

public int getIhBrush()

Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index.

Returns: int

setIhBrush(int value)

public void setIhBrush(int value)

Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index.

Parameters:

ParameterTypeDescription
valueint

getWidth()

public int getWidth()

Gets or sets a 32-bit signed integer that specifies the width of the vertical brush stroke, in logical units.

Returns: int

setWidth(int value)

public void setWidth(int value)

Gets or sets a 32-bit signed integer that specifies the width of the vertical brush stroke, in logical units.

Parameters:

ParameterTypeDescription
valueint

getHeight()

public int getHeight()

Gets or sets a 32-bit signed integer that specifies the height of the horizontal brush stroke, in logical units.

Returns: int

setHeight(int value)

public void setHeight(int value)

Gets or sets a 32-bit signed integer that specifies the height of the horizontal brush stroke, in logical units.

Parameters:

ParameterTypeDescription
valueint

getRgnData()

public EmfRegionData getRgnData()

Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units

Returns: EmfRegionData

setRgnData(EmfRegionData value)

public void setRgnData(EmfRegionData value)

Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units

Parameters:

ParameterTypeDescription
valueEmfRegionData