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

Method setModificationDate

src/annotations/base.ts:180–183  ·  view source on GitHub ↗

* Set the modification date (PDF date format).

(date: string)

Source from the content-addressed store, hash-verified

178 * Set the modification date (PDF date format).
179 */
180 setModificationDate(date: string): void {
181 this.dict.set("M", PdfString.fromString(date));
182 this.markModified();
183 }
184
185 /**
186 * Annotation flags.

Callers

nothing calls this directly

Calls 3

markModifiedMethod · 0.95
setMethod · 0.45
fromStringMethod · 0.45

Tested by

no test coverage detected