PortionCollection

PortionCollection

ภาพรวม

PortionCollection เป็นคลาสใน Aspose.Slides FOSS สําหรับ C++.

จัดการรวมส่วนของข้อความภายในบท.

หมวดนี้ให้ 27 วิธีในการทํางานกับวัตถุ PortionCollection ในโปรแกรม C++. วิธีการที่ใช้ได้แก่: ConstIterator, Iterator, PortionCollection, add, as_i_enumerable, begin, clear, contains, count, end, index_of, init_internal,และ 7 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for C++. คุณสมบัติ: ConstIterator, Iterator, PortionCollection, pointer, reference.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
PortionCollectionPortionCollectionอ่านรับคอลเลกชันส่วน.
referencereferenceอ่านรับอ้างอิง.
pointerpointerอ่านรับพอยน์เตอร์.
IteratorIteratorอ่านรับตัวทำซ้ำ.
ConstIteratorConstIteratorอ่านรับ iterator คงที่.

วิธีการ

Signatureคําอธิบาย
PortionCollection()PortionCollectionที่ดินให้บริการเข้าถึงสะสมของตัวเอง
reference()referenceการส่งกลับตัวแปรที่อ้างอิงไปยังคอลเลกชั่นเบื้องต้น
pointer()pointerอสังหาริมทรัพย์ให้การชี้แนะถึงสะสมที่อยู่เบื้องหลัง
Iterator()Iteratorสร้างตัวอิเทเรเตอร์ใหม่ที่ตั้งอยู่จุดเริ่มต้นของคอลเลกชั่น
Iterator()Iterator
reference()reference
pointer()pointer
ConstIterator()ConstIterator
ConstIterator()ConstIterator
PortionCollection()
init_internal(p_element: pugi::xml_node, txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)เริ่มต้นจาก XML, เข้าสู่โหมดที่รองรับด้วย XML.
size()std::size_tกลับจํานวนส่วนของอาหาร.
count()std::size_tการส่งจํานวนส่วน (ชื่อที่ใช้สําหรับขนาด) () กลับ.
is_read_only()boolกลับข้อมูลที่ว่าการรวมเป็นอ่านเท่านั้นหรือไม่.
add(portion: Portion)Portionเพิ่มส่วนหนึ่งไปสู่ปลายของสะสม.
index_of(item: Portion)std::optional<std::size_t>ส่งผลการแสดงตัวของส่วนที่ให้ไว้, หรือ std::nullopt หากไม่พบ.
insert(index: std::size_t, portion: Portion)Portionการใส่ส่วนที่อัตรานิยมให้.
clear()ยกเลิกทุกส่วน.
contains(item: Portion)boolกลับ true หากคอลเลกชั่นมีส่วนที่ให้ไว้.
remove(item: Portion)boolลบส่วนที่ให้จากคอลเลกชั่น.
remove_at(index: std::size_t)ลบส่วนที่อยู่ในอัตราการแสดงตัวให้เห็น.
as_i_enumerable()IPortionCollectionกลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป.
as_i_enumerable()IPortionCollectionกลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป.
begin()Iteratorการคืนตัวอิเทเรเตอร์ไปยังส่วนแรก
end()Iteratorการคืนการคัดสรรหลังส่วนสุดท้าย
begin()ConstIterator
end()ConstIterator

ดูเช่นกัน

 ภาษาไทย