pdf-lib
Version:
Create and modify PDF files with JavaScript
42 lines • 1.49 kB
TypeScript
import PDFObject from "./PDFObject";
declare class PDFName extends PDFObject {
static of: (name: string) => PDFName;
static readonly Length: PDFName;
static readonly FlateDecode: PDFName;
static readonly Resources: PDFName;
static readonly Font: PDFName;
static readonly XObject: PDFName;
static readonly ExtGState: PDFName;
static readonly Contents: PDFName;
static readonly Type: PDFName;
static readonly Parent: PDFName;
static readonly MediaBox: PDFName;
static readonly Page: PDFName;
static readonly Annots: PDFName;
static readonly TrimBox: PDFName;
static readonly ArtBox: PDFName;
static readonly BleedBox: PDFName;
static readonly CropBox: PDFName;
static readonly Rotate: PDFName;
static readonly Title: PDFName;
static readonly Author: PDFName;
static readonly Subject: PDFName;
static readonly Creator: PDFName;
static readonly Keywords: PDFName;
static readonly Producer: PDFName;
static readonly CreationDate: PDFName;
static readonly ModDate: PDFName;
private readonly encodedName;
private constructor();
asBytes(): Uint8Array;
decodeText(): string;
asString(): string;
/** @deprecated in favor of [[PDFName.asString]] */
value(): string;
clone(): PDFName;
toString(): string;
sizeInBytes(): number;
copyBytesInto(buffer: Uint8Array, offset: number): number;
}
export default PDFName;
//# sourceMappingURL=PDFName.d.ts.map