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.
Modifier and Type | Method and Description |
---|---|
void |
addOnPage(Page destination)
Adds current element on the page.
|
GraphicElementCollection |
getElements()
Gets graphic elements inside this XForm.
|
String |
getName()
Gets name of the XForm.
|
Rectangle |
getRectangle()
Gets the bounding rectangle of the
GraphicElement . |
XForm |
getXForm()
Gets XForm associated with this XFormPlacement.
|
void |
setPosition(Point value)
Gets or sets the position in the current coordinate space.
|
getOperators, getParent, getPosition, remove
public final String getName()
Gets name of the XForm.
public final XForm getXForm()
Gets XForm associated with this XFormPlacement.
public final GraphicElementCollection getElements()
Gets graphic elements inside this XForm.
public Rectangle getRectangle()
GraphicElement
Gets the bounding rectangle of the GraphicElement
.
getRectangle
in class GraphicElement
public void setPosition(Point value)
GraphicElement
Gets or sets the position in the current coordinate space.
If Parent
(GraphicElement.getParent()
) is not null
then the element have xForm coordinate space.
setPosition
in class GraphicElement
value
- Point instancepublic void addOnPage(Page destination)
Adds current element on the page. If there are many elements to add better use Page#addGraphics(GraphicElementCollection,Rectangle).
addOnPage
in class GraphicElement
destination
- Destination pageCopyright © 2023 Aspose. All Rights Reserved.