public final class XForm extends Object
Class represent XForm
Modifier and Type | Method and Description |
---|---|
boolean |
containsOwnResources()
Returns True if contains Own Resources
|
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) |
void |
freeMemory()
Clears cached data
|
Rectangle |
getBBox()
Gets form bounding box.
|
OperatorCollection |
getContents()
Gets operators of the form.
|
com.aspose.pdf.engine.data.IPdfObject |
getEngineObj()
Internal only
|
Matrix |
getMatrix()
Gets matrix of the form.
|
String |
getName()
Gets form name.
|
Opi |
getOpi()
Gets The Open Prepress Interface (OPI).
|
Rectangle |
getRectangle()
Gets rectangel of the form.
|
Resources |
getResources()
Gets Form XObject resources.
|
void |
setBBox(Rectangle value)
Sets form bounding box.
|
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 form bounding box.
public void setBBox(Rectangle value)
Sets form bounding box.
value
- Rectanglepublic 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 dictionary in page resources.
value
- String objectpublic OperatorCollection getContents()
Gets operators of the form.
public Opi getOpi()
Gets The Open Prepress Interface (OPI).
public Matrix getMatrix()
Gets matrix of the form.
public void setMatrix(Matrix value)
Sets matrix of the form.
value
- Matrix objectpublic 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 Rectangle getRectangle()
Gets rectangel of the form.
public void freeMemory()
Clears cached data