FontSubstitutionCollection
ภาพรวม
FontSubstitutionCollection เป็นคลาสใน Aspose.PDF FOSS สําหรับ .NET. ทายาทจาก: IReadOnlyCollection<FontSubstitution>.
หมวดนี้ให้ 9 วิธีในการทํางานกับวัตถุ FontSubstitutionCollection ในโปรแกรม .NET. วิธีการที่ใช้ได้แก่: Add, Clear, Contains, CopyTo, Delete, GetEnumerator, Remove. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน .NET ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.PDF FOSS for .Net. คุณสมบัติ: Count, IsSynchronized, SyncRoot.
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|---|---|---|
Count | int | อ่าน | รับจำนวน. |
IsSynchronized | bool | อ่าน | รับค่า is synchronized. |
SyncRoot | object | อ่าน | รับรากการซิงค์. |
วิธีการ
| Signature | คําอธิบาย |
|---|---|
Add(fontSubstitution: FontSubstitution) | เรียก Add(fontSubstitution) ในตัวอย่าง FontSubstitutionCollection นี้. |
Add(substitution: CustomFontSubstitutionBase) | เพิ่ม CustomFontSubstitutionBase (ย่อยชั้นของ FontSubstitution). |
Contains(item: FontSubstitution) | เรียก Contains(item) ในตัวอย่าง FontSubstitutionCollection นี้. |
CopyTo(array: FontSubstitution[], index: int) | เรียก CopyTo ((array, index) ในตัวอย่างนี้ FontSubstitutionCollection. |
Remove(item: FontSubstitution) | เรียก Remove(item) ในตัวอย่าง FontSubstitutionCollection นี้. |
Remove(substitution: CustomFontSubstitutionBase) | เรียก Remove ((substitution) ในตัวอย่าง FontSubstitutionCollection นี้. |
Delete(substitution: CustomFontSubstitutionBase) | เรียก Delete(substitution) ในตัวอย่าง FontSubstitutionCollection นี้. |
Clear() | เรียก Clear ในตัวอย่าง FontSubstitutionCollection นี้. |
GetEnumerator() | เรียก GetEnumerator ในตัวอย่างนี้ FontSubstitutionCollection. |