Table of Contents

Enum AnnotationDataFormat

Namespace
Syncfusion.Pdf.Parsing
Assembly
Syncfusion.Pdf.Portable.dll

Specifies the format of Export or Import annotation data.

public enum AnnotationDataFormat

Fields

Fdf = 0

Specifies Forms Data Format file format

Json = 2

Specifies JSON file format.

XFdf = 1

Specifies XFDF file format.

Examples

//Load an existing document
PdfLoadedDocument ldoc = new PdfLoadedDocument("Input.pdf");
// Export the annotation data as FDF file
ldoc.ExportAnnotations("Export.fdf", AnnotationDataFormat.Fdf, "Input.pdf");
// Close the document
ldoc.Close(true);
'Load an existing document
Dim ldoc As PdfLoadedDocument = New PdfLoadedDocument("Input.pdf")
' Export the annotation data as FDF file
ldoc.ExportAnnotations("Export.fdf", AnnotationDataFormat.Fdf, "Input.pdf")
' Close the document
ldoc.Close(true)

See Also