iText 8.0.2 API
iText.Kernel.Utils.Annotationsflattening.DefaultAnnotationFlattener Class Reference

This class is used to flatten annotations. More...

Inheritance diagram for iText.Kernel.Utils.Annotationsflattening.DefaultAnnotationFlattener:
iText.Kernel.Utils.Annotationsflattening.IAnnotationFlattener iText.Kernel.Utils.Annotationsflattening.AbstractTextMarkupAnnotationFlattener iText.Kernel.Utils.Annotationsflattening.HighLightTextMarkupAnnotationFlattener iText.Kernel.Utils.Annotationsflattening.SquigglyTextMarkupAnnotationFlattener iText.Kernel.Utils.Annotationsflattening.StrikeOutTextMarkupAnnotationFlattener iText.Kernel.Utils.Annotationsflattening.UnderlineTextMarkupAnnotationFlattener

Public Member Functions

  DefaultAnnotationFlattener ()
  Creates a new DefaultAnnotationFlattener instance. More...
 
virtual bool  Flatten (PdfAnnotation annotation, PdfPage page)
  Flatten annotation. More...
 

Detailed Description

This class is used to flatten annotations.

This class is used to flatten annotations. The default implementation first tries to draw the normal appearance stream of the annotation. If the normal appearance stream is not present, then it tries to draw the annotation using the fallback implementation.

Constructor & Destructor Documentation

◆ DefaultAnnotationFlattener()

iText.Kernel.Utils.Annotationsflattening.DefaultAnnotationFlattener.DefaultAnnotationFlattener ( )
inline

Creates a new DefaultAnnotationFlattener instance.

Member Function Documentation

◆ Flatten()

virtual bool iText.Kernel.Utils.Annotationsflattening.DefaultAnnotationFlattener.Flatten ( PdfAnnotation  annotation,
PdfPage  page 
)
inlinevirtual