CefPrintSettings

Class representing print settings.

Types

Link copied to clipboard
Print job color mode values.
Link copied to clipboard
Print job duplex mode values.

Functions

Link copied to clipboard
Create a new CefPrintSettings object.
Link copied to clipboard
abstract fun dispose()
Removes the native reference from an unused object.
Link copied to clipboard
Get the color model.
Link copied to clipboard
abstract fun getCopies(): Int
Get the number of copies.
Link copied to clipboard
abstract fun getDeviceName(): String
Get the device name.
Link copied to clipboard
abstract fun getDPI(): Int
Get the DPI (dots per inch).
Link copied to clipboard
Get the duplex mode.
Link copied to clipboard
open fun getNativeRef(): Long

open fun getNativeRef(identifer: String): Long
Method is called by the native code to get the reference to an previous stored identifier.
Link copied to clipboard
abstract fun getPageRanges(ranges: Vector<CefPageRange>)
Retrieve the page ranges.
Link copied to clipboard
abstract fun getPageRangesCount(): Int
Returns the number of page ranges that currently exist.
Link copied to clipboard
abstract fun isLandscape(): Boolean
Returns true if the orientation is landscape.
Link copied to clipboard
abstract fun isReadOnly(): Boolean
Returns true if the values of this object are read-only.
Link copied to clipboard
abstract fun isSelectionOnly(): Boolean
Returns true if only the selection will be printed.
Link copied to clipboard
abstract fun isValid(): Boolean
Returns true if this object is valid.
Link copied to clipboard
abstract fun setCollate(collate: Boolean)
Set whether pages will be collated.
Link copied to clipboard
Set the color model.
Link copied to clipboard
abstract fun setCopies(copies: Int)
Set the number of copies.
Link copied to clipboard
abstract fun setDeviceName(name: String)
Set the device name.
Link copied to clipboard
abstract fun setDPI(dpi: Int)
Set the DPI (dots per inch).
Link copied to clipboard
Set the duplex mode.
Link copied to clipboard
open fun setNativeRef(identifer: String, nativeRef: Long)
Method is called by the native code to store a reference to an implemented native JNI counterpart.
Link copied to clipboard
abstract fun setOrientation(landscape: Boolean)
Set the page orientation.
Link copied to clipboard
abstract fun setPageRanges(ranges: Vector<CefPageRange>)
Set the page ranges.
Link copied to clipboard
abstract fun setPrinterPrintableArea(physical_size_device_units: Dimension, printable_area_device_units: Rectangle, landscape_needs_flip: Boolean)
Set the printer printable area in device units.
Link copied to clipboard
abstract fun setSelectionOnly(selection_only: Boolean)
Set whether only the selection will be printed.
Link copied to clipboard
abstract fun willCollate(): Boolean
Returns true if pages will be collated.