UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

15 lines (14 loc) 469 B
import { PDFName } from '../pdf-objects'; import PDFOperator from '../pdf-operators/PDFOperator'; /** * Draws the XObject with the given name in the current Page's Resource dictionary. */ declare class Do extends PDFOperator { static of: (name: string | PDFName) => Do; name: PDFName; constructor(name: string | PDFName); toString: () => string; bytesSize: () => number; copyBytesInto: (buffer: Uint8Array) => Uint8Array; } export default Do;