# Java를 사용하여 PPT 주석 제거

> JSP/JSF 응용 프로그램 및 데스크톱 응용 프로그램용 Java Runtime Environment에서 PPT 형식 주석을 삭제하는 Java 샘플 코드입니다.

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



## Java를 통해 PPT에서 주석 제거

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

### PPT에서 주석 삭제 - Java

```java

Presentation presentation = new Presentation("example.ppt");
try {
    // Deletes all comments from the presentation
    for (ICommentAuthor author : presentation.getCommentAuthors())
    {
        author.getComments().clear();
    }

    // Deletes all authors
    presentation.getCommentAuthors().clear();

    presentation.save("example_out.pptx", SaveFormat.Pptx);
} finally {
    if (presentation != null) presentation.dispose();
}
```

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

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

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

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

작성자의 모든 주석 제거

마지막에 모든 작성자 제거

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