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

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