# قم بإزالة PPT Annotation باستخدام C++

> كود مصدر C++ لحذف التعليقات التوضيحية من PPT

Source: https://products.aspose.com/slides/ar/cpp/annotation/ppt/
Updated: 2023-04-18



## إزالة التعليقات من PPT عبر C++

لإزالة التعليقات التوضيحية من ملف PPT ، سنستخدم [Aspose.Slides for C++](https://products.aspose.com/slides/ar/cpp/) واجهة برمجة تطبيقات غنية بالميزات وقوية وسهلة الاستخدام واجهة برمجة تطبيقات معالجة المستندات لمنصة C++.

### حذف التعليقات التوضيحية من PPT - C++

```cpp

using namespace Aspose::Slides;
using namespace Aspose::Slides::Export;
using namespace System::Drawing;

auto presentation = System::MakeObject<Presentation>(u"example.ppt");

// Deletes all comments from the presentation
for (auto author : presentation->get_CommentAuthors())
{
    author->get_Comments()->Clear();
}

// Deletes all authors
presentation->get_CommentAuthors()->Clear();
presentation->Save(u"example_out.pptx", SaveFormat::Pptx);
```

## كيفية إزالة التعليقات من PPT عبر C++

قم بتثبيت ** Aspose.Slides for C++ **. راجع [** التثبيت **](https://docs.aspose.com/slides/cpp/installation/).

قم بتحميل PPT بمثيل لفئة العرض التقديمي

كرر على جميع مؤلفي تحميل PPT

إزالة جميع تعليقات المؤلف

إزالة جميع المؤلفين في النهاية

## تنسيقات التعليقات التوضيحية الأخرى المعتمدة
