EmfRegionDataHeader

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

public final class EmfRegionDataHeader extends EmfObject

The RegionDataHeader object describes the properties of a RegionData object.

Constructors

ConstructorDescription
EmfRegionDataHeader()

Methods

MethodDescription
getSize()Gets a 32-bit unsigned integer that specifies the size of this object in bytes.
setSize(int value)Sets a 32-bit unsigned integer that specifies the size of this object in bytes.
getType()Gets a 32-bit unsigned integer that specifies the region type.
setType(int value)Sets a 32-bit unsigned integer that specifies the region type.
getCountRects()Gets a 32-bit unsigned integer that specifies the number of rectangles in this region.
setCountRects(int value)Sets a 32-bit unsigned integer that specifies the number of rectangles in this region.
getRgnSize()Gets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.
setRgnSize(int value)Sets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.
getBounds()Gets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.
setBounds(Rectangle value)Sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.

EmfRegionDataHeader()

public EmfRegionDataHeader()

getSize()

public int getSize()

Gets a 32-bit unsigned integer that specifies the size of this object in bytes. This MUST be 0x00000020.

Returns: int

setSize(int value)

public void setSize(int value)

Sets a 32-bit unsigned integer that specifies the size of this object in bytes. This MUST be 0x00000020.

Parameters:

ParameterTypeDescription
valueint

getType()

public int getType()

Gets a 32-bit unsigned integer that specifies the region type. This SHOULD be RDH_RECTANGLES (0x00000001).

Returns: int

setType(int value)

public void setType(int value)

Sets a 32-bit unsigned integer that specifies the region type. This SHOULD be RDH_RECTANGLES (0x00000001).

Parameters:

ParameterTypeDescription
valueint

getCountRects()

public int getCountRects()

Gets a 32-bit unsigned integer that specifies the number of rectangles in this region.

Returns: int

setCountRects(int value)

public void setCountRects(int value)

Sets a 32-bit unsigned integer that specifies the number of rectangles in this region.

Parameters:

ParameterTypeDescription
valueint

getRgnSize()

public int getRgnSize()

Gets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.

Returns: int

setRgnSize(int value)

public void setRgnSize(int value)

Sets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.

Parameters:

ParameterTypeDescription
valueint

getBounds()

public Rectangle getBounds()

Gets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.

Returns: Rectangle

setBounds(Rectangle value)

public void setBounds(Rectangle value)

Sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.

Parameters:

ParameterTypeDescription
valueRectangle