|
-
December 10th, 2006, 01:55 PM
#1
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";
I want to see in the Report
One
Two
Three
But see
OneTwoThree
Do you know how to fix this problem?
Thanks,
Alex.
-
December 11th, 2006, 05:25 AM
#2
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().
-
December 12th, 2006, 09:51 AM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|