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

Defines the fluent API for configuring the PivotGridV2PdfMarginSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PivotGridV2PdfMarginSettingsBuilder

Inheritance: objectPivotGridV2PdfMarginSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public PivotGridV2PdfMarginSettingsBuilder(PivotGridV2PdfMarginSettings settings)
Parameters:settingsPivotGridV2PdfMarginSettings

The PivotGridV2PdfMarginSettings

Methods

Defines the bottom margin of the PDF page. The numbers are considered as "pt" units.

C#
public PivotGridV2PdfMarginSettingsBuilder Bottom(double value)
Parameters:valuedouble

The value that configures the bottom margin.

Returns:

PivotGridV2PdfMarginSettingsBuilder

Example:
C#
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Pdf(pdf => pdf.Margin(m => m.Bottom(2)))
)

Defines the left margin of the PDF page. The numbers are considered as "pt" units.

C#
public PivotGridV2PdfMarginSettingsBuilder Left(double value)
Parameters:valuedouble

The value that configures the left margin.

Returns:

PivotGridV2PdfMarginSettingsBuilder

Example:
C#
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Pdf(pdf => pdf.Margin(m => m.Left(2)))
)

Defines the right margin of the PDF page. The numbers are considered as "pt" units.

C#
public PivotGridV2PdfMarginSettingsBuilder Right(double value)
Parameters:valuedouble

The value that configures the right margin.

Returns:

PivotGridV2PdfMarginSettingsBuilder

Example:
C#
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Pdf(pdf => pdf.Margin(m => m.Right(2)))
)

Defines the top margin of the PDF page. The numbers are considered as "pt" units.

C#
public PivotGridV2PdfMarginSettingsBuilder Top(double value)
Parameters:valuedouble

The value that configures the top margin.

Returns:

PivotGridV2PdfMarginSettingsBuilder

Example:
C#
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Pdf(pdf => pdf.Margin(m => m.Top(2)))
)