Hi
I want to set the alignment of text individually. I mean, when a user selects a combobox item, the text he is going to type should center align and must have 150 indent from left and right. I able to achieve center alignment but could not able to figure out a way to indent.
For center alignment, I am using,
richTextBox.Selection.ApplyPropertyValue(Paragraph.TextAlignmentProperty, TextAlignment.Center);
Now I want to set the indent. I am not sure but below code must have a solution which I cant able to figure out;
richTextBox.Selection.ApplyPropertyValue(Paragraph.TextIndentProperty, xxxxxxxxxxxxx);
Hope you understand my requirement.