Click to See Complete Forum and Search --> : Justify Ruch Text Box


dewoul
February 1st, 2008, 03:31 AM
Hi,
how can i set tehe justify properties for a rich text box?

Than's

MMH
February 1st, 2008, 05:13 AM
Please explain in detail what exactly you want to do ?

riscutiavlad
February 1st, 2008, 05:26 AM
Use SelectionAlignment. If no text is slected, the text you will enter will be justified the way you set it up. If text is selected, the selection will be justified.

richTextBox1.SelectionAlignment = HorizontalAlignment.Center;