public final class XForm extends Object implements com.aspose.pdf.engine.IOperatorContainer
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
|
String |
getIT()
Gets form IT.
|
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()
Returns resources of Form X-Object.
|
Resources |
getResources(boolean allowCreate)
Returns resources of Form X-Object
|
Resources |
getResources2()
Gets Form XObject resources.
|
String |
getSubtype()
Gets form Subtype.
|
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 final String getIT()
Gets form IT. Form IT is a name describing the intent of the XObject.
public final String getSubtype()
Gets form Subtype.
public OperatorCollection getContents()
Gets operators of the form.
getContents
in interface com.aspose.pdf.engine.IOperatorContainer
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 final Resources getResources(boolean allowCreate)
Returns resources of Form X-Object
allowCreate
- If For does not have resources and allowCreate is true, Resources will be automatically created for the form.public Resources getResources()
Returns resources of Form X-Object. If For does not have resources and allowCreate is true, Resources will be automatically created for the form.
public final Resources getResources2()
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
Copyright © 2024 Aspose. All Rights Reserved.