New to Kendo UI for AngularStart a free 30-day trial

PDFMarginComponent

Represents the Kendo UI PDFMargin component for Angular. Use this component to set the PDF page margins. Supported units are:

  • "mm"
  • "cm"
  • "in"
  • "pt" (default)

When you provide only a number, the units default to points (pt).

html
<kendo-grid>
  <kendo-grid-pdf [allPages]="true" [delay]="100">
    <kendo-grid-pdf-margin top="1cm" bottom="1cm" left="1cm" right="1cm"></kendo-grid-pdf-margin>
  </kendo-grid-pdf>
</kendo-grid>

Selector

kendo-grid-pdf-margin

Inputs

NameTypeDefaultDescription

bottom?

string | number

"pt"

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").

left?

string | number

"pt"

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").

string | number

"pt"

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").

top?

string | number

"pt"

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").

In this article
SelectorInputs
Not finding the help you need?
Contact Support