# C++를 사용하여 PPT 주석 제거

> PPT에서 주석을 삭제하는 C++ 소스 코드

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



## C++를 통해 PPT에서 주석 제거

PPT 파일에서 주석을 제거하기 위해 기능이 풍부하고 강력하며 사용하기 쉬운 [Aspose.Slides for C++](https://products.aspose.com/slides/ko/cpp/) API를 사용합니다. C++ 플랫폼용 문서 조작 API.

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

## C++를 통해 PPT에서 주석을 제거하는 방법

**Aspose.Slides for C++**를 설치합니다. [**설치**](https://docs.aspose.com/slides/cpp/installation/)를 참조하세요.

프레젠테이션 클래스의 인스턴스로 PPT 로드

로드된 PPT의 모든 작성자에 대해 반복

작성자의 모든 주석 제거

마지막에 모든 작성자 제거

## 기타 지원되는 주석 형식
