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

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


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


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


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


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

In this article
Not finding the help you need?