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

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

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

Public Member Functions

override bool  Flatten (PdfAnnotation annotation, PdfPage page)
  Flatten annotation. More...
 
- Public Member Functions inherited from iText.Kernel.Utils.Annotationsflattening.DefaultAnnotationFlattener
  DefaultAnnotationFlattener ()
  Creates a new DefaultAnnotationFlattener instance. More...
 

Static Public Member Functions

static float[]  GetQuadPointsAsFloatArray (PdfAnnotation annotation)
  Gets the quadpoints as a float array. More...
 

Detailed Description

This class is used to flatten text markup annotations.

This class is used to flatten text markup annotations.

Text markup annotations are: iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation.MarkupHighlight , iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation.MarkupUnderline , iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation.MarkupSquiggly , iText.Kernel.Pdf.Annot.PdfTextMarkupAnnotation.MarkupStrikeout.

Member Function Documentation

◆ Flatten()

override bool iText.Kernel.Utils.Annotationsflattening.AbstractTextMarkupAnnotationFlattener.Flatten ( PdfAnnotation  annotation,
PdfPage  page 
)
inlinevirtual

◆ GetQuadPointsAsFloatArray()

static float [] iText.Kernel.Utils.Annotationsflattening.AbstractTextMarkupAnnotationFlattener.GetQuadPointsAsFloatArray ( PdfAnnotation  annotation )
inlinestatic

Gets the quadpoints as a float array.

Gets the quadpoints as a float array. if the annotation has no quadpoints, returns the annotation rectangle converted to the same notation as the quadpoints.

Parameters
annotation the annotation
Returns
the quadpoints as float array