RichText HorizontalAlignment & LineSpacing !؟

Stimulsoft Reports.NET discussion
Post Reply
sal_64
Posts: 4
Joined: Wed Aug 10, 2011 1:11 am

RichText HorizontalAlignment & LineSpacing !؟

Post by sal_64 »

Hi
Is there a setting?
-----------------------------
Stimulsoft.Report.Components.StiRichText rt = new StiRichText();
rt = (Stimulsoft.Report.Components.StiRichText)repo.GetComponentByName("rt");
rt.Text = matn;
//
rt.HorizontalAlignment = Right;
rt.LineSpacing = 1.1;

-------------------------------
Why can not I rise؟؟؟؟؟
Please advise me
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText HorizontalAlignment & LineSpacing !؟

Post by HighAley »

Hello.

Please, send your sample project to the support@stimulsoft.com with a link on this topic.

Thank you.
sal_64
Posts: 4
Joined: Wed Aug 10, 2011 1:11 am

Re: RichText HorizontalAlignment & LineSpacing !؟

Post by sal_64 »

hi
ok
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText HorizontalAlignment & LineSpacing !؟

Post by HighAley »

Hello.

We'll answer on your email soon.

Thank you.
sal_64
Posts: 4
Joined: Wed Aug 10, 2011 1:11 am

Re: RichText HorizontalAlignment & LineSpacing !؟

Post by sal_64 »

hi
Thank you

--------------------------------------------------------------------------------------------------------
email :
Hello.

There is no HorizontalAlignment and LineSpacing properties of the RichTextBox component. There is a more complicated structure. You could read about it on MSDN site.
Other way is to use the text component with AllowHtmlTags preoprty set to True.

Thank you.
--
Best regards,
Aleksey Andreyanov
Stimulsoft Team
-----------------------------------------------------------------------------------------------------------

Image
Attachments
Reportmatn.mrt
(3.91 KiB) Downloaded 322 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText HorizontalAlignment & LineSpacing !؟

Post by HighAley »

Hello.

You should set the Word Wrap property to True.

Thank you.
sal_64
Posts: 4
Joined: Wed Aug 10, 2011 1:11 am

Re: RichText HorizontalAlignment & LineSpacing !؟

Post by sal_64 »

Hi
Thank you very much
But I have the problem in persian
Please Help
Image
Attachments
Reportmatn.mrt
(4.79 KiB) Downloaded 254 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText HorizontalAlignment & LineSpacing !؟

Post by HighAley »

Hello.

You should set the Right to Left property of the text component.
RTL2.png
RTL2.png (111.25 KiB) Viewed 1786 times
Look at the attached report template.
Reportmatn.mrt
(4.89 KiB) Downloaded 324 times
Thank you.
Post Reply