IParagraphCollection
Overview
IParagraphCollection เป็นอินเตอร์เฟสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: Iterable<IParagraph>.
เป็นการแสดงรวมของข้อความ.
ช่องทางนี้ให้ 14 วิธีในการทํางานกับวัตถุ IParagraphCollection ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: add, asIEnumerable, asIPresentationComponent, asISlideComponent, clear, contains, count, get, indexOf, insert, isReadOnly, remove,และวิธีการเพิ่มเติม 2 วิธี. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: readOnly.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
readOnly | boolean | Read | ได้ค่าที่แสดงว่าการรวมเป็นอ่านเท่านั้นหรือไม่. |
Methods
| Signature | Description |
|---|---|
get(index: int) → IParagraph | ได้ข้อที่อยู่ในอัตราการแสดงตัวที่กําหนดไว้. |
size() → int | คืนจํานวนข้อในคอลเลกชั่น. |
count() → int | ได้จํานวนขององค์ประกอบที่อยู่ในคอลเล็กชั่น. |
asISlideComponent() → ISlideComponent | กลับพื้นฐาน {@link ISlideComponent} อินเตอร์เฟส. |
asIEnumerable() → Iterable<IParagraph> | กลับคอลเลกชั่นนี้เป็นตัวอิเตอร์ได้. |
add(value: IParagraph) | เพิ่มข้อหนึ่งที่ปลายของชุด. |
insert(index: int, value: IParagraph) | การใส่ข้อที่ 1 ลงในอัตราการแสดงตัวที่ระบุ. |
clear() | ลบทุกข้อจากคอลเลกชั่น. |
removeAt(index: int) | ลบข้อที่อยู่ในอัตราการแสดงตัวที่กําหนดไว้. |
remove(item: IParagraph) → boolean | ยกเลี่ยงการเกิดครั้งแรกของข้อที่ระบุไว้. |
isReadOnly() → boolean | ได้ค่าที่แสดงว่าการรวมเป็นอ่านเท่านั้นหรือไม่. |
contains(item: IParagraph) → boolean | ตัดสินใจว่าการรวบรวมมีข้อที่กําหนดหรือไม่. |
indexOf(item: IParagraph) → int | การคืนตัวอัตราฐานที่ 0 ของการเกิดครั้งแรกของข้อที่ระบุ. |
asIPresentationComponent() → IPresentationComponent | กลับตัวอย่างนี้เป็น {@link IPresentationComponent}. |