Click or drag to resize

PdfAnnotationDataExporterUnknownAnnotationHandler Property

Sets or gets a handler for unknown annotation types.

Namespace:  Atalasoft.Annotate.Exporters
Assembly:  Atalasoft.dotImage.PdfDoc.Bridge (in Atalasoft.dotImage.PdfDoc.Bridge.dll) Version: (.NET 4.5.2, x86)
public PdfUnknownAnnotationHandler UnknownAnnotationHandler { get; set; }

Property Value

Type: PdfUnknownAnnotationHandler

The PdfAnnotationDataExporter knows how to handle a number of standard annotation types. When an unknown annotation type is found the PdfUnknownAnnotationHandler is invoked to select the mechanism for best exporting this type of annotation. This delegate should return a new PdfAnnotationExportPolicy object that describes how the object should be exported. If the UnknownAnnotationHandler is set to null, the annotation will be skipped.

The default value for PdfUnknownAnnotationHandler is an instance of PdfAnnotationExportPolicy made with its default constructor.

When selecting a policy, an annotation can be skipped, aliased to another annotation, or embedded with a facade.

See Also