PrintOptions

渲染和打印

描述

此函数用于构造可作为 Options 参数使用的值

PrintDocument 函数

语法

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 Long

DLL

int DLPrintOptions(int InstanceID, int PageScaling, int AutoRotateCenter, const wchar_t * Title);

参数

PageScaling0 = 无 1 = 适合纸张 2 = 缩小大页面
AutoRotateCenter0 = 不自动旋转页面 1 = 旋转页面以适应输出介质,并在页面上居中 -1 = 旋转页面以适应输出介质,并在页面上居中,但改为逆时针旋转
Title文档标题。Windows 会在打印管理器和网络扉页中使用此标题