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

Razor
 
            @(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

Razor
 
            @(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

Razor
 
            @(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

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