Is there a way to make a FormattedTextArea to be display in coloumns?
Coloumn
Re: Coloumn
Support · Jun 12, 2006Hello,
Yes, you can display the FormattedTextArea (or any other page element) inside the cell of a column without any problem. You can use the overloaded Add method of the CellList class which takes the page element as one of the parameters.
For more details, please refer to the Adding Page Elements to Cell
topic in the Help Documentation.
Thanks,
ceTe Software Support Team
Re: Coloumn
Forum member · Jun 13, 2006I don't quite understand your ex.
i got a lage html file, i would like to display that in columns,
like in news papers, column heigth could be 4 cm., when the text reaches the buttom of coloumn 1, it cont. on coloumn 2
Re: Coloumn
Forum member · Jun 13, 2006"this is my demo, here i got some text"
this is | got some
my demo, | text
here i |
Re: Coloumn
Support · Jun 13, 2006Please take a look at the "FormattedTextContinuation" example (either included with the download of the evaluation version or from our website). It displays just what you are after. In this example there are two columns of text (you would need to modify this for more columns of text) that are displayed using the FormattedTextArea.
Thanks,
ceTe Software Support Team
Re: Coloumn
Forum member · Jun 14, 2006FormattedTextContinuation was the solution yo my problem, thanks
Re: Coloumn
Forum member · Feb 25, 2008
>You can use the overloaded Add method of the CellList class
>which takes the page element as one of the parameters.
>For more details, please refer to the Adding Page Elements to >Cell topic in the Help Documentation.
i don't see any mention of 'CellList' at the link shown.
i'm actually trying to understand what 'colspan' does,
and whether i can use it in a DPDF table as i'm used to
using it in HTML.
the only references in the documentation that i saw were to cellList (which is not someone who plays the cello).
thanks,
Re: Coloumn
Support · Feb 25, 2008Hello,
You can add the page elements to the cell by using the Add method of the CellList.
row3.Cells.Add( new FormattedTextArea( formattedText, 0, 0, 140, 50,
FontFamily.Helvetica, 12, false ) );
In the above code the row3.Cells gives the CellList object and you can use the Add method of this object to add the page element.
ColumnSpan will set the value of number of columns a cell has to span. If you set it to 2 then the cell will span for 2 columns.
Thanks,
ceTe Software Support Team.