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
contentsstringThe contents of the annotation.
boundsPdfRectangleThe PdfRectangle structure that specifies the location and the size of the underlined area.
lineColorPdfColorColor of the annotation's line.
Returns
- PdfUnderlineAnnotation
The newly created PdfUnderlineAnnotation object.