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 עבור חבילת C+. רכוש : CommentCollection, ICommentCollection.

נכסים

שםסוגגישהתיאור
CommentCollectionCommentCollectionקראוקבל את אוסף ההערות.
ICommentCollectionICommentCollectionקראוקבל את הקולקציה של הערות.

שיטות

חתימהתיאור
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).

ראה גם

 עברית