PdfPage.AddStrikeoutAnnotation Method

Adds the new strikeout annotation to the PdfPage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfStrikeoutAnnotation AddStrikeoutAnnotation(
	string contents,
	PdfRectangle bounds,
	PdfColor lineColor
)
VB
Public Function AddStrikeoutAnnotation ( 
	contents As String,
	bounds As PdfRectangle,
	lineColor As PdfColor
) As PdfStrikeoutAnnotation

Parameters

contents
Type: System.String
The contents of the annotation.
bounds
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and the size of the strikethrough area.
lineColor
Type: BitMiracle.Docotic.Pdf.PdfColor
Color of the annotation's line.

Return Value

Type: PdfStrikeoutAnnotation
The newly created PdfStrikeoutAnnotation object.

See Also