Back to Devexpress

Margins Class

aspnetcore-js-devexpress-dot-richedit-827cc746.md

latest1.2 KB
Original Source

Margins Class

Contains margin settings.

Declaration

ts
export class Margins

Remarks

javascript
var marginSize = richEdit.unitConverter.centimetersToTwips(1);
var margins = new DevExpress.RichEdit.Margins(
    marginSize, marginSize, marginSize, marginSize);
richEdit.document.sections.getByIndex(0).margins = margins;

Properties

bottom Property

The margin value for the bottom edge.

Declaration

ts
bottom: number

Property Value

TypeDescription
number

The margin value, in twips.

|

left Property

The margin value for the left edge.

Declaration

ts
left: number

Property Value

TypeDescription
number

The margin value, in twips.

|

right Property

The margin value for the right edge.

Declaration

ts
right: number

Property Value

TypeDescription
number

The margin value, in twips.

|

top Property

The margin value for the top edge.

Declaration

ts
top: number

Property Value

TypeDescription
number

The margin value, in twips.

|