We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Font Used In Table

Thread ID:

Created:

Updated:

Platform:

Replies:

26861 Apr 1,2005 07:17 PM UTC Apr 19,2005 03:21 PM UTC WinForms 4
loading
Tags: PDF
Sigmund Wu
Asked On April 1, 2005 07:17 PM UTC

Hi, I am tring to add a table to a PDF document. My question is: Is there any way to specify a font for the table to use before publishing it? I guess the table use the document''s default font, so alternately, if I can change the default font before publishing a table, it will work for me, too. (But I found the PDFDocument.DefaultFont is a readonly property) Thanks.

Administrator [Syncfusion]
Replied On April 6, 2005 05:16 AM UTC

Hi Sigmund, Sorry for the delay in responding. Currently there seems to be no way to set the font used in a table. I have logged a high priority bug report and it should be implemented within a week. You can track the status of this issue here http://www.syncfusion.com/support/issues/pdf/Default.aspx?ToDo=view&questId=190&catId=70 Please let me know if you have any questions. Thanks, Stephen. >Hi, > >I am tring to add a table to a PDF document. My question is: Is there any way to specify a font for the table to use before publishing it? I guess the table use the document''s default font, so alternately, if I can change the default font before publishing a table, it will work for me, too. (But I found the PDFDocument.DefaultFont is a readonly property) > >Thanks. > >

Sigmund Wu
Replied On April 7, 2005 05:07 PM UTC

Thanks Stephen. I''ll wait.

Sigmund Wu
Replied On April 14, 2005 05:09 PM UTC

FYI, I''ve figured out a workaround for this issue: Each cell (ITableCell) in the table can be set to used different font. What I need to do is to loop through all rows and columns (including column header) to set the same font for each cell: // create _font here foreach(ITableRow row in table.Rows) foreach(ITableCell cell in row.Cells) cell.Style.TextFont=_font;

Administrator [Syncfusion]
Replied On April 19, 2005 03:21 PM UTC

Hi Sigmund, Thanks for the update. We have added the option to set font in the tables style. We will also be completely reworking the PDF Tables to make it userfriendly in the next version. Please let us know of any suggestions. Thanks, Stephen. >FYI, I''ve figured out a workaround for this issue: Each cell (ITableCell) in the table can be set to used different font. What I need to do is to loop through all rows and columns (including column header) to set the same font for each cell: > >// create _font here > >foreach(ITableRow row in table.Rows) > foreach(ITableCell cell in row.Cells) > cell.Style.TextFont=_font; > >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;