Paddings Class
Contains padding settings.
Declaration
export class Paddings implements IPaddings
Implements
IPaddings
constructor(top, right, bottom, left)
Initializes a new instance of the Paddings
class with specified settings.
Declaration
constructor(
top: number,
right: number,
bottom: number,
left: number
)
Parameters
Name | Type | Description |
---|---|---|
top | number | 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
bottom: number
Property Value
Type | Description |
---|---|
number | The padding value in pixels. |
left Property
Specifies the padding for the left page edge.
Declaration
left: number
Property Value
Type | Description |
---|---|
number | The padding value in pixels. |
right Property
Specifies the padding for the right page edge.
Declaration
right: number
Property Value
Type | Description |
---|---|
number | The padding value in pixels. |
top Property
Specifies the padding for the top page edge.
Declaration
top: number
Property Value
Type | Description |
---|---|
number | The padding value in pixels. |