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

Method addUnderlineAnnotation

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

* Add an underline annotation.

(options: TextMarkupAnnotationOptions)

Source from the content-addressed store, hash-verified

1981 * Add an underline annotation.
1982 */
1983 addUnderlineAnnotation(options: TextMarkupAnnotationOptions): PDFUnderlineAnnotation {
1984 // oxlint-disable-next-line typescript/no-unsafe-type-assertion
1985 return this.addTextMarkupAnnotation("Underline", options) as PDFUnderlineAnnotation;
1986 }
1987
1988 /**
1989 * Add a strikeout annotation.

Callers 3

mainFunction · 0.80

Calls 1

Tested by

no test coverage detected