New PDF Preview table Question

Hey,

I'm trying to replace the iTable with the new Preview table in my application and I was wondering how to set the font and text alignment with the Preview Tables on a cell.

With the iTables I would do this to set the font:

Table.Rows.Item(RowNumber).Cells(ColumnNumber).Style.TextFont = SomeFont

Or this to set text alignment:

Table.Rows.Item(RowNumber).Cells(ColumnNumber).Style.TextAlignment = TextAlignment.Center

How do you duplicate this functionality with the Preview Tables?

Thanks,
Bill

2 Replies

AD Administrator Syncfusion Team November 27, 2006 04:50 PM UTC

Nevermind,

I got off my donkey and actually looked instead of begging for somebody to spoon feed me.

For anyone who cares - with the Preview tables you can set the cell font like this:

PdfTable.Rows.Item(RowNumber).Cells(ColumnNumber).Properties.Font = SomeFont

Seems the cell properties are now under "Properties" instead of "Style"

Thanks,
Bill


Hey,

I'm trying to replace the iTable with the new Preview table in my application and I was wondering how to set the font and text alignment with the Preview Tables on a cell.

With the iTables I would do this to set the font:

Table.Rows.Item(RowNumber).Cells(ColumnNumber).Style.TextFont = SomeFont

Or this to set text alignment:

Table.Rows.Item(RowNumber).Cells(ColumnNumber).Style.TextAlignment = TextAlignment.Center

How do you duplicate this functionality with the Preview Tables?

Thanks,
Bill


AD Administrator Syncfusion Team November 28, 2006 04:44 PM UTC

Hi Bill,

Thanks for your update.

Regards,
Prakash.

Loader.
Up arrow icon