addStrikeOut

public final PdfStrikeOutAnnotation addStrikeOut(float x, float y, float width, float height, String author, String contents)

Adds a strikeout annotation to this page. The annotation is created with a default red color. Use the returned annotation's property to customize the color.

Return

The newly created .

Parameters

x

The x coordinate of the strikeout area in points.

y

The y coordinate of the strikeout area in points.

width

The width of the strikeout area in points.

height

The height of the strikeout area in points.

author

The author of the annotation.

contents

The text contents/comment for the annotation.

Throws

Thrown when no page is loaded.

Thrown when the operation fails.