IParagraphCollection

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

NameTypeAccessDescription
readOnlybooleanReadได้ค่าที่แสดงว่าการรวมเป็นอ่านเท่านั้นหรือไม่.

Methods

SignatureDescription
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}.

See Also

 ภาษาไทย