GoToAction
Overview
GoToAction เป็นคลาสใน Aspose.PDF FOSS สําหรับ Java. ทายาทจาก: PdfAction.
Go-To action การเดินทางไปยังจุดหมายในเอกสาร (ISO 32000-1:2008, §12.6.4.2).
หมวดนี้ให้วิธีการ 12 สําหรับทํางานกับ GoToAction วัตถุในโปรแกรม Java. วิธีการที่ใช้ได้แก่: GoToAction, fromDictionary, getAppointment, getDestination, getNext, getPdfDictionary, getType, setDestination. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: appointment, destination, next, pdfDictionary, type.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
destination | ExplicitDestination | Read | ส่งกลับจุดหมายเป็น {@link ExplicitDestination} เมื่อตั้งไว้ (ไม่ว่าในเส้นตรงหรือถูกแก้ไขแล้วระหว่างการสร้าง); สําหรับ { @ link NamedDestination}, สร้างคืนที่กําหนดทางอย่างชัดเจนโดยล้า หรือ { @@code null} หากชื่อไม่สามารถแก้ปัญหาได้. |
appointment | IAppointment | Read | การคืนที่หมายทรัพย์ ({@link ExplicitDestination} หรือ {@ link NamedDestination}). |
pdfDictionary | PdfDictionary | Read | ส่งคําศัพท์การกระทําที่อยู่เบื้องหลังกลับมา. |
type | String | Read | การคืนประเภทการกระทํา (/S entry). |
next | PdfAction | Read | การคืนการกระทําต่อไป (/Next) หากมี. |
Methods
| Signature | Description |
|---|---|
GoToAction(page: Page) | สร้าง GoToAction ที่เป้าหมายหน้าที่มีจุดหมาย XYZ โดยตั้งค่า. |
GoToAction() | สร้าง GoToAction โดยไม่มีจุดหมายที่ตั้งไว้ก่อน ใช้โดยผู้เรียกต่อมาจะเรียก {@link #setDestination(IAppointment)}. |
GoToAction(dest: ExplicitDestination) | สร้าง GoToAction กับจุดหมายที่จํากัด. |
GoToAction(dest: NamedDestination) | สร้าง GoToAction กับจุดหมายที่มีชื่อ. |
GoToAction(dict: PdfDictionary, doc: Document) | การพาราซ GoToAction จากวัสดุที่มีอยู่. |
getDestination() → ExplicitDestination | ส่งกลับจุดหมายเป็น {@link ExplicitDestination} เมื่อตั้งไว้ (ไม่ว่าในเส้นตรงหรือถูกแก้ไขแล้วระหว่างการสร้าง); สําหรับ { @ link NamedDestination}, สร้างคืนที่กําหนดทางอย่างชัดเจนโดยล้า หรือ { @@code null} หากชื่อไม่สามารถแก้ปัญหาได้. |
getAppointment() → IAppointment | การคืนที่หมายทรัพย์ ({@link ExplicitDestination} หรือ {@ link NamedDestination}). |
setDestination(dest: IAppointment) | กําหนดจุดหมาย (ยอมรับทั้ง {@link ExplicitDestination} และ { @linkNamedDestination})). |
getPdfDictionary() → PdfDictionary | ส่งคําศัพท์การกระทําที่อยู่เบื้องหลังกลับมา. |
getType() → String | การคืนประเภทการกระทํา (/S entry). |
getNext() → PdfAction | การคืนการกระทําต่อไป (/Next) หากมี. |
fromDictionary(dict: PdfDictionary, doc: Document) → PdfAction | Factory: สร้างตัวกลักษณะ PdfAction ที่เหมาะสมจากวัตถุดิศานุกรม. |