@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
50 lines (49 loc) • 1.56 kB
TypeScript
import { Content } from "./Content";
/**
* This class provides information about a Page of the specified PDF file, such as page number, height, width etc.
*/
export declare class Page {
private readonly _pageNumber?;
private readonly _isScanned?;
private readonly _width?;
private readonly _hasStructure?;
private readonly _content?;
private readonly _height?;
/**
* Returns a boolean specifying whether the page is scanned.
*
* @returns `true` if the page is scanned. False otherwise.
*/
get isScanned(): boolean | undefined;
/**
* Returns a boolean specifying whether the page has structure/tagging.
*
* @returns `true` if the page has structure/tagging. False otherwise.
*/
get hasStructure(): boolean | undefined;
/**
* Returns a {@link Content} instance that specifies content level properties of the PDF such as number of
* images, textual content etc.
*
* @returns A {@link Content} instance.
*/
get content(): Content | undefined;
/**
* Returns the height of the page.
*
* @returns A Double denoting the height of the page.
*/
get height(): number | undefined;
/**
* Returns the page number of this {@link Page}, starting from 0.
*
* @returns An Integer denoting the page number.
*/
get pageNumber(): number | undefined;
/**
* Returns the width of the page.
*
* @returns A Double denoting the width of the page.
*/
get width(): number | undefined;
}