Get alignment in the cursor position.
Posted: Tue Mar 05, 2024 8:09 am
Hello
How do I determine the text alignment used on the selected line?
How do I determine the text alignment used on the selected line?
Support forums for TRichView, ScaleRichView, Report Workshop and RVMedia components
https://writeally.com/forums/
Code: Select all
var
rve: TCustomRichViewEdit;
rve := RichViewEdit1.TopLevelEditor;
Alignment := rve.Style.ParaStyles[rve.GetItemPara(rve.CurItemNo)].Alignment;