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

NameTypeAccessDescription
nameStringReadReturns the resource name of this form XObject.
bBoxRectangleReadReturns the bounding box (/BBox) of this form XObject.
matrixMatrixReadReturns the transformation matrix (/Matrix).
resourcesResourcesReadReturns the form’s own /Resources dictionary.
contentsOperatorCollectionReadParses the content stream of this form XObject into operators.
pdfStreamPdfStreamReadReturns the underlying PDF stream.

méthodes

SignatureDescription
XForm(stream: PdfStream, name: String, parser: PDFParser)Creates an XForm from a form XObject stream.
getName()StringReturns the resource name of this form XObject.
getBBox()RectangleReturns the bounding box (/BBox) of this form XObject.
getMatrix()MatrixReturns the transformation matrix (/Matrix).
getResources()ResourcesReturns the form’s own /Resources dictionary.
getContents()OperatorCollectionParses 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()PdfStreamReturns the underlying PDF stream.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français