EmbeddedFileCollection

EmbeddedFileCollection

Vue de l’ensemble

‘EmbeddedFileCollection’ est une classe dans Aspose.PDF FOSS pour .NET. hérite de: IReadOnlyList<FilSpecification>.

Collecte de fichiers intégrés dans un document.

Cette classe fournit 8 méthodes pour travailler avec les objets EmbeddedFileCollection dans des programmes .NET. Les méthodologies disponibles comprennent: ‘Add’, ‘CopyTo’, Delete', ‘DeletteByKey’, 'FindBYName', ’GetEnumerator'. Tous les membres publics sont accessibles à n'importe quelle application .Net après l'installation de la FOSS Aspose.PDF pour le package .net. Propriétés: Count, IsSynchronized,KeysetSymcRoot`.

Propriétés

NameTypeAccessDescription
CountintReadGets the count.
IsSynchronizedboolReadGets the is synchronized.
SyncRootobjectReadGets the sync root.
KeysList<string>ReadThe names of all embedded files in this collection.

méthodes

SignatureDescription
Add(file: FileSpecification)Add an embedded file attachment to the document.
Add(key: string, file: FileSpecification)Add with an explicit name, overriding the spec’s own Name.
CopyTo(array: FileSpecification[], index: int)Calls CopyTo on this EmbeddedFileCollection instance.
FindByName(name: string)Look up an embedded file by its registered name.
DeleteByKey(key: string)Sibling of Delete(string) using by-key naming.
Delete()Removes all embedded files from the document’s /Names/EmbeddedFiles name tree.
Delete(name: string)Remove a single embedded file by name.
GetEnumerator()Calls GetEnumerator on this EmbeddedFileCollection instance.

Voir aussi

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