Horizontal alignment for IWTable

Hello!

I've created a IWTable in my application, following the API:

IWTable table = section.Body.AddTable()

My question: How can I set the horizontal alignment of the table to "center", since there is no paragraph?

Thanks

1 Reply

SK Sathish K Syncfusion Team September 4, 2013 10:53 AM UTC

Hi Fabian,

Thank you for your interest in Syncfusion Products.

You can set horizontal alignment of table through RowAlignment.Center functionality. We have prepared a sample based on your requirement. Kindly download and run the sample from the below link and let us know if this helps you.

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/general/TableAlignment-363352482.zip

For more information on table format, please refer the below UG documentation links.

http://help.syncfusion.com/ug/wpf/docio/default.htm#!documents/table.htm

http://help.syncfusion.com/ug/wpf/docio/default.htm#!documents/tablerow.htm

http://help.syncfusion.com/ug/wpf/docio/default.htm#!documents/tablecell.htm

http://help.syncfusion.com/ug/wpf/docio/default.htm#!documents/rowformat.htm

Please let us know if you need further assistance.

Regards,

Sathish


Loader.
Up arrow icon