GroupDocs.Annotation for .NET은(는) Word 문서에 주석을 달기 쉽게 합니다:
- Annotator 인스턴스로 Word 문서를 엽니다.
- 필요한 주석을 만들고 구성합니다.
- 문서에 주석을 추가합니다.
- 주석이 달린 Word 문서를 저장합니다.
GroupDocs.Annotation for .NET은(는) Word 문서에 주석을 달기 쉽게 합니다:
// Word 문서에 주석 달기
// Annotator 인스턴스로 문서를 엽니다
using (Annotator annotator = new Annotator("input.docx"))
{
// 영역 주석 만들기
AreaAnnotation area = new AreaAnnotation
{
Box = new Rectangle(100, 100, 200, 80),
BackgroundColor = 65535,
PageNumber = 0,
Message = "Important"
};
// 주석 추가
annotator.Add(area);
// 주석이 달린 문서 저장
annotator.Save("annotated.docx");
}
모든 주석 유형을 Word 문서에 추가하고 간단한 API로 관리합니다.

Word 문서에서 텍스트를 강조 표시, 밑줄, 취소선, 또는 교체합니다.
도형을 그리고 워터마크 또는 이미지를 Word 페이지에 삽입합니다.
Word 주석을 가져오고, 제거하고, 가져오며, 내보냅니다.
// 주석이 달린 문서 열기
using (Annotator annotator = new Annotator("annotated.docx"))
{
// 모든 주석 가져오기
List<AnnotationBase> annotations = annotator.Get();
// 각 주석 검사하기
foreach (AnnotationBase annotation in annotations)
{
System.Console.WriteLine(annotation.Message);
}
// 문서 저장
annotator.Save("output.docx");
}
GroupDocs.Annotation for .NET은(는) 다양한 파일 형식의 문서에 주석을 지원합니다: