CommentCollection

CommentCollection

ภาพรวม

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

จัดการรวมความคิดเห็นของผู้เขียนเดียว.

หมวดนี้ให้ 16 วิธีในการทํางานกับวัตถุ CommentCollection ในโปรแกรม C++. วิธีการที่ใช้ได้แก่: CommentCollection, ICommentCollection, add_comment, as_i_collection, as_i_enumerable, clear, find_comment_by_idx, insert_comment, remove, remove_at, remove_comment, size,และ 1 วิธีการเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Slides FOSS for C++. คุณสมบัติ: CommentCollection, ICommentCollection.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
CommentCollectionCommentCollectionอ่านรับคอลเลกชันของคอมเมนต์.
ICommentCollectionICommentCollectionอ่านรับคอลเลกชัน i comment.

วิธีการ

Signatureคําอธิบาย
CommentCollection()CommentCollectionสร้างคอลเลกชั่นที่เป็นของผู้เขียนดังกล่าว.
ICommentCollection()ICommentCollectionโปรปิเทนต์ให้บริการ ICommentCollection ผ่าตัดสําหรับคอลเลกชั่นนี้
ICommentCollection()ICommentCollection
CommentCollection()สร้างคอลเลกชั่นที่เป็นของผู้เขียนดังกล่าว.
add_comment(text: std::string, slide: Slide, position: Drawing::PointF, created_time: std::chrono::system_clock::time_point)Commentเพิ่มความคิดเห็นใหม่และส่งกลับคําอ้างอิงมัน.
insert_comment(index: std::size_t, text: std::string, slide: Slide, position: Drawing::PointF, created_time: std::chrono::system_clock::time_point)Commentการใส่ความคิดเห็นที่อัตรานิยมและคืนคําแนะนํามัน.
remove_at(index: std::size_t)ลบความคิดเห็นที่อัตรานิยมที่ให้.
remove(comment: Comment)ยกความเห็นที่ให้ (และคําตอบ) ออกจากรวบรวม.
clear()ยกความเห็นทั้งหมดจากโครงการนี้ไป.
size()std::size_tการคืนจํานวนความคิดเห็น.
to_array()std::vector<Comment*>กลับเวกเตอร์ของตัวชี้ที่ไม่เป็นเจ้าของกับทุกความคิดเห็น.
to_array(start: std::size_t, count: std::size_t)std::vector<Comment*>กลับเวกเตอร์ของตัวชี้ที่ไม่เป็นเจ้าของกับทุกความคิดเห็น.
find_comment_by_idx(idx: std::uint32_t)Commentค้นหาความคิดเห็นโดยการแสดงตัวละผู้เขียนเฉพาะ หรือ nullptr หากไม่พบ.
as_i_collection()ICommentCollectionกลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสของคลเล็กชันทั่วไป.
as_i_enumerable()ICommentCollectionกลับคําอ้างอิงไปยังคอลเลกชั่นนี้เป็นอินเตอร์เฟสที่สามารถนับได้ทั่วไป.
remove_comment(comment: Comment)ลบความคิดเห็นเฉพาะโดยการชี้ (ใช้ภายใน Comment::remove).

ดูเช่นกัน

 ภาษาไทย