CanvasOptions

Printing, VCL, document creation

Description

The import mode used when a drawn canvas is converted to a PDF page, from -1 through 4 with a default of 2

The value is passed unchanged as the Options argument of LoadFromCanvasDC for the first page and of NewPageFromCanvasDC for every later page, and has the meaning documented there

Syntax

Delphi

Property TPDFlibPrinter.CanvasOptions: Integer Default 2;

Remarks

A value outside -1 through 4 raises EPDFlibPrinter

Assigning the property while a job is active raises EPDFlibPrinter, so one mode applies to all pages of a job

See also

TPDFlibPrinter, LoadFromCanvasDC, NewPageFromCanvasDC