EditorPdfMarginSettingsBuilder

Methods

Bottom(System.Double)

Defines the bottom margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the bottom margin.

Example

Razor
 
             @( Html.Kendo().Editor()
                .Name("Editor")
                .Pdf(pdf => pdf.Margin(20,20,20,20))
            )
             

Left(System.Double)

Defines the left margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the left margin.

Example

Razor
 
             @( Html.Kendo().Editor()
                .Name("Editor")
                .Pdf(pdf => pdf.Margin(20,20,20,20))
            )
             

Right(System.Double)

Defines the right margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the right margin.

Example

Razor
 
             @( Html.Kendo().Editor()
                .Name("Editor")
                .Pdf(pdf => pdf.Margin(20,20,20,20))
            )
             

Top(System.Double)

Defines the top margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the top margin.

Example

Razor
 
             @( Html.Kendo().Editor()
                .Name("Editor")
                .Pdf(pdf => pdf.Margin(20,20,20,20))
            )