XFormCollection
סקירה כללית
‘XFormCollection’ הוא שיעור ב- Aspose.PDF FOSS עבור Java. מורשת מ: ‘Iterable
אוסף של טופס XObjects מתוך הכניסה /XObject של מילון משאבים (ISO 32000-1:2008, §8.10).
שיטות זמינות כוללות: ‘XFormCollection’, ‘get’, getNames', ‘hasNext’, 'isEmpty', ’iterator', ‚next, ‘size’.כל החברים הציבוריים נגישים לכל יישום Java לאחר התקנת Aspose.PDF FOSS עבור חבילת Java.
נכסים
| 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. |
שיטות
| 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 |
ראה גם
- Aspose.PDF for Java — Enterprise API Reference – רשימת ה-Java