XFim de collection
Vue de l’ensemble
‘XFormCollection’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: ‘Iterable
Collection de Form XObjects à partir d’une entrée /XObject dans un dictionnaire ressource (ISO 32000-1:2008, §8.10).
Cette classe fournit 9 méthodes pour travailler avec des objets XFormCollection dans les programmes Java. Les méthodologies disponibles comprennent: ‘XForm Collection’, ‘get’, getNames', ‘hasNext’, 'isEmpty', ’iterator, ’next` et ‘size’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ’empty’, «names’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
empty | boolean | Read | Returns true when no Form XObjects are present. |
names | List<String> | Read | Returns all Form XObject names in iteration order. |
méthodes
| Signature | Description |
|---|---|
XFormCollection(xobjectDict: PdfDictionary, parser: PDFParser) | Creates a view over an /XObject dictionary, exposing only Form XObjects. |
size() → int | Returns the number of Form XObjects in this collection. |
isEmpty() → boolean | Returns true when no Form XObjects are present. |
get(index: int) → XForm | Returns the XForm at the given 1-based index (Aspose convention). |
get(name: String) → XForm | Returns the XForm registered under the given resource name (e.g. |
getNames() → List<String> | Returns all Form XObject names in iteration order. |
iterator() → Iterator<XForm> | |
hasNext() → boolean | Returns true if next is present. |
next() → XForm |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise