Aspose::Pdf::Facades::PdfAnnotationEditor class

PdfAnnotationEditor class

Represents a class for work with PDF document annotations (comments).

class PdfAnnotationEditor : public Aspose::Pdf::Facades::SaveableFacade

Methods

MethodDescription
DeleteAnnotation(const System::String&)Deletes the annotation with specified annotation name.
DeleteAnnotations()Deletes all annotations in the document.
DeleteAnnotations(const System::String&)Deletes all annotations of the specified type in the document.
ExportAnnotationsToXfdf(const System::SharedPtr<System::IO::Stream>&)Exports annotations to stream.
ExportAnnotationsXfdf(const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t, const System::ArrayPtr<System::String>&)Exports the content of the specified annotation types into XFDF.
ExportAnnotationsXfdf(const System::SharedPtr<System::IO::Stream>&, int32_t, int32_t, const System::ArrayPtr<Annotations::AnnotationType>&)Exports the content of the specified annotations types into XFDF.
ExtractAnnotations(int32_t, int32_t, const System::ArrayPtr<System::String>&)Gets the list of annotations of the specified types.
ExtractAnnotations(int32_t, int32_t, const System::ArrayPtr<Annotations::AnnotationType>&)Gets the list of annotations of the specified types.
FlatteningAnnotations()Flattens all annotations in the document.
FlatteningAnnotations(const System::SharedPtr<Forms::Form::FlattenSettings>&)Flattens all annotations in the document.
FlatteningAnnotations(int32_t, int32_t, const System::ArrayPtr<Annotations::AnnotationType>&)Flattens the annotations of the specified types.
ImportAnnotationFromXfdf(const System::String&)Imports all annotations from XFDF file.
ImportAnnotationFromXfdf(const System::String&, const System::ArrayPtr<Annotations::AnnotationType>&)Imports the specified annotations from XFDF file.
ImportAnnotationFromXfdf(const System::SharedPtr<System::IO::Stream>&, const System::ArrayPtr<Annotations::AnnotationType>&)Imports the specified annotations from XFDF data stream.
ImportAnnotationFromXfdf(const System::SharedPtr<System::IO::Stream>&)Imports all annotations from XFDF data stream.
ImportAnnotations(const System::ArrayPtr<System::String>&, const System::ArrayPtr<Annotations::AnnotationType>&)Imports the specified annotations into document from array of another PDF documents.
ImportAnnotations(const System::ArrayPtr<System::String>&)Imports annotations into document from array of another PDF documents.
ImportAnnotations(const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&, const System::ArrayPtr<Annotations::AnnotationType>&)Imports the specified annotations into document from array of another PDF document streams.
ImportAnnotations(const System::ArrayPtr<System::SharedPtr<System::IO::Stream>>&)Imports annotations into document from array of another PDF document streams.
ImportAnnotationsFromFdf(const System::String&)Imports all annotations from FDF file.
ImportAnnotationsFromXfdf(const System::String&)Imports all annotations from XFDF file.
ImportAnnotationsFromXfdf(const System::SharedPtr<System::IO::Stream>&)Imports all annotations from XFDF data stream.
ModifyAnnotations(int32_t, int32_t, const System::SharedPtr<Annotations::Annotation>&)Modifies the annotations of the specifed type on the specified page range. It supports to modify next annotation properties: Modified, Title, Contents, Color, Subject and Open.
ModifyAnnotationsAuthor(int32_t, int32_t, const System::String&, const System::String&)Modifies the author of annotations on the specified page range.
PdfAnnotationEditor()Initializes new PdfAnnotationEditor object.
PdfAnnotationEditor(const System::SharedPtr<Aspose::Pdf::Document>&)Initializes new PdfAnnotationEditor object on base of the document .
RedactArea(int32_t, System::SharedPtr<Rectangle>, System::Drawing::Color)Redacts area on the specified page. All contents is removed.

See Also