EmfPlusBeginContainer

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusStateRecordType

public final class EmfPlusBeginContainer extends EmfPlusStateRecordType

The EmfPlusBeginContainer record opens a new graphics state container and specifies a transform for it.

Constructors

ConstructorDescription
EmfPlusBeginContainer(EmfPlusRecord source)Initializes a new instance of the EmfPlusBeginContainer class.

Methods

MethodDescription
getPageUnit()Gets the page unit.
getDestRect()Gets or sets an EmfPlusRectF object (section 2.2.2.39) that, with SrcRect, specifies a transform for the container.
setDestRect(RectangleF value)Gets or sets an EmfPlusRectF object (section 2.2.2.39) that, with SrcRect, specifies a transform for the container.
getSrcRect()Gets or sets an EmfPlusRectF rectangle that, with DestRect, specifies a transformation for the container.
setSrcRect(RectangleF value)Gets or sets an EmfPlusRectF rectangle that, with DestRect, specifies a transformation for the container.
getStackIndex()Gets or sets a 32-bit unsigned integer that specifies an index to associate with the graphics state container.
setStackIndex(int value)Gets or sets a 32-bit unsigned integer that specifies an index to associate with the graphics state container.

EmfPlusBeginContainer(EmfPlusRecord source)

public EmfPlusBeginContainer(EmfPlusRecord source)

Initializes a new instance of the EmfPlusBeginContainer class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

getPageUnit()

public int getPageUnit()

Gets the page unit.

Value: The page unit.

Returns: int

getDestRect()

public RectangleF getDestRect()

Gets or sets an EmfPlusRectF object (section 2.2.2.39) that, with SrcRect, specifies a transform for the container. This transformation results in SrcRect when applied to DestRect.

Value: The dest rect.

Returns: RectangleF

setDestRect(RectangleF value)

public void setDestRect(RectangleF value)

Gets or sets an EmfPlusRectF object (section 2.2.2.39) that, with SrcRect, specifies a transform for the container. This transformation results in SrcRect when applied to DestRect.

Value: The dest rect.

Parameters:

ParameterTypeDescription
valueRectangleF

getSrcRect()

public RectangleF getSrcRect()

Gets or sets an EmfPlusRectF rectangle that, with DestRect, specifies a transformation for the container. This transformation results in SrcRect when applied to DestRect.

Value: The source rect.

Returns: RectangleF

setSrcRect(RectangleF value)

public void setSrcRect(RectangleF value)

Gets or sets an EmfPlusRectF rectangle that, with DestRect, specifies a transformation for the container. This transformation results in SrcRect when applied to DestRect.

Value: The source rect.

Parameters:

ParameterTypeDescription
valueRectangleF

getStackIndex()

public int getStackIndex()

Gets or sets a 32-bit unsigned integer that specifies an index to associate with the graphics state container. The index MUST be referenced by a subsequent EmfPlusEndContainer record (section 2.3.7.3) to close the graphics state container.

Value: The index of the stack.

Returns: int

setStackIndex(int value)

public void setStackIndex(int value)

Gets or sets a 32-bit unsigned integer that specifies an index to associate with the graphics state container. The index MUST be referenced by a subsequent EmfPlusEndContainer record (section 2.3.7.3) to close the graphics state container.

Value: The index of the stack.

Parameters:

ParameterTypeDescription
valueint