public class CefPdfPrintSettings
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
CefPdfPrintSettings.MarginType |
限定符和类型 | 字段和说明 |
---|---|
boolean |
backgrounds_enabled
Set to true to print background graphics or false to not print background graphics.
(设置为true可打印背景图形,设置为false则不打印背景图形。)
|
boolean |
header_footer_enabled
Set to true to print headers and footers or false to not print headers and footers.
(设置为true以打印页眉和页脚,设置为false则不打印页眉和页脚。)
|
java.lang.String |
header_footer_title
Page title to display in the header.
(页面标题显示在标题中。)
|
java.lang.String |
header_footer_url
URL to display in the footer.
(在页脚中显示的URL。)
|
boolean |
landscape
Set to true for landscape mode or false for portrait mode.
(对于横向模式,设置为true;对于纵向模式,设置为false。)
|
double |
margin_bottom |
double |
margin_left |
double |
margin_right |
double |
margin_top
Margins in millimeters.
(以毫米为单位的边距。)
|
CefPdfPrintSettings.MarginType |
margin_type
Margin type.
(保证金类型。)
|
int |
page_height |
int |
page_width
Output page size in microns (1 millimeter = 1000 microns).
(输出页面大小,以微米为单位(1毫米= 1000微米)。)
|
int |
scale_factor
The percentage to scale the PDF by before printing (e.g. 50 is 50%).
(打印前按比例缩放PDF的百分比(例如50为50%)。)
|
boolean |
selection_only
Set to true to print the selection only or false to print all.
(设置为true仅打印选择内容,设置为false则打印全部内容。)
|
构造器和说明 |
---|
CefPdfPrintSettings() |
限定符和类型 | 方法和说明 |
---|---|
CefPdfPrintSettings |
clone() |
public boolean backgrounds_enabled
public boolean header_footer_enabled
public java.lang.String header_footer_title
public java.lang.String header_footer_url
public boolean landscape
public double margin_bottom
public double margin_left
public double margin_right
public double margin_top
public CefPdfPrintSettings.MarginType margin_type
public int page_height
public int page_width
public int scale_factor
public boolean selection_only
public CefPdfPrintSettings clone()
clone
在类中
java.lang.Object