PrintOptions
Rendering and printing
Description
This function is used to construct a value that can be used as the Options parameter to the
PrintDocument function.
Syntax
Delphi
function TPDFlib.PrintOptions(PageScaling, AutoRotateCenter: Integer; Const Title: WideString): Integer;ActiveX
Function PDFlib::PrintOptions(PageScaling As Long, AutoRotateCenter As Long, Title As String) As LongDLL
int DLPrintOptions(int InstanceID, int PageScaling, int AutoRotateCenter, wchar_t * Title);Parameters
| PageScaling | 0 = None 1 = Fit to paper 2 = Shrink large pages |
|---|---|
| AutoRotateCenter | 0 = Do not rotate pages automatically 1 = Rotate pages to fit on the output medium, and center on the page -1 = Rotate pages to fit on the output medium, and center on the page but rotate anticlockwise instead. |
| Title | The title of the document. This title is used by Windows in the Print Manager and for network title pages |