FormattedTextArea

FormattedTextArea

Forum member · Aug 6, 2009
Hi, Iam trying to generate a Pdf document using FormattedTextArea sample. It just shows the text provided in Code file as it is.

Re: FormattedTextArea

Support · Aug 6, 2009
Hello, We see that in the C# example we are using wrong tags. We are using the "&lt ;" and "&gt ;" etc tags instead of the "<" and ">" symbols. This is causing the text to come without formatting. You can try using the normal HTML tags and it will work fine. You can refer to the supported HTML tags on our help documentation. You can also refer to the downloaded examples. Thanks, ceTe Software Support Team.

Re: FormattedTextArea

Forum member · Aug 13, 2009
hi there and thanks I am still struggling i have Dim MyFormattedTextArea As FormattedTextArea = New FormattedTextArea("<b>" + Data.GetString(1) + "</b></br>" + Data.GetString(2), 0, 0, 125, 500, FontFamily.Helvetica, 9, False) MyRow.Cells.Add(MyFormattedTextArea) my problem is that i need this to grow with the cell it is in rather than be fixed height - how can i do this?

Re: FormattedTextArea

Support · Aug 13, 2009
Hello, You can change the height of the FormattedTextArea at any time using he Height property. You can get the required height for the text you have added by using the GetRequiredHeight method of the formatted text area. You can create the formatted text area with a "0" height and set its height to the required height. It will expand according to the text it has and the cell also will expand according to the height of the area. Thanks, ceTe Software Support Team.