GanttPdfMarginSettingsBuilder

Methods

Bottom(System.Double)

The bottom margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the bottom.

Example

Razor
 
            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Pdf(p => p.Margin(m => m.Bottom(12)))
            )
             

Left(System.Double)

The left margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the left.

Example

Razor
 
            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Pdf(p => p.Margin(m => m.Left(12)))
            )
             

Right(System.Double)

The right margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the right.

Example

Razor
 
            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Pdf(p => p.Margin(m => m.Right(12)))
            )
             

Top(System.Double)

The top margin. Numbers are considered as "pt" units.

Parameters

value - System.Double

The value that configures the top.

Example

Razor
 
            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                .Pdf(p => p.Margin(m => m.Top(12)))
            )