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

ActiveX

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

DLL

int QuickPDFPrintOptions(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
Title The title of the document. This title is used by Windows in the Print Manager and for network title pages

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum