Chromium Embedded Framework (CEF)
106.0.15+gbb70d04+chromium-106.0.5249.12
|
Structure representing PDF print settings. More...
#include "include/internal/cef_types.h"
Public Attributes | |
cef_string_t | header_footer_title |
Page title to display in the header. More... | |
cef_string_t | header_footer_url |
URL to display in the footer. More... | |
int | page_width |
Output page size in microns. More... | |
int | page_height |
int | scale_factor |
The percentage to scale the PDF by before printing (e.g. More... | |
int | margin_top |
Margins in points. More... | |
int | margin_right |
int | margin_bottom |
int | margin_left |
cef_pdf_print_margin_type_t | margin_type |
Margin type. More... | |
int | header_footer_enabled |
Set to true (1) to print headers and footers or false (0) to not print headers and footers. More... | |
int | selection_only |
Set to true (1) to print the selection only or false (0) to print all. More... | |
int | landscape |
Set to true (1) for landscape mode or false (0) for portrait mode. More... | |
int | backgrounds_enabled |
Set to true (1) to print background graphics or false (0) to not print background graphics. More... | |
Structure representing PDF print settings.
int cef_pdf_print_settings_t::backgrounds_enabled |
Set to true (1) to print background graphics or false (0) to not print background graphics.
int cef_pdf_print_settings_t::header_footer_enabled |
Set to true (1) to print headers and footers or false (0) to not print headers and footers.
cef_string_t cef_pdf_print_settings_t::header_footer_title |
Page title to display in the header.
Only used if |header_footer_enabled| is set to true (1).
cef_string_t cef_pdf_print_settings_t::header_footer_url |
URL to display in the footer.
Only used if |header_footer_enabled| is set to true (1).
int cef_pdf_print_settings_t::landscape |
Set to true (1) for landscape mode or false (0) for portrait mode.
int cef_pdf_print_settings_t::margin_bottom |
int cef_pdf_print_settings_t::margin_left |
int cef_pdf_print_settings_t::margin_right |
int cef_pdf_print_settings_t::margin_top |
Margins in points.
Only used if |margin_type| is set to PDF_PRINT_MARGIN_CUSTOM.
cef_pdf_print_margin_type_t cef_pdf_print_settings_t::margin_type |
Margin type.
int cef_pdf_print_settings_t::page_height |
int cef_pdf_print_settings_t::page_width |
Output page size in microns.
If either of these values is less than or equal to zero then the default paper size (A4) will be used.
int cef_pdf_print_settings_t::scale_factor |
The percentage to scale the PDF by before printing (e.g.
50 is 50%). If this value is less than or equal to zero the default value of 100 will be used.
int cef_pdf_print_settings_t::selection_only |
Set to true (1) to print the selection only or false (0) to print all.