The OpenD Programming Language

cef_print_settings_t

Structure representing print settings.

version(cef && embedded_cef_bindings)
extern (C)
struct cef_print_settings_t {
extern (System)
int function(cef_print_settings_t* self) nothrow is_valid;
extern (System)
int function(cef_print_settings_t* self) nothrow is_read_only;
extern (System)
void function(cef_print_settings_t* self, int landscape) nothrow set_orientation;
extern (System)
int function(cef_print_settings_t* self) nothrow is_landscape;
}

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_color_model
cef_color_model_t function(cef_print_settings_t* self) nothrow get_color_model;

Get the color model.

get_copies
int function(cef_print_settings_t* self) nothrow get_copies;

Get the number of copies.

get_device_name
cef_string_userfree_t function(cef_print_settings_t* self) nothrow get_device_name;

Get the device name.

get_dpi
int function(cef_print_settings_t* self) nothrow get_dpi;

Get the DPI (dots per inch).

get_duplex_mode
cef_duplex_mode_t function(cef_print_settings_t* self) nothrow get_duplex_mode;

Get the duplex mode.

get_page_ranges
void function(cef_print_settings_t* self, size_t* rangesCount, cef_range_t* ranges) nothrow get_page_ranges;

Retrieve the page ranges.

get_page_ranges_count
size_t function(cef_print_settings_t* self) nothrow get_page_ranges_count;

Returns the number of page ranges that currently exist.

is_selection_only
int function(cef_print_settings_t* self) nothrow is_selection_only;

Returns true (1) if only the selection will be printed.

set_collate
void function(cef_print_settings_t* self, int collate) nothrow set_collate;

Set whether pages will be collated.

set_color_model
void function(cef_print_settings_t* self, cef_color_model_t model) nothrow set_color_model;

Set the color model.

set_copies
void function(cef_print_settings_t* self, int copies) nothrow set_copies;

Set the number of copies.

set_device_name
void function(cef_print_settings_t* self, const(cef_string_t)* name) nothrow set_device_name;

Set the device name.

set_dpi
void function(cef_print_settings_t* self, int dpi) nothrow set_dpi;

Set the DPI (dots per inch).

set_duplex_mode
void function(cef_print_settings_t* self, cef_duplex_mode_t mode) nothrow set_duplex_mode;

Set the duplex mode.

set_page_ranges
void function(cef_print_settings_t* self, size_t rangesCount, const(cef_range_t)* ranges) nothrow set_page_ranges;

Set the page ranges.

set_printer_printable_area
void function(cef_print_settings_t* self, const(cef_size_t)* physical_size_device_units, const(cef_rect_t)* printable_area_device_units, int landscape_needs_flip) nothrow set_printer_printable_area;

provide flipped area. Set |landscape_needs_flip| to false (0) on those platforms to avoid double flipping.

set_selection_only
void function(cef_print_settings_t* self, int selection_only) nothrow set_selection_only;

Set whether only the selection will be printed.

will_collate
int function(cef_print_settings_t* self) nothrow will_collate;

Returns true (1) if pages will be collated.

Meta