@syncfusion/ej2-pdfviewer
Version:
Essential JS 2 PDF viewer Component
25 lines (24 loc) • 753 B
TypeScript
import { PdfViewer, PdfViewerBase } from '../index';
/**
* `DirectPrint` module is used to handle the direct print functionality of PDF Viewer.
* @hidden
*/
export declare class DefaultPrint {
private pdfViewer;
private pdfViewerBase;
/**
* @param {PdfViewer} pdfViewer - The PDF Viewer instance.
* @param {PdfViewerBase} pdfViewerBase - The PDF Viewer Base instance.
* @private
*/
constructor(pdfViewer: PdfViewer, pdfViewerBase: PdfViewerBase);
/**
* Creates a request for direct print functionality.
* @returns {void}
* @private
*/
createRequestForDirectPrint(): void;
private createPdfBlobAndUrl;
private printPdfDirectlySameWindow;
private printPdfDirectlyNewWindow;
}