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

Method setAppearanceState

src/document/forms/widget-annotation.ts:120–122  ·  view source on GitHub ↗

* Set the appearance state (/AS).

(state: string)

Source from the content-addressed store, hash-verified

118 * Set the appearance state (/AS).
119 */
120 setAppearanceState(state: string): void {
121 this.dict.set("AS", PdfName.of(state));
122 }
123
124 /**
125 * Set the normal appearance stream.

Callers 2

setValueMethod · 0.80
setValueMethod · 0.80

Calls 2

setMethod · 0.45
ofMethod · 0.45

Tested by

no test coverage detected