XForm
Vue de l’ensemble
‘XForm’ est une classe dans Aspose.PDF FOSS pour Java.
Il représente un formulaire XObject (ISO 32000-1:2008, §8.10).
Cette classe fournit 8 méthodes pour travailler avec des objets XForm dans les programmes Java. Les méthodologies disponibles comprennent: ‘XForm’, ‘getBBox’, getContents', ‘getMatrix’, 'getName', ’getPdfStream', ‚getResources‘, 'setContent'. Tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : 'bBox', «contents, «matrix , «nom », «pdfStreum », » ressources.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | Returns the resource name of this form XObject. |
bBox | Rectangle | Read | Returns the bounding box (/BBox) of this form XObject. |
matrix | Matrix | Read | Returns the transformation matrix (/Matrix). |
resources | Resources | Read | Returns the form’s own /Resources dictionary. |
contents | OperatorCollection | Read | Parses the content stream of this form XObject into operators. |
pdfStream | PdfStream | Read | Returns the underlying PDF stream. |
méthodes
| Signature | Description |
|---|---|
XForm(stream: PdfStream, name: String, parser: PDFParser) | Creates an XForm from a form XObject stream. |
getName() → String | Returns the resource name of this form XObject. |
getBBox() → Rectangle | Returns the bounding box (/BBox) of this form XObject. |
getMatrix() → Matrix | Returns the transformation matrix (/Matrix). |
getResources() → Resources | Returns the form’s own /Resources dictionary. |
getContents() → OperatorCollection | Parses the content stream of this form XObject into operators. |
setContents(contents: OperatorCollection) | Replaces the content stream of this form XObject with the serialized form |
| of {@code contents}. | |
getPdfStream() → PdfStream | Returns the underlying PDF stream. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise