ViewerPreferences

ViewerPreferences

Overview

ViewerPreferences เป็นคลาสใน Aspose.PDF FOSS สําหรับ Java.

การเลือกตัวอย่างการดู PDF (ISO 32000-1:2008, §12.2, ตารางที่ 150).

หมวดนี้ให้ 25 วิธีในการทํางานกับ ViewerPreferences วัตถุในโปรแกรม Java. วิธีการที่ใช้ได้แก่: ViewerPreferences, getCenterWindow, getDirection, getDisplayDocTitle, getDuplex, getFitWindow, getHideMenubar, getHideToolbar, getHideWindowUI, getNonFullScreenPageMode, getNumCopies, getPdfDictionary,และ 13 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: centerWindow, direction, displayDocTitle, duplex, fitWindow, hideMenubar,และอีก 7 คน.

Properties

NameTypeAccessDescription
hideToolbarbooleanReadHideToolbar การแสดงภาพของตัวอากาศ.
hideMenubarbooleanReadHideMenubar การแสดงภาพของตัวอากาศ.
hideWindowUIbooleanRead- ซ่อนหน้าต่าง UI.
fitWindowbooleanReadFitWindow การแสดงภาพของตัวอากาศ.
centerWindowbooleanReadCenterWindow การแสดงภาพของตัวอากาศ.
displayDocTitlebooleanReadDisplayDocTitle การแสดงภาพของตัวอากาศ.
nonFullScreenPageModeStringReadNonFullScreenPageMode: UseNone, UseOutlines,UseThumbs ,UseOC.
directionStringRead/ทิศทาง: L2R หรือ R2L.
duplexStringRead/Duplex: ซิมเพล็กซ์, DuplexFlipShortEdge,DuplexFlipLongEdge.
printScalingStringReadPrintScaling: AppDefault, ไม่มี.
numCopiesintReadNumCopies การแสดงภาพของตัวอากาศ.
printPageRangeint[]Read/PrintPageRange แอเรนด์ของระยะหน้า.
pdfDictionaryPdfDictionaryReadส่งคําศัพท์ที่อยู่เบื้องหลังกลับมา.

Methods

SignatureDescription
ViewerPreferences(dict: PdfDictionary)รวมวัสดุประกอบด้วยคําศัพท์ความชอบของผู้ชม.
getHideToolbar()booleanHideToolbar การแสดงภาพของตัวอากาศ.
setHideToolbar(v: boolean)กําหนดค่าของบาร์เครื่องมือซ่อน.
getHideMenubar()booleanHideMenubar การแสดงภาพของตัวอากาศ.
setHideMenubar(v: boolean)กําหนดค่าเมนูบาร์ซ่อน.
getHideWindowUI()boolean- ซ่อนหน้าต่าง UI.
setHideWindowUI(v: boolean)ตั้งค่า ui ของหน้าต่างซ่อน.
getFitWindow()booleanFitWindow การแสดงภาพของตัวอากาศ.
setFitWindow(v: boolean)กําหนดค่าหน้าต่างที่เหมาะสม.
getCenterWindow()booleanCenterWindow การแสดงภาพของตัวอากาศ.
setCenterWindow(v: boolean)กําหนดค่าหน้าต่างกลาง.
getDisplayDocTitle()booleanDisplayDocTitle การแสดงภาพของตัวอากาศ.
setDisplayDocTitle(v: boolean)กําหนดค่าประเภทของ doc ที่แสดง.
getNonFullScreenPageMode()StringNonFullScreenPageMode: UseNone, UseOutlines,UseThumbs ,UseOC.
setNonFullScreenPageMode(mode: String)กําหนดค่าแบบหน้าที่ไม่ใช่จอเต็ม.
getDirection()String/ทิศทาง: L2R หรือ R2L.
setDirection(dir: String)กําหนดค่าทิศทาง.
getDuplex()String/Duplex: ซิมเพล็กซ์, DuplexFlipShortEdge,DuplexFlipLongEdge.
setDuplex(duplex: String)กําหนดค่า Duplex.
getPrintScaling()StringPrintScaling: AppDefault, ไม่มี.
setPrintScaling(scaling: String)กําหนดค่าการปรับขนาดพิมพ์.
getNumCopies()intNumCopies การแสดงภาพของตัวอากาศ.
setNumCopies(n: int)กําหนดค่า num copies.
getPrintPageRange()int[]/PrintPageRange แอเรนด์ของระยะหน้า.
getPdfDictionary()PdfDictionaryส่งคําศัพท์ที่อยู่เบื้องหลังกลับมา.

See Also

 ภาษาไทย