Debenu Quick PDF logo

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 TDebenuPDFLibrary1811.PrintOptions(PageScaling, AutoRotateCenter: Integer; 
  Title: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::PrintOptions(PageScaling As Long,
  AutoRotateCenter As Long, Title As String) As Long

DLL

int DPLPrintOptions(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

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport