|
THotPDF.ViewerPreferences
|
ด้านบน ก่อนหน้า ถัดไป |
|
กำหนดค่ากำหนดของแอปพลิเคชันโปรแกรมดูที่เขียนลงในเอกสาร PDF
ประเภท THPDFViewerPreference = (vpHideToolbar, vpHideMenubar, vpHideWindowUI, vpFitWindow, vpCenterWindow, vpDisplayDocTitle, vpDirection, vpNonFullScreenPageMode, vpPrintScaling, vpDuplex, vpPickTrayByPDFSize, vpNumCopies, vpPrintArea, vpPrintClip); THPDFViewerPreferences = set of THPDFViewerPreference;
Delphi syntax: property ViewerPreferences: THPDFViewerPreferences;
C++ syntax: __property THPDFViewerPreferences ViewerPreferences;
คำอธิบาย ค่ากำหนดของโปรแกรมดูจะควบคุมวิธีนำเสนอเอกสารบนหน้าจอ และวิธีที่โปรแกรมดูอาจเริ่มต้นพฤติกรรมการพิมพ์ ค่าบางอย่างเป็นเพียงแฟล็กธรรมดา และบางค่าจำเป็นต้องตั้งค่าคุณสมบัติ THotPDF ที่เกี่ยวข้องด้วยเช่นกัน
Value Meaning
vpHideWindowUI Specifying whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), เหลือเพียงเนื้อหาของเอกสารที่แสดงผลเท่านั้น
vpDirection Write the document reading direction. Use the THotPDF.Direction property to choose LeftToRight or RightToLeft.
vpPrintScaling Controls the default print scaling mode. Use the THotPDF.PrintScaling property. vpDuplex Writes the duplex printing preference. Use the THotPDF.Duplex property.
vpNumCopies Writes the suggested print copy count. Use the THotPDF.NumCopies property.
คุณสมบัติที่เกี่ยวข้อง Direction, NonFullScreenPageMode, PrintScaling, Duplex, NumCopies, PrintArea, PrintClip และ InitialZoom
บันทึกย่อ ค่ากำหนดของโปรแกรมดูคือคำแนะนำสำหรับโปรแกรมดู PDF การรองรับจะแตกต่างกันไปตามแอปพลิเคชัน Adobe Reader และ Acrobat มักจะให้พฤติกรรมการทำงานที่สมบูรณ์ที่สุด
|