UNPKG

@syncfusion/ej2-circulargauge

Version:
37 lines (36 loc) 1.29 kB
import { CircularGauge } from '../../index'; import { ExportType } from '../utils/enum'; import { PdfPageOrientation } from '@syncfusion/ej2-pdf-export'; /** * Represent the Pdf export for gauge * * @hidden */ export declare class PdfExport { /** * Constructor for gauge * * @param {CircularGauge} control - Specfies the instance of the gauge. */ constructor(control: CircularGauge); /** * To export the file as image/svg format * * @param {CircularGauge} gauge - Specifies the instance of Circular Gauge. * @param {ExportType} type - Specifies the type of the document. * @param {string} fileName Specfies the file name of the document. * @param {PdfPageOrientation} orientation - Specfies the orientation of the PDF document to export the gauge. * @param {boolean} allowDownload - Specfies whether to download the document or not. * @returns {Promise<string>} - Returns the promise string * @private */ export(gauge: CircularGauge, type: ExportType, fileName: string, orientation?: PdfPageOrientation, allowDownload?: boolean): Promise<string>; protected getModuleName(): string; /** * To destroy the PdfExport. * * @returns {void} * @private */ destroy(): void; }