Method AddUnderlineAnnotation
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddUnderlineAnnotation(string, PdfRectangle, PdfColor?)
Adds the new underline annotation to the PdfPage.
public PdfUnderlineAnnotation AddUnderlineAnnotation(string contents, PdfRectangle bounds, PdfColor? lineColor)
Parameters
contents
stringThe contents of the annotation.
bounds
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the underlined area.
lineColor
PdfColorColor of the annotation's line.
Returns
- PdfUnderlineAnnotation
The newly created PdfUnderlineAnnotation object.