Thanks Ajish,
From your example I worked out what was happening, But it does not work as expected.
At the Begining of my application I create several IPDFFont objects - for example:
(VB)
Dim BigFont as IPDFFont = pdf.Fonts.Add(FontBaseFamily.TimesRoman)
BigFont.Size = 16
Dim LittleFont as IPDFFont = pdf.Fonts.Add(FontBaseFamily.TimesRoman)
LittleFont.Size = 8
As I need to print some text I use the Graphics.DrawMultiText Function and I send in either LittleFont or Bigfont as the font parameter and it works correctly and as expected.
With tables if I set the:
table.Style.TextFont = BigFont
or
table.Style.TextFont = LittleFont
it always uses the font that was added to the document last.
So for the example above I can set the
table.Style.TextFont = BigFont
but it always prints out as the LittleFont.
Can you clarify?
It does work if you explicitly format each cell.
So i can do that or make sure the font I want for my table was just added. I have attached an example.
Thanks,
Bill
Bill Table Test.zip