MultiLines in Text Object question.
Hi
Problem:
I hav etext object on the report
and set to it the text from C# program
TextObject objTxt = (TextObject)rpt.Section2.ReportObjects["txtSome"];
objTxt = "One\r\nTwo\r\nThree";
:rolleyes: I want to see in the Report
One
Two
Three
:( But see
OneTwoThree
Do you know how to fix this problem?
Thanks,
Alex.
Re: MultiLines in Text Object question.
Hi,
I believe its better to set the text for a textobject with this method:
TextObject.SetText(text);
And try the method TextObject.SetLineSpacing().
Re: MultiLines in Text Object question.
Sorry. Small mistake. There was
objTxt .Text = "One\r\nTwo\r\nThree";
and I have not method SetText(...) in my
vesion of CR interface
Thanks.