RenderingOptions

RenderingOptions

Overview

RenderingOptions là một lớp trong Aspose.PDF FOSS cho Java.

Các tùy chọn để render PDF pages to images.

Khóa học này cung cấp 9 phương pháp để làm việc với các đối tượng RenderingOptions trong các chương trình Java. Các phương pháp có sẵn bao gồm: RenderingOptions, getBackgroundColor, getDpiX, getDpiY, isSmoothImages, setBackgroundColor, setDpiX, setDpiY, setSmoothImages. 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 : backgroundColor, dpiX, dpiY, smoothImages.

Properties

NameTypeAccessDescription
smoothImagesbooleanReadTrả lại xem hình ảnh được bật hay không.
backgroundColorStringReadTrở lại màu nền.
dpiXintReadTrở lại DPI ngang.
dpiYintReadTrở lại DPI dọc.

Methods

SignatureDescription
RenderingOptions()Tạo các tùy chọn rendering mặc định.
isSmoothImages()booleanTrả lại xem hình ảnh được bật hay không.
setSmoothImages(smooth: boolean)- Chọn xem hình ảnh được bật hay không.
getBackgroundColor()StringTrở lại màu nền.
setBackgroundColor(color: String)Đặt màu nền.
getDpiX()intTrở lại DPI ngang.
setDpiX(dpi: int)Đặt DPI ngang.
getDpiY()intTrở lại DPI dọc.
setDpiY(dpi: int)Đặt DPI dọc.

See Also

 Tiếng Việt