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
BindPdf(System::String) overrideInitializes the facade.
BindPdf(System::SharedPtr<System::IO::Stream>) overrideInitializes the facade.
BindPdf(System::SharedPtr<Aspose::Pdf::Document>) overrideInitializes the facade.
virtual BindPdf(System::SharedPtr<Document>)Binds PDF document for editing.
Close() overrideDisposes Aspose.Pdf.Document bound with a facade.
DeleteAnnotation(System::String)Deletes the annotation with specified annotation name.
DeleteAnnotations()Deletes all annotations in the document.
DeleteAnnotations(System::String)Deletes all annotations of the specified type in the document.
Dispose() overrideDisposes the facade.
ExportAnnotationsToXfdf(System::SharedPtr<System::IO::Stream>)Exports annotations to stream.
ExportAnnotationsXfdf(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::ArrayPtr<System::String>)Exports the content of the specified annotation types into XFDF.
ExportAnnotationsXfdf(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::ArrayPtr<Aspose::Pdf::Annotations::AnnotationType>)Exports the content of the specified annotations types into XFDF.
ExtractAnnotations(int32_t, int32_t, System::ArrayPtr<System::String>)Gets the list of annotations of the specified types.
ExtractAnnotations(int32_t, int32_t, System::ArrayPtr<Aspose::Pdf::Annotations::AnnotationType>)Gets the list of annotations of the specified types.
FlatteningAnnotations()Flattens all annotations in the document.
FlatteningAnnotations(System::SharedPtr<Forms::Form::FlattenSettings>)Flattens all annotations in the document.
FlatteningAnnotations(int32_t, int32_t, System::ArrayPtr<Aspose::Pdf::Annotations::AnnotationType>)Flattens the annotations of the specified types.
get_Document() constGets the document facade is working on.
ImportAnnotationFromXfdf(System::String)Imports all annotations from XFDF file.
ImportAnnotationFromXfdf(System::String, System::ArrayPtr<Aspose::Pdf::Annotations::AnnotationType>)Imports the specified annotations from XFDF file.
ImportAnnotationFromXfdf(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<Aspose::Pdf::Annotations::AnnotationType>)Imports the specified annotations from XFDF data stream.
ImportAnnotationFromXfdf(System::SharedPtr<System::IO::Stream>)Imports all annotations from XFDF data stream.
ImportAnnotations(System::ArrayPtr<System::String>, System::ArrayPtr<Aspose::Pdf::Annotations::AnnotationType>)Imports the specified annotations into document from array of another PDF documents.
ImportAnnotations(System::ArrayPtr<System::String>)Imports annotations into document from array of another PDF documents.
ImportAnnotations(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, System::ArrayPtr<Aspose::Pdf::Annotations::AnnotationType>)Imports the specified annotations into document from array of another PDF document streams.
ImportAnnotations(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>)Imports annotations into document from array of another PDF document streams.
ImportAnnotationsFromFdf(System::String)Imports all annotations from FDF file.
ImportAnnotationsFromXfdf(System::String)Imports all annotations from XFDF file.
ImportAnnotationsFromXfdf(System::SharedPtr<System::IO::Stream>)Imports all annotations from XFDF data stream.
ModifyAnnotations(int32_t, int32_t, System::SharedPtr<Aspose::Pdf::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, System::String, System::String)Modifies the author of annotations on the specified page range.
PdfAnnotationEditor()Initializes new PdfAnnotationEditor object.
PdfAnnotationEditor(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.
Save(System::String) overrideSaves the PDF document to the specified file.
Save(System::SharedPtr<System::IO::Stream>) overrideSaves the PDF document to the specified stream.

See Also