Resources
Overview
Resources là một lớp trong Aspose.PDF FOSS cho Java.
Tích hợp một từ điển tài nguyên PDF (ISO 32000-1:2008, §7.8.3).
Khóa học này cung cấp 12 phương pháp để làm việc với các đối tượng Tài nguyên trong các chương trình Java. Các phương pháp có sẵn bao gồm: Resources, getColorSpaces, getExtGState, getFonts, getForms, getImages, getPatterns, getPdfDictionary, getProperties, getShadings, getXObjects. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.PDF FOSS cho gói Java. Tài sản : colorSpaces, extGState, fonts, forms, images, patterns,Và 4 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
fonts | PdfDictionary | Read | Trả lại /Font sub-dictionary, hoặc null nếu không có. |
xObjects | PdfDictionary | Read | Trả lại /XObject sub-dictionary, hoặc null nếu không có. |
extGState | PdfDictionary | Read | Trả lại /ExtGState sub-dictionary, hoặc null nếu không có. |
colorSpaces | PdfDictionary | Read | Trả lại /ColorSpace sub-dictionary, hoặc null nếu không có. |
patterns | PdfDictionary | Read | Trả lại /Pattern sub-dictionary, hoặc null nếu không có. |
shadings | PdfDictionary | Read | Trả lại /Shading sub-dictionary, hoặc null nếu không có. |
properties | PdfDictionary | Read | Trả lại / Properties sub-dictionary, hoặc null nếu không có. |
images | XImageCollection | Read | Trả lại bộ sưu tập hình ảnh XObjects từ /XObject. |
forms | XFormCollection | Read | Trả lại bộ sưu tập Form XObjects từ /XObject (ISO 32000-1:2008, §8.10). |
pdfDictionary | PdfDictionary | Read | Trở lại từ điển PDF cơ bản. |
Methods
| Signature | Description |
|---|---|
Resources(dict: PdfDictionary) | Tạo một Resources wrapper xung quanh từ điển PDF. |
Resources(dict: PdfDictionary, parser: PDFParser) | Tạo một Resource Wrapper với PDF parser để giải quyết các tham chiếu không trực tiếp. |
getFonts() → PdfDictionary | Trả lại /Font sub-dictionary, hoặc null nếu không có. |
getXObjects() → PdfDictionary | Trả lại /XObject sub-dictionary, hoặc null nếu không có. |
getExtGState() → PdfDictionary | Trả lại /ExtGState sub-dictionary, hoặc null nếu không có. |
getColorSpaces() → PdfDictionary | Trả lại /ColorSpace sub-dictionary, hoặc null nếu không có. |
getPatterns() → PdfDictionary | Trả lại /Pattern sub-dictionary, hoặc null nếu không có. |
getShadings() → PdfDictionary | Trả lại /Shading sub-dictionary, hoặc null nếu không có. |
getProperties() → PdfDictionary | Trả lại / Properties sub-dictionary, hoặc null nếu không có. |
getImages() → XImageCollection | Trả lại bộ sưu tập hình ảnh XObjects từ /XObject. |
getForms() → XFormCollection | Trả lại bộ sưu tập Form XObjects từ /XObject (ISO 32000-1:2008, §8.10). |
getPdfDictionary() → PdfDictionary | Trở lại từ điển PDF cơ bản. |