# Class TCefPrintSettingsRef

Description
Hierarchy
Methods

## Unit

uCEFPrintSettings

## Declaration

`type TCefPrintSettingsRef = class(TCefBaseRefCountedRef, ICefPrintSettings)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefPrintSettingsRef

## Overview

### Methods

Protected | `function IsValid: Boolean;`
Protected | `function IsReadOnly: Boolean;`
Protected | `procedure SetOrientation(landscape: Boolean);`
Protected | `function IsLandscape: Boolean;`
Protected | `procedure SetPrinterPrintableArea(const physicalSizeDeviceUnits: PCefSize; const printableAreaDeviceUnits: PCefRect; landscapeNeedsFlip: Boolean);`
Protected | `procedure SetDeviceName(const name: ustring);`
Protected | `function GetDeviceName: ustring;`
Protected | `procedure SetDpi(dpi: Integer);`
Protected | `function GetDpi: Integer;`
Protected | `procedure SetPageRanges(const ranges: TCefRangeArray);`
Protected | `function GetPageRangesCount: NativeUInt;`
Protected | `procedure GetPageRanges(out ranges: TCefRangeArray);`
Protected | `procedure SetSelectionOnly(selectionOnly: Boolean);`
Protected | `function IsSelectionOnly: Boolean;`
Protected | `procedure SetCollate(collate: Boolean);`
Protected | `function WillCollate: Boolean;`
Protected | `procedure SetColorModel(model: TCefColorModel);`
Protected | `function GetColorModel: TCefColorModel;`
Protected | `procedure SetCopies(copies: Integer);`
Protected | `function GetCopies: Integer;`
Protected | `procedure SetDuplexMode(mode: TCefDuplexMode);`
Protected | `function GetDuplexMode: TCefDuplexMode;`
Public | `class function New: ICefPrintSettings;`
Public | `class function UnWrap(data: Pointer): ICefPrintSettings;`

## Description

### Methods

Protected | `function IsValid: Boolean;`
This item has no description. Showing description inherited from ICefPrintSettings.IsValid. Returns true (1) if this object is valid. Do not call any other functions if this function returns false (0).

Protected | `function IsReadOnly: Boolean;`
This item has no description. Showing description inherited from ICefPrintSettings.IsReadOnly. Returns true (1) if the values of this object are read-only. Some APIs may expose read-only objects.

Protected | `procedure SetOrientation(landscape: Boolean);`
This item has no description. Showing description inherited from ICefPrintSettings.SetOrientation. Set the page orientation.

Protected | `function IsLandscape: Boolean;`
This item has no description. Showing description inherited from ICefPrintSettings.IsLandscape. Returns true (1) if the orientation is landscape.

Protected | `procedure SetPrinterPrintableArea(const physicalSizeDeviceUnits: PCefSize; const printableAreaDeviceUnits: PCefRect; landscapeNeedsFlip: Boolean);`
This item has no description. Showing description inherited from ICefPrintSettings.SetPrinterPrintableArea. Set the printer printable area in device units. Some platforms already provide flipped area. Set |landscape_needs_flip| to false (0) on those platforms to avoid double flipping.

Protected | `procedure SetDeviceName(const name: ustring);`
This item has no description. Showing description inherited from ICefPrintSettings.SetDeviceName. Set the device name.

Protected | `function GetDeviceName: ustring;`
This item has no description. Showing description inherited from ICefPrintSettings.GetDeviceName. Get the device name.

Protected | `procedure SetDpi(dpi: Integer);`
This item has no description. Showing description inherited from ICefPrintSettings.SetDpi. Set the DPI (dots per inch).

Protected | `function GetDpi: Integer;`
This item has no description. Showing description inherited from ICefPrintSettings.GetDpi. Get the DPI (dots per inch).

Protected | `procedure SetPageRanges(const ranges: TCefRangeArray);`
This item has no description. Showing description inherited from ICefPrintSettings.SetPageRanges. Set the page ranges.

Protected | `function GetPageRangesCount: NativeUInt;`
This item has no description. Showing description inherited from ICefPrintSettings.GetPageRangesCount. Returns the number of page ranges that currently exist.

Protected | `procedure GetPageRanges(out ranges: TCefRangeArray);`
This item has no description. Showing description inherited from ICefPrintSettings.GetPageRanges. Retrieve the page ranges.

Protected | `procedure SetSelectionOnly(selectionOnly: Boolean);`
This item has no description. Showing description inherited from ICefPrintSettings.SetSelectionOnly. Set whether only the selection will be printed.

Protected | `function IsSelectionOnly: Boolean;`
This item has no description. Showing description inherited from ICefPrintSettings.IsSelectionOnly. Returns true (1) if only the selection will be printed.

Protected | `procedure SetCollate(collate: Boolean);`
This item has no description. Showing description inherited from ICefPrintSettings.SetCollate. Set whether pages will be collated.

Protected | `function WillCollate: Boolean;`
This item has no description. Showing description inherited from ICefPrintSettings.WillCollate. Returns true (1) if pages will be collated.

Protected | `procedure SetColorModel(model: TCefColorModel);`
This item has no description. Showing description inherited from ICefPrintSettings.SetColorModel. Set the color model.

Protected | `function GetColorModel: TCefColorModel;`
This item has no description. Showing description inherited from ICefPrintSettings.GetColorModel. Get the color model.

Protected | `procedure SetCopies(copies: Integer);`
This item has no description. Showing description inherited from ICefPrintSettings.SetCopies. Set the number of copies.

Protected | `function GetCopies: Integer;`
This item has no description. Showing description inherited from ICefPrintSettings.GetCopies. Get the number of copies.

Protected | `procedure SetDuplexMode(mode: TCefDuplexMode);`
This item has no description. Showing description inherited from ICefPrintSettings.SetDuplexMode. Set the duplex mode.

Protected | `function GetDuplexMode: TCefDuplexMode;`
This item has no description. Showing description inherited from ICefPrintSettings.GetDuplexMode. Get the duplex mode.

Public | `class function New: ICefPrintSettings;`
This item has no description.

Public | `class function UnWrap(data: Pointer): ICefPrintSettings;`
This item has no description.

Generated by PasDoc 1.0.4.