MCPcopy Create free account
hub / github.com/LibPDF-js/core / addStrikeOutAnnotation

Method addStrikeOutAnnotation

src/api/pdf-page.ts:1991–1994  ·  view source on GitHub ↗

* Add a strikeout annotation.

(options: TextMarkupAnnotationOptions)

Source from the content-addressed store, hash-verified

1989 * Add a strikeout annotation.
1990 */
1991 addStrikeOutAnnotation(options: TextMarkupAnnotationOptions): PDFStrikeOutAnnotation {
1992 // oxlint-disable-next-line typescript/no-unsafe-type-assertion
1993 return this.addTextMarkupAnnotation("StrikeOut", options) as PDFStrikeOutAnnotation;
1994 }
1995
1996 /**
1997 * Add a squiggly underline annotation.

Callers 2

Calls 1

Tested by

no test coverage detected