ImageEn, unit iexRichEdit

TIETextAttributes.Offset

TIETextAttributes.Offset

Declaration

property Offset: Integer;

Description

Specify the vertical offset of the text in points (1/72 of an inch). Positive values raise the text, negative values lower it. This is useful for manual positioning of superscripts and subscripts.

Example

// Raise text by 0.1 inch
const Points_Per_Inch = 72;
IERichEdit1.SelAttributes.Offset := Round( 0.1 * Points_Per_Inch );