PdfAnnotationEditor Class
Represents a class for work with PDF document annotations (comments).
Inheritance Hierarchy

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.12
Syntax
public sealed class PdfAnnotationEditor : SaveableFacade

The PdfAnnotationEditor type exposes the following members.

Constructors
  NameDescription
Public methodPdfAnnotationEditor
Initializes new PdfAnnotationEditor object.
Public methodPdfAnnotationEditor(Document)
Initializes new PdfAnnotationEditor object on base of the document.
Properties
  NameDescription
Public propertyDocument
Gets the document facade is working on.
(Inherited from Facade.)
Methods
  NameDescription
Public methodBindPdf(Stream)
Initializes the facade.
(Inherited from Facade.)
Public methodBindPdf(String)
Initializes the facade.
(Inherited from Facade.)
Public methodBindPdf(Document)
Initializes the facade.
(Inherited from Facade.)
Public methodClose
Disposes Aspose.Pdf.Document bound with a facade.
(Inherited from Facade.)
Public methodCode exampleDeleteAnnotation
Deletes the annotation with specified annotation name.
Public methodCode exampleDeleteAnnotations
Deletes all annotations in the document.
Public methodCode exampleDeleteAnnotations(String)
Deletes all annotations of the specified type in the document.
Public methodDispose
Disposes the facade.
(Inherited from Facade.)
Public methodEquals (Inherited from Object.)
Public methodExportAnnotationsToXfdf
Exports
Public methodCode exampleExportAnnotationsXfdf(Stream, Int32, Int32, AnnotationType)
Exports the content of the specified annotations types into XFDF
Public methodCode exampleExportAnnotationsXfdf(Stream, Int32, Int32, String)
Exports the content of the specified annotation types into XFDF
Public methodCode exampleExtractAnnotations(Int32, Int32, AnnotationType)
Gets the list of annotations of the specified types.
Public methodCode exampleExtractAnnotations(Int32, Int32, String)
Gets the list of annotations of the specified types.
Public methodCode exampleFlatteningAnnotations
Flattens all annotations in the document.
Public methodCode exampleFlatteningAnnotations(Int32, Int32, AnnotationType)
Flattens the annotations of the specified types.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleImportAnnotationFromXfdf(Stream) Obsolete.
Imports all annotations from XFDF data stream.
Public methodCode exampleImportAnnotationFromXfdf(String) Obsolete.
Imports all annotations from XFDF file.
Public methodCode exampleImportAnnotationFromXfdf(Stream, AnnotationType)
Imports the specified annotations from XFDF data stream.
Public methodCode exampleImportAnnotationFromXfdf(String, AnnotationType)
Imports the specified annotations from XFDF file.
Public methodCode exampleImportAnnotations(Stream)
Imports annotations into document from array of another PDF document streams.
Public methodCode exampleImportAnnotations(String)
Imports annotations into document from array of another PDF documents.
Public methodCode exampleImportAnnotations(Stream, AnnotationType)
Imports the specified annotations into document from array of another PDF document streams.
Public methodCode exampleImportAnnotations(String, AnnotationType)
Imports the specified annotations into document from array of another PDF documents.
Public methodCode exampleImportAnnotationsFromXfdf(Stream)
Imports all annotations from XFDF data stream.
Public methodCode exampleImportAnnotationsFromXfdf(String)
Imports all annotations from XFDF file.
Public methodCode exampleModifyAnnotations(Int32, Int32, 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.
Public methodCode exampleModifyAnnotations(Int32, Int32, Enum, Annotation) Obsolete.
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.
Public methodCode exampleModifyAnnotationsAuthor
Modifies the author of annotations on the specified page range.
Public methodRedactArea
Redacts area on the specified page. All contents is removed.
Public methodSave(Stream)
Saves the PDF document to the specified stream.
(Inherited from SaveableFacade.)
Public methodSave(String)
Saves the PDF document to the specified file.
(Inherited from SaveableFacade.)
Public methodToString (Inherited from Object.)
See Also