Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefPrintSettings

CefBaseRefCounted
   |
   +--CefPrintSettings

   in cef_print_settings.h

class CefPrintSettings
extends CefBaseRefCounted

Class representing print settings.


Inner Classes, Typedefs, and Enums
typedef CefPrintSettings::ColorModel
          
typedef CefPrintSettings::DuplexMode
          
typedef CefPrintSettings::PageRangeList
          
 
Method Summary
 static CefRefPtr< CefPrintSettings > Create()
          Create a new CefPrintSettings object.
 virtual CefPrintSettings::ColorModel GetColorModel()= 0
          Get the color model.
 virtual int GetCopies()= 0
          Get the number of copies.
 virtual CefString GetDeviceName()= 0
          Get the device name.
 virtual int GetDPI()= 0
          Get the DPI (dots per inch).
 virtual CefPrintSettings::DuplexMode GetDuplexMode()= 0
          Get the duplex mode.
 virtual void GetPageRanges( CefPrintSettings::PageRangeList& ranges )= 0
          Retrieve the page ranges.
 virtual size_t GetPageRangesCount()= 0
          Returns the number of page ranges that currently exist.
 virtual bool IsLandscape()= 0
          Returns true if the orientation is landscape.
 virtual bool IsReadOnly()= 0
          Returns true if the values of this object are read-only.
 virtual bool IsSelectionOnly()= 0
          Returns true if only the selection will be printed.
 virtual bool IsValid()= 0
          Returns true if this object is valid.
 virtual void SetCollate( bool collate )= 0
          Set whether pages will be collated.
 virtual void SetColorModel( CefPrintSettings::ColorModel model )= 0
          Set the color model.
 virtual void SetCopies( int copies )= 0
          Set the number of copies.
 virtual void SetDeviceName( const CefString& name )= 0
          Set the device name.
 virtual void SetDPI( int dpi )= 0
          Set the DPI (dots per inch).
 virtual void SetDuplexMode( CefPrintSettings::DuplexMode mode )= 0
          Set the duplex mode.
 virtual void SetOrientation( bool landscape )= 0
          Set the page orientation.
 virtual void SetPageRanges( const CefPrintSettings::PageRangeList& ranges )= 0
          Set the page ranges.
 virtual void SetPrinterPrintableArea( const CefSize& physical_size_device_units, const CefRect& printable_area_device_units, bool landscape_needs_flip )= 0
          Set the printer printable area in device units.
 virtual void SetSelectionOnly( bool selection_only )= 0
          Set whether only the selection will be printed.
 virtual bool WillCollate()= 0
          Returns true if pages will be collated.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

Create

public static CefRefPtr< CefPrintSettings > Create();
Create a new CefPrintSettings object.

GetColorModel

public virtual CefPrintSettings::ColorModel GetColorModel()= 0;
Get the color model.

GetCopies

public virtual int GetCopies()= 0;
Get the number of copies.

GetDeviceName

public virtual CefString GetDeviceName()= 0;
Get the device name.

GetDPI

public virtual int GetDPI()= 0;
Get the DPI (dots per inch).

GetDuplexMode

public virtual CefPrintSettings::DuplexMode GetDuplexMode()= 0;
Get the duplex mode.

GetPageRanges

public virtual void GetPageRanges( CefPrintSettings::PageRangeList& ranges )= 0;
Retrieve the page ranges.

GetPageRangesCount

public virtual size_t GetPageRangesCount()= 0;
Returns the number of page ranges that currently exist.

IsLandscape

public virtual bool IsLandscape()= 0;
Returns true if the orientation is landscape.

IsReadOnly

public virtual bool IsReadOnly()= 0;
Returns true if the values of this object are read-only. Some APIs may expose read-only objects.

IsSelectionOnly

public virtual bool IsSelectionOnly()= 0;
Returns true if only the selection will be printed.

IsValid

public virtual bool IsValid()= 0;
Returns true if this object is valid. Do not call any other methods if this function returns false.

SetCollate

public virtual void SetCollate( bool collate )= 0;
Set whether pages will be collated.

SetColorModel

public virtual void SetColorModel( CefPrintSettings::ColorModel model )= 0;
Set the color model.

SetCopies

public virtual void SetCopies( int copies )= 0;
Set the number of copies.

SetDeviceName

public virtual void SetDeviceName( const CefString& name )= 0;
Set the device name.

SetDPI

public virtual void SetDPI( int dpi )= 0;
Set the DPI (dots per inch).

SetDuplexMode

public virtual void SetDuplexMode( CefPrintSettings::DuplexMode mode )= 0;
Set the duplex mode.

SetOrientation

public virtual void SetOrientation( bool landscape )= 0;
Set the page orientation.

SetPageRanges

public virtual void SetPageRanges( const CefPrintSettings::PageRangeList& ranges )= 0;
Set the page ranges.

SetPrinterPrintableArea

public virtual void SetPrinterPrintableArea( const CefSize& physical_size_device_units, const CefRect& printable_area_device_units, bool landscape_needs_flip )= 0;
Set the printer printable area in device units. Some platforms already provide flipped area. Set |landscape_needs_flip| to false on those platforms to avoid double flipping.

SetSelectionOnly

public virtual void SetSelectionOnly( bool selection_only )= 0;
Set whether only the selection will be printed.

WillCollate

public virtual bool WillCollate()= 0;
Returns true if pages will be collated.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt