Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147006 | Aug 28,2019 10:54 AM UTC | Sep 2,2019 10:08 AM UTC | WPF | 3 |
![]() |
Tags: PDF |
//Loaded PDF document to export
PdfLoadedDocument document = new PdfLoadedDocument(@"Input.pdf");
int i = 0;
foreach (PdfLoadedPage loadedPage in document.Pages)
{
foreach (PdfLoadedAnnotation item in loadedPage.Annotations)
{
//Collection to export selected annotations
PdfExportAnnotationCollection collection = new PdfExportAnnotationCollection();
//Add selected annotations into collection
collection.Add(item);
//Export selected annotations into XFDF format
document.ExportAnnotations(@"Annotation" + i + ".fdf", AnnotationDataFormat.Fdf, collection);
i++;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.