OutlineItemCollection

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() → *DocumentDocument กลับเอกสารที่สะสมนี้เชื่อมโยงกับ.
Parent() → *OutlineItemCollectionParent กลับเข้า parent หรือ nil สําหรับการรวบรวมราก.
Count() → intCount กลับจํานวนลูกตรง (ที่เก็บไว้จนกว่า Task 5 จะเพิ่มส่วนอื่นของ collection API).
Title() → stringTitle จะส่งข้อความที่เป็นตราลักษณ์กลับ.
SetTitle(s: string)SetTitle แทนข้อความของตราลักษณ์.
Bold() → boolbold ตอบกับ /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() → boolIsExpanded ควบคุมการขยาย / การล่มสลายของผู้ชมในตอนแรก.
SetIsExpanded(b: bool)ตั้งค่าค่า is expanded.
Action() → Actionการกระทําคืนการกระทําที่ติดต่อผ่าน / A.
SetAction(a: Action)SetAction กําหนดการ /A การกระทํา.
Destination() → DestinationDestination กลับจุดหมายการดูอย่างชัดเจนผ่าน /Dest, หรือ nil หากไม่มี.
SetDestination(d: Destination)SetDestination ตั้งการเข้า /Dest.
Add(child: *OutlineItemCollection) → errorการเพิ่มจะรวม child เป็นลูกสุดท้ายของรายการนี้.
Insert(index: int, child: *OutlineItemCollection) → errorInsert ใส่ child ในอัตราฐาน 0 ที่ให้ไว้ในกลุ่มของ children ของรายการนี้.
Remove(child: *OutlineItemCollection) → boolถอดเด็กที่แยกออก ถ้าเป็นลูกตรง.
RemoveAt(index: int) → errorRemoveAt แยกเด็กที่ตัวอัตราที่ให้ไว้.
At(index: int) → *OutlineItemCollectionAt กลับตัวเด็กที่อัตราฐาน 0 ที่ได้รับ, หรือ nil หากนอกระยะ.
All() → []*OutlineItemCollectionทั้งหมดจะคืนรูปถ่ายของลูกตรง.

ดูเช่นกัน

 ภาษาไทย