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
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the count. |
IsSynchronized | bool | Read | Gets the is synchronized. |
SyncRoot | object | Read | Gets the sync root. |
Keys | List<string> | Read | The names of all embedded files in this collection. |
méthodes
| Signature | Description |
|---|---|
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