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

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

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



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

Để xóa chú thích khỏi tệp ODP, 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 ODP - C++

```cpp

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

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

// 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 ODP qua C++

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

Tải ODP với một thể hiện của lớp Trình bày

Lặp lại tất cả các Tác giả của ODP đã 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
