# إزالة تعليق PPTX التوضيحي باستخدام C++

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

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



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

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

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

```cpp

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

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

// 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);
```

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

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

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

كرر على جميع مؤلفي PPTX المحملة

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

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

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