GroupDocs.Annotation for .NET は PowerPoint プレゼンテーションへの注釈付けを簡単にします:
- Annotator インスタンスで PowerPoint ファイルを開きます。
- 必要な注釈を作成し、構成します。
- 注釈をプレゼンテーションに追加します。
- 注釈付き PowerPoint ファイルを保存します。
GroupDocs.Annotation for .NET は PowerPoint プレゼンテーションへの注釈付けを簡単にします:
// PowerPoint プレゼンテーションに注釈を付ける
// Annotator インスタンスでプレゼンテーションを開く
using (Annotator annotator = new Annotator("input.pptx"))
{
// 領域注釈を作成する
AreaAnnotation area = new AreaAnnotation
{
Box = new Rectangle(100, 100, 200, 80),
BackgroundColor = 65535,
PageNumber = 0,
Message = "Important"
};
// 注釈を追加する
annotator.Add(area);
// 注釈付きプレゼンテーションを保存する
annotator.Save("annotated.pptx");
}
すべての注釈タイプを PowerPoint プレゼンテーションに追加し、シンプルな API で管理できます。

PowerPoint ファイルのテキストをハイライト、下線、取り消し線、または置換します。
PowerPoint スライドに図形を描画し、透かしや画像をスタンプとして貼り付けます。
PowerPoint の注釈を取得、削除、インポート、エクスポートします。
// 注釈付きプレゼンテーションを開く
using (Annotator annotator = new Annotator("annotated.pptx"))
{
// すべての注釈を取得
List<AnnotationBase> annotations = annotator.Get();
// 各注釈を検査
foreach (AnnotationBase annotation in annotations)
{
System.Console.WriteLine(annotation.Message);
}
// プレゼンテーションを保存
annotator.Save("output.pptx");
}
GroupDocs.Annotation を無料でダウンロードするか、フルアクセス用の試用版ライセンスを取得してください。
GroupDocs.Annotation for .NET は多数のファイル形式にわたってドキュメントへの注釈付けをサポートします: