# Xóa chú thích PPTX bằng C++

> Mã nguồn C++ để xóa chú thích khỏi PPTX

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



## Xóa Nhận xét khỏi PPTX qua C++

Để xóa chú thích khỏi tệp PPTX, chúng tôi sẽ sử dụng API [Aspose.Slides for C++](https://products.aspose.com/slides/vi/cpp/) API có nhiều tính năng, mạnh mẽ và dễ sử dụng API thao tác tài liệu cho nền tảng C++.

### Xóa chú thích khỏi 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);
```

## Cách xóa nhận xét khỏi PPTX bằng C++

Cài đặt **Aspose.Slides cho C++**. Xem [**Cài đặt**](https://docs.aspose.com/slides/cpp/installation/).

Tải PPTX với một phiên bản của lớp Trình bày

Lặp lại tất cả các Tác giả của PPTX đã tải

Xóa tất cả Nhận xét của một tác giả

Xóa tất cả Tác giả ở cuối

## Các định dạng chú thích được hỗ trợ khác
