PdfAnnotationEditor

PdfAnnotationEditor

Overview

PdfAnnotationEditor is a class in Aspose.PDF FOSS for C++.

PdfAnnotationEditor can import annotations from FDF or XFDF files and flatten them into the page content, removing interactive elements.

This class provides 15 methods for working with PdfAnnotationEditor objects in C++ programs. Available methods include: DeleteAnnotation, DeleteAnnotations, FlatteningAnnotations, ImportAnnotationFromXfdf, ImportAnnotations, ImportAnnotationsFromFdf, ImportAnnotationsFromXfdf, ModifyAnnotations, ModifyAnnotationsAuthor, PdfAnnotationEditor. All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
PdfAnnotationEditor()Calls PdfAnnotationEditor on this PdfAnnotationEditor instance.
ImportAnnotationsFromXfdf(xfdfFile: std::string)Loads annotations from an XFDF file into the document
ImportAnnotationsFromFdf(fdfFile: std::string)Calls ImportAnnotationsFromFdf(fdfFile) on this PdfAnnotationEditor instance.
ImportAnnotationFromXfdf(xfdfFile: std::string)Calls ImportAnnotationFromXfdf(xfdfFile) on this PdfAnnotationEditor instance.
ImportAnnotationFromXfdf(xfdfFile: std::string, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)Calls ImportAnnotationFromXfdf(xfdfFile, annotType) on this PdfAnnotationEditor instance.
ImportAnnotations(annotFile: std::vector<std::string>, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)Calls ImportAnnotations(annotFile, annotType) on this PdfAnnotationEditor instance.
ImportAnnotations(annotFile: std::vector<std::string>)Calls ImportAnnotations(annotFile) on this PdfAnnotationEditor instance.
ModifyAnnotations(start: int, end: int, annotation: Aspose::Pdf::Annotations::Annotation)Calls ModifyAnnotations(start, end, annotation) on this PdfAnnotationEditor instance.
ModifyAnnotationsAuthor(start: int, end: int, srcAuthor: std::string, desAuthor: std::string)Calls ModifyAnnotationsAuthor(start, end, srcAuthor, desAuthor) on this PdfAnnotationEditor instance.
FlatteningAnnotations()Converts all imported annotations into static page graphics
FlatteningAnnotations(flattenSettings: Aspose::Pdf::Forms::Form::FlattenSettings)Calls FlatteningAnnotations(flattenSettings) on this PdfAnnotationEditor instance.
FlatteningAnnotations(start: int, end: int, annotType: std::vector<Aspose::Pdf::Annotations::AnnotationType>)Calls FlatteningAnnotations(start, end, annotType) on this PdfAnnotationEditor instance.
DeleteAnnotations()Calls DeleteAnnotations on this PdfAnnotationEditor instance.
DeleteAnnotations(annotType: std::string)Calls DeleteAnnotations(annotType) on this PdfAnnotationEditor instance.
DeleteAnnotation(annotName: std::string)Calls DeleteAnnotation(annotName) on this PdfAnnotationEditor instance.

See Also