public final class XForm extends Object
Class represent XForm
Modifier and Type | Method and Description |
---|---|
boolean |
containsOwnResources() |
static XForm |
createNewForm(com.aspose.pdf.engine.data.ITrailerable trailerable)
Creates new XForm in the document.
|
static XForm |
createNewForm(Page source,
IDocument document)
Creates XForm which duplicates contents of the page.
|
static XForm |
createNewForm(Page source,
com.aspose.pdf.engine.data.ITrailerable trailerable,
Copier copier) |
Rectangle |
getBBox()
Gets or sets form bounding box.
|
OperatorCollection |
getContents()
Gets operators of the form
|
com.aspose.pdf.engine.data.IPdfObject |
getEngineObj() |
Matrix |
getMatrix()
Gets matrix of the form.
|
String |
getName()
Gets form name.
|
Rectangle |
getRectangle_Rename_Namesake() |
double[] |
getRectangle() |
Resources |
getResources()
Gets Form XObject resources.
|
void |
setBBox(Rectangle value) |
void |
setMatrix(Matrix value)
Sets matrix of the form.
|
void |
setName(String value)
Sets form name.
|
public com.aspose.pdf.engine.data.IPdfObject getEngineObj()
public Rectangle getBBox()
Gets or sets form bounding box.
public void setBBox(Rectangle value)
public String getName()
Gets form name. Form name is name which used to reference form in XObejct ductionary in page resources.
public void setName(String value)
Sets form name. Form name is name which used to reference form in XObejct ductionary in page resources.
public OperatorCollection getContents()
Gets operators of the form
public Matrix getMatrix()
Gets matrix of the form.
public void setMatrix(Matrix value)
Sets matrix of the form.
public Resources getResources()
Gets Form XObject resources.
public static XForm createNewForm(com.aspose.pdf.engine.data.ITrailerable trailerable)
Creates new XForm in the document.
trailerable
- Describes ITrailerable objectpublic boolean containsOwnResources()
public static XForm createNewForm(Page source, com.aspose.pdf.engine.data.ITrailerable trailerable, Copier copier)
public static XForm createNewForm(Page source, IDocument document)
Creates XForm which duplicates contents of the page.
source
- Source pagedocument
- Document where new XForm will be added.public double[] getRectangle()
public Rectangle getRectangle_Rename_Namesake()
Copyright © 2020 Aspose. All Rights Reserved.