XFormPlacement

Inheritance: java.lang.Object, com.aspose.pdf.vector.GraphicElement com.aspose.pdf.vector.XFormPlacement, com.aspose.pdf.vector.GraphicElement, com.aspose.pdf.vector.XFormPlacement

All Implemented Interfaces: com.aspose.ms.System.IDisposable

public final class XFormPlacement extends GraphicElement

Represents XForm placement. If the XForm is displayed on the page more than 1 time, all XformPlacements associated with this XForm will have common graphical elements, but different graphical states.

Methods

MethodDescription
addOnPageAdds current element on the page. If there are many elements to add better use Page#addGraphics(GraphicElementCollection,Rectangle).
getElementsGets graphic elements inside this XForm.
getNameGets name of the XForm.
getRectangleGets the bounding rectangle of the GraphicElement .
getXFormGets XForm associated with this XFormPlacement.
setPositionGets or sets the position in the current coordinate space.

addOnPage

Adds current element on the page. If there are many elements to add better use Page#addGraphics(GraphicElementCollection,Rectangle).

getElements

public final GraphicElementCollection getElements()

Gets graphic elements inside this XForm.

Returns: GraphicElementCollection instance

getName

public final String getName()

Gets name of the XForm.

Returns: String value

getRectangle

public Rectangle getRectangle()

Gets the bounding rectangle of the GraphicElement .

Returns: Rectangle instance

getXForm

public final XForm getXForm()

Gets XForm associated with this XFormPlacement.

Returns: XForm instance

setPosition

Gets or sets the position in the current coordinate space.