DestinationCollection

DestinationCollection

ภาพรวม

DestinationCollection เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET. ทายาทจาก: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>.

การรวบรวมที่กําหนดชื่อถูกแสดงเป็น IEnumerable<KeyValuePair <สตริง, อวัตถุ» สําหรับความเท่าเทียมของ Aspose.Pdf.

หมวดนี้ให้ 10 วิธีในการทํางานกับวัตถุ DestinationCollection ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: Add, Clear, Contains, CopyTo, GetEnumerator, GetExplicitDestination, GetPageNumber, IndexOf, Remove. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net. คุณสมบัติ: Count, IsReadOnly.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
Countintอ่านจํานวนจุดหมาย (รายการในต้นที่กําหนดชื่อ + รายงานที่เพิ่มขึ้นโดยท้องถิ่น).
IsReadOnlyboolอ่านเสมอผิด: ผู้โทรอาจขยายผ่านการผูกพันท้องถิ่น.

วิธีการ

Signatureคําอธิบาย
GetPageNumber(destinameName: string, useCache: bool)รับหมายเลขหน้าตามฐาน 1 สำหรับปลายทางที่มีชื่อ.
GetPageNumber(destinameName: string)ความสะดวกที่อุดตัน ที่มักจะซ่อนไว้ตลอดเวลา.
GetExplicitDestination(destinameName: string, useCache: bool)การแก้ไขจุดหมายที่ได้รับชื่อเป็น ExplicitDestination; กลับ null เมื่อไม่พบ.
Add(item: System.Collections.Generic.KeyValuePair<string, object>)เพิ่มคู่ (name → destination) ไปกับการผูกพื้นที่.
Clear()ถอดทุกรายการที่ผิวหน้า.
Contains(value: System.Collections.Generic.KeyValuePair<string, object>)ว่าค่ามีอยู่ในภาพถ่าย (ชื่อที่หมายปลายทางหรือการผูกพัน) หรือไม่.
CopyTo(array: System.Collections.Generic.KeyValuePair<string, object>[], arrayIndex: int)คัดรูปในอาร์เรย์เริ่มจาก arrayIndex.
IndexOf(value: System.Collections.Generic.KeyValuePair<string, object>)อินเด็กซ์ของค่าในภาพถ่าย, หรือ -1.
Remove(item: System.Collections.Generic.KeyValuePair<string, object>)ถอดรายการที่ตรงกัน.
GetEnumerator()เรียก GetEnumerator ในตัวอย่างนี้ DestinationCollection.

ดูเช่นกัน

 ภาษาไทย