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
| Name | Type | Access | Description |
|---|---|---|---|
Name | string? | Read/Write | The name of this XForm in the page’s XObject resources dict. |
Contents | OperatorCollection | Read | The Form XObject’s content stream as a typed operator collection. |
DecodedBytes | byte[] | Read | The raw decoded content bytes of this XForm. |
BBox | Rectangle? | Read/Write | The bounding box of this XForm. |
Rectangle | Rectangle | Read | Alias for BBox; both names are exposed. |
Subtype | string | Read | The XObject Subtype (always “Form” for XForm instances). |
Matrix | Matrix | Read/Write | The Form’s /Matrix entry (the transformation applied when the form is painted). |
IT | string? | Read | The Form’s /Intent (IT) entry; null when absent. |
Opi | Opi | Read | Open Prepress Interface (OPI) wrapper. |
Resources | Resources | Read | Form XObject resources (fonts / images / nested XObjects) declared on this XForm’s stream dict. |
méthodes
| Signature | Description |
|---|---|
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