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

BarcodeSpacingBuilder

Methods

Top(System.Int32)

Defines the top padding of the Barcode.

Parameters

top - System.Int32

The value that configures the top padding.

Example


                @(Html.Kendo().Barcode()
                   .Name("barcode")
                   .Value("1234567")
                   .Padding(padding => padding.Top(50))
                )

Bottom(System.Int32)

Defines the bottom padding of the Barcode.

Parameters

bottom - System.Int32

The value that configures the bottom padding.

Example


                @(Html.Kendo().Barcode()
                   .Name("barcode")
                   .Value("1234567")
                   .Padding(padding => padding.Bottom(50))
                )

Left(System.Int32)

Defines the left padding of the Barcode.

Parameters

left - System.Int32

The value that configures the left padding.

Example


                @(Html.Kendo().Barcode()
                   .Name("barcode")
                   .Value("1234567")
                   .Padding(padding => padding.Left(50))
                )

Right(System.Int32)

Defines the right padding of the Barcode.

Parameters

right - System.Int32

The value that configures the right padding.

Example


                @(Html.Kendo().Barcode()
                   .Name("barcode")
                   .Value("1234567")
                   .Padding(padding => padding.Right(50))
                )

In this article
Not finding the help you need?