Method AddStrikeoutAnnotation
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddStrikeoutAnnotation(string?, PdfRectangle, PdfColor?)
Adds the new strikeout annotation to the PdfPage.
public PdfStrikeoutAnnotation AddStrikeoutAnnotation(string? contents, PdfRectangle bounds, PdfColor? lineColor)
Parameters
contentsstringThe contents of the annotation.
boundsPdfRectangleThe PdfRectangle structure that specifies the location and the size of the strikethrough area.
lineColorPdfColorColor of the annotation's line.
Returns
- PdfStrikeoutAnnotation
The newly created PdfStrikeoutAnnotation object.