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

NameTypeAccessDescription
fontsPdfDictionaryReadTrả lại /Font sub-dictionary, hoặc null nếu không có.
xObjectsPdfDictionaryReadTrả lại /XObject sub-dictionary, hoặc null nếu không có.
extGStatePdfDictionaryReadTrả lại /ExtGState sub-dictionary, hoặc null nếu không có.
colorSpacesPdfDictionaryReadTrả lại /ColorSpace sub-dictionary, hoặc null nếu không có.
patternsPdfDictionaryReadTrả lại /Pattern sub-dictionary, hoặc null nếu không có.
shadingsPdfDictionaryReadTrả lại /Shading sub-dictionary, hoặc null nếu không có.
propertiesPdfDictionaryReadTrả lại / Properties sub-dictionary, hoặc null nếu không có.
imagesXImageCollectionReadTrả lại bộ sưu tập hình ảnh XObjects từ /XObject.
formsXFormCollectionReadTrả lại bộ sưu tập Form XObjects từ /XObject (ISO 32000-1:2008, §8.10).
pdfDictionaryPdfDictionaryReadTrở lại từ điển PDF cơ bản.

Methods

SignatureDescription
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()PdfDictionaryTrả lại /Font sub-dictionary, hoặc null nếu không có.
getXObjects()PdfDictionaryTrả lại /XObject sub-dictionary, hoặc null nếu không có.
getExtGState()PdfDictionaryTrả lại /ExtGState sub-dictionary, hoặc null nếu không có.
getColorSpaces()PdfDictionaryTrả lại /ColorSpace sub-dictionary, hoặc null nếu không có.
getPatterns()PdfDictionaryTrả lại /Pattern sub-dictionary, hoặc null nếu không có.
getShadings()PdfDictionaryTrả lại /Shading sub-dictionary, hoặc null nếu không có.
getProperties()PdfDictionaryTrả lại / Properties sub-dictionary, hoặc null nếu không có.
getImages()XImageCollectionTrả lại bộ sưu tập hình ảnh XObjects từ /XObject.
getForms()XFormCollectionTrả lại bộ sưu tập Form XObjects từ /XObject (ISO 32000-1:2008, §8.10).
getPdfDictionary()PdfDictionaryTrở lại từ điển PDF cơ bản.

See Also

 Tiếng Việt