Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Page

class Page extends Userdata<"any_page"> {
createLink(bbox: Rect, uri: string): Link;
deleteLink(link: Link): void;
getBounds(box?: PageBox): Rect;
getLabel(): string;
getLinks(): Link[];
isPDF(): boolean;
run(device: Device, matrix: Matrix): void;
runPageAnnots(device: Device, matrix: Matrix): void;
runPageContents(device: Device, matrix: Matrix): void;
runPageWidgets(device: Device, matrix: Matrix): void;
search(needle: string, max_hits?: number): Quad[][];
toDisplayList(showExtras?: boolean): DisplayList;
toPixmap(
matrix: Matrix,
colorspace: ColorSpace,
alpha?: boolean,
showExtras?: boolean,
): Pixmap;
toStructuredText(options?: string): StructuredText;
 
static readonly _drop: (p: Pointer<"any_page">) => void;
static readonly BOXES: PageBox[];
}

§Extends

§
Userdata<"any_page">
[src]

§Methods

§
getBounds(box?: PageBox): Rect
[src]
§
getLabel(): string
[src]
§
isPDF(): boolean
[src]
§
run(device: Device, matrix: Matrix): void
[src]
§
runPageAnnots(device: Device, matrix: Matrix): void
[src]
§
runPageContents(device: Device, matrix: Matrix): void
[src]
§
runPageWidgets(device: Device, matrix: Matrix): void
[src]
§
toDisplayList(showExtras?: boolean): DisplayList
[src]
§
toPixmap(matrix: Matrix, colorspace: ColorSpace, alpha?: boolean, showExtras?: boolean): Pixmap
[src]
§
toStructuredText(options?: string): StructuredText
[src]

§Static Properties

§
_drop: (p: Pointer<"any_page">) => void
[src]
§
BOXES: PageBox[]
[src]