Unplanned
Last Updated: 27 Sep 2022 06:36 by Hartmut
Hartmut
Created on: 27 Sep 2022 06:36
Category: PDFViewer
Type: Feature Request
1
PdfViewer: Add support for Ink annotations

From the PDF Specification: "An ink annotation represents a freehand “scribble” composed of one or more disjoint paths. When opened, it displays a pop-up window containing the text of the associated note."

Sometimes the Ink annotations are imported as UnsupportedAnnotation and not displayed as expected. In such cases, the annotations could be removed from the RadFixedPage content in the following manner:

foreach (RadFixedPage page in document.Pages)
{
	List<Annotation> inkAnnotations = page.Annotations.Where(a => a.Type == AnnotationType.Ink).ToList();
	foreach (Annotation inkAnnotation in inkAnnotations)
	{
		page.Annotations.Remove(inkAnnotation);
	}
}

0 comments