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

DiagramPdfMarginSettingsBuilder

Methods

Bottom(System.Double)

Defines the bottom paper margin. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the bottom.

Example


             @(Html.Kendo().Diagram()
               .Name("diagram")
               .Pdf(pdf => pdf.Margin(m => m.Bottom(20)))
             )

Left(System.Double)

Defines the left paper margin. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the left.

Example


             @(Html.Kendo().Diagram()
               .Name("diagram")
               .Pdf(pdf => pdf.Margin(m => m.Left(20)))
             )

Right(System.Double)

Defines the right paper margin. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the right.

Example


             @(Html.Kendo().Diagram()
               .Name("diagram")
               .Pdf(pdf => pdf.Margin(m => m.Right(20)))
             )

Top(System.Double)

Defines the top paper margin. The numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the top.

Example


             @(Html.Kendo().Diagram()
               .Name("diagram")
               .Pdf(pdf => pdf.Margin(m => m.Top(20)))
             )

In this article
Not finding the help you need?