TopMargin

Applies to

RichTextEdit controls

Description

The TopMargin property specifies the size in inches of the top margin on the printed page.

Usage


In a painter

StepsTo set the top margin:

  1. Enter the desired size in inches in the Top Margin field of the Document tab page of the RichTextEdit control’s Property view.


In scripts

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

rte_1.TopMargin = 1