OutlineItemCollection
ภาพรวม
OutlineItemCollection เป็นตัวอย่างใน Aspose.PDF FOSS for Go.
OutlineItemCollection เป็นตัวแทนของรายการแบบกว้างและกลุ่มลูกๆ ของมัน.
ประเภทนี้ให้ 23 วิธีในการทํางานกับวัตถุ OutlineItemCollection ในโปรแกรม Go. วิธีการที่ใช้ได้แก่: Action, Add, All, At, Bold, Color, Count, Destination, Document, Insert, IsExpanded, Italic,และ 11 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Go ได้หลังจากติดตั้งแพ็คเกจ FOSS for Go.
วิธีการ
| Signature | คําอธิบาย |
|---|---|
Document() → *Document | Document กลับเอกสารที่สะสมนี้เชื่อมโยงกับ. |
Parent() → *OutlineItemCollection | Parent กลับเข้า parent หรือ nil สําหรับการรวบรวมราก. |
Count() → int | Count กลับจํานวนลูกตรง (ที่เก็บไว้จนกว่า Task 5 จะเพิ่มส่วนอื่นของ collection API). |
Title() → string | Title จะส่งข้อความที่เป็นตราลักษณ์กลับ. |
SetTitle(s: string) | SetTitle แทนข้อความของตราลักษณ์. |
Bold() → bool | bold ตอบกับ /F bit 2 ในประเภทการกําหนดตัวเลข. |
SetBold(b: bool) | ตั้งค่าค่าตัวหนา. |
Italic() → bool | การเขียนที่คัดเป็น /F bit 1. |
SetItalic(b: bool) | ตั้งค่าค่า italic. |
Color() → *Color | สีส่งคืนสี RGB label หรือ nil หาก /C ไม่มี (ดําโดยตั้งค่า). |
SetColor(c: *Color) | ตั้งค่าค่าสี. |
IsExpanded() → bool | IsExpanded ควบคุมการขยาย / การล่มสลายของผู้ชมในตอนแรก. |
SetIsExpanded(b: bool) | ตั้งค่าค่า is expanded. |
Action() → Action | การกระทําคืนการกระทําที่ติดต่อผ่าน / A. |
SetAction(a: Action) | SetAction กําหนดการ /A การกระทํา. |
Destination() → Destination | Destination กลับจุดหมายการดูอย่างชัดเจนผ่าน /Dest, หรือ nil หากไม่มี. |
SetDestination(d: Destination) | SetDestination ตั้งการเข้า /Dest. |
Add(child: *OutlineItemCollection) → error | การเพิ่มจะรวม child เป็นลูกสุดท้ายของรายการนี้. |
Insert(index: int, child: *OutlineItemCollection) → error | Insert ใส่ child ในอัตราฐาน 0 ที่ให้ไว้ในกลุ่มของ children ของรายการนี้. |
Remove(child: *OutlineItemCollection) → bool | ถอดเด็กที่แยกออก ถ้าเป็นลูกตรง. |
RemoveAt(index: int) → error | RemoveAt แยกเด็กที่ตัวอัตราที่ให้ไว้. |
At(index: int) → *OutlineItemCollection | At กลับตัวเด็กที่อัตราฐาน 0 ที่ได้รับ, หรือ nil หากนอกระยะ. |
All() → []*OutlineItemCollection | ทั้งหมดจะคืนรูปถ่ายของลูกตรง. |