Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Remove justified style from center alligned text

$
0
0

Hi,

I have text in a rich textbox with the text center aligned. My text in the richtextbox has labels and properties, similar to the following

Label: [!Bound_Value] Label2: [!Bound_Value2] Label3: [!Bound_Value]

Between the label and the bound value there should be 2 spaces. Between the bound value and the next label, I’m supposed to put ten spaces.

However there seems to be some text justificaiton that moves both the label and the bound value alignment.
Do you have any tips /reccomendations/ ideas on how to remove the justifications?

If not, do you have any reccomendations on how I might achieve an appearance of 2/10 spaces?

So far I’ve tried to remove the justificaiton by setting a selectionAllignment in the script

	RichTextBox1.SelectionStart = 0;
	RichTextBox1.SelectionLength = RichTextBox1.Text.Length;
	RichTextBox1.SelectionAlignment = TextAlignment.Center;

I am using sectionreports.

Thanks,
Sam


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>