New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PivotGridV2PdfMarginSettingsBuilder

Methods

Bottom(System.Double)

Defines the bottom margin of the PDF page. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the bottom margin.

Example


            @(Html.Kendo().PivotGridV2()
                .Name("pivotgrid")
                .Pdf(pdf => pdf.Margin(m => m.Bottom(2)))
            )

Left(System.Double)

Defines the left margin of the PDF page. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the left margin.

Example


            @(Html.Kendo().PivotGridV2()
                .Name("pivotgrid")
                .Pdf(pdf => pdf.Margin(m => m.Left(2)))
            )

Right(System.Double)

Defines the right margin of the PDF page. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the right margin.

Example


            @(Html.Kendo().PivotGridV2()
                .Name("pivotgrid")
                .Pdf(pdf => pdf.Margin(m => m.Right(2)))
            )

Top(System.Double)

Defines the top margin of the PDF page. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the top margin.

Example


            @(Html.Kendo().PivotGridV2()
                .Name("pivotgrid")
                .Pdf(pdf => pdf.Margin(m => m.Top(2)))
            )

In this article
Not finding the help you need?