Back to Devexpress

Paddings Class

aspnetcore-js-devexpress-dot-richedit-0a59e75d.md

latest1.5 KB
Original Source

Paddings Class

Contains padding settings.

Declaration

ts
export class Paddings implements IPaddings

Implements

IPaddings

constructor(top, right, bottom, left)

Initializes a new instance of the Paddings class with specified settings.

Declaration

ts
constructor(
    top: number,
    right: number,
    bottom: number,
    left: number
)

Parameters

NameTypeDescription
topnumber

The padding for the top page edge.

| | right | number |

The padding for the right page edge.

| | bottom | number |

The padding for the bottom page edge.

| | left | number |

The padding for the left page edge.

|

Properties

bottom Property

Specifies the padding for the bottom page edge.

Declaration

ts
bottom: number

Property Value

TypeDescription
number

The padding value in pixels.

|

left Property

Specifies the padding for the left page edge.

Declaration

ts
left: number

Property Value

TypeDescription
number

The padding value in pixels.

|

right Property

Specifies the padding for the right page edge.

Declaration

ts
right: number

Property Value

TypeDescription
number

The padding value in pixels.

|

top Property

Specifies the padding for the top page edge.

Declaration

ts
top: number

Property Value

TypeDescription
number

The padding value in pixels.

|