PrintOptionsA
渲染和列印
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 PrintOptions 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
此函式用來建構一個值,可當成以下函式的 Options 參數:
PrintDocument function.
語法
Delphi
Function DLPrintOptionsA(InstanceID, PageScaling, AutoRotateCenter: Integer; Title: PAnsiChar): Integer;
DLL
int DLPrintOptionsA(int InstanceID, int PageScaling, int AutoRotateCenter, const char* Title);
參數
| PageScaling | 0 = 無 1 = 符合紙張 2 = 縮小過大頁面 |
|---|---|
| AutoRotateCenter | 0 = 不自動旋轉頁面 1 = 旋轉頁面以符合輸出媒介並置中於頁面 -1 = 旋轉頁面以符合輸出媒介並置中於頁面,但改為逆時針旋轉。 |
| Title | 文件的標題。Windows 會在列印管理員與網路標題頁使用它 |