Applies to

RichTextEdit controls


The LeftMargin property specifies the size in inches of the left margin on the printed page.


In a painter

To set the left margin:

  • Enter the desired size in inches in the Left Margin field of the Document tab page of the RichTextEdit control's property page.

In scripts

The LeftMargin property takes a long value. The following line sets the left margin of a RichTextEdit to 1 inch:

rte_1.LeftMargin = 1