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

Method setOpen

src/annotations/text.ts:106–109  ·  view source on GitHub ↗

* Set whether the popup is initially open.

(open: boolean)

Source from the content-addressed store, hash-verified

104 * Set whether the popup is initially open.
105 */
106 setOpen(open: boolean): void {
107 this.dict.set("Open", PdfBool.of(open));
108 this.markModified();
109 }
110
111 /**
112 * Icon name to display.

Callers

nothing calls this directly

Calls 3

markModifiedMethod · 0.80
setMethod · 0.45
ofMethod · 0.45

Tested by

no test coverage detected