UNPKG

@progress/kendo-angular-pdf-export

Version:

Kendo UI for Angular PDF Export Component

54 lines (53 loc) 2.27 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { pdf } from '@progress/kendo-drawing'; import * as i0 from "@angular/core"; /** * Represents the Kendo UI PDFMargin component for Angular. * * @example * ```html * <kendo-pdf-export paperSize="A4"> * <kendo-pdf-export-margin top="2cm" left="1cm" right="1cm" bottom="2cm"> * </kendo-pdf-export-margin> * </kendo-pdf-export> * ``` */ export declare class PDFExportMarginComponent implements pdf.PageMargin { /** * Sets the left margin of the PDF page. Accepts a `number` or `string` value. * * The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"`. Numbers use points (`"pt"`). * @default "pt" */ left?: number | string; /** * Sets the top margin of the PDF page. Accepts a `number` or `string` value. * * The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"`. Numbers use points (`"pt"`). * @default "pt" */ top?: number | string; /** * Sets the right margin of the PDF page. Accepts a `number` or `string` value. * * The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"`. Numbers use points (`"pt"`). * @default "pt" */ right?: number | string; /** * Sets the bottom margin of the PDF page. Accepts a `number` or `string` value. * * The supported units are `"mm"`, `"cm"`, `"in"`, and `"pt"`. Numbers use points (`"pt"`). * @default "pt" */ bottom?: number | string; /** * @hidden */ get options(): any; static ɵfac: i0.ɵɵFactoryDeclaration<PDFExportMarginComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PDFExportMarginComponent, "kendo-pdf-export-margin", never, { "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; }, {}, never, never, true, never>; }