Hi Jeffrey,
Thank you for your interest in Syncfusion products.
Currently it is not possible to define built-in pre-defined styles. However, we can work it out by using a Helper function. The Helper function defines formatting styles. We can call this
Helper function such that we can make use of the formatting styles across the document. I have created a sample which explains this criteria.
Here is the sample for your reference.
http://websamples.syncfusion.com/samples/PDF.Windows/F-61965/main.htmHere is the generated document for your reference;
http://www.syncfusion.com/Support/user/uploads/Sample_2465c0e2.zipSample details:
---------------
1) Helper function - "SetStyle", "SetStyle1" takes
ITable object and
PDFDocument object as parameters. Both the functions are assigned different formatting styles.
2) NorthWind data is assigned to
ITable object - table.
3) table calls the helper function SetStyle and table calls SetStyle1, such that the generated PDF document has two tables with two different type of styles.
Please let me know for further help.
Regards,
Sarath