XForm

Vue de l’ensemble

‘XForm’ est une classe dans Aspose.PDF FOSS pour .NET.

Il représente un Form XObject (réutilisable flux de contenu avec ses propres ressources).

Cette classe fournit 5 méthodes pour travailler avec des objets XForm dans les programmes .NET. Les méthodologies disponibles comprennent : ‘CreateNewForm’, ‘Dispose’, FreeMemory', ‘GetResources'. Tous les membres publics sont accessibles à n'importe quelle application .Net après l'installation de l’Aspose.PDF FOSS pour le package .net. Propriétés: 'BBox', ’Contents’, 'DecodedBytes', ‚IT, ‘Matrix’, «Name` et 4 autres.

Propriétés

NameTypeAccessDescription
Namestring?Read/WriteThe name of this XForm in the page’s XObject resources dict.
ContentsOperatorCollectionReadThe Form XObject’s content stream as a typed operator collection.
DecodedBytesbyte[]ReadThe raw decoded content bytes of this XForm.
BBoxRectangle?Read/WriteThe bounding box of this XForm.
RectangleRectangleReadAlias for BBox; both names are exposed.
SubtypestringReadThe XObject Subtype (always “Form” for XForm instances).
MatrixMatrixRead/WriteThe Form’s /Matrix entry (the transformation applied when the form is painted).
ITstring?ReadThe Form’s /Intent (IT) entry; null when absent.
OpiOpiReadOpen Prepress Interface (OPI) wrapper.
ResourcesResourcesReadForm XObject resources (fonts / images / nested XObjects) declared on this XForm’s stream dict.

méthodes

SignatureDescription
GetResources()Method-style resources accessor.
GetResources(allowCreate: bool)Method-style resources accessor with create-on-demand.
Dispose()Releases resources held by this XForm.
FreeMemory()Free decoded-content cache.
CreateNewForm(source: Page, document: Document)Construct a new XForm from a source page’s content stream and register it on document.

Voir aussi

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