Extra Values in TextFormat Return

If you are a C/C++/C# developer and have any questions about using our products from your application here is the place to post them.
Post Reply
jimtell
Posts: 6
Joined: Tue May 22 2007

Extra Values in TextFormat Return

Post by jimtell »

Using latest version of PDF Creator ActiveX. When I get the font of some text using the TextFont attribute I'm getting seven values returned. I can only find documentation for 5 values. What are the other two. Value returned: Microsoft Sans Serif,10.0000,400,0,0,1,0 name,size,weight,italic,underline,?,?
jimtell
Posts: 6
Joined: Tue May 22 2007

Re: Extra Values in TextFormat Return

Post by jimtell »

Here is the reply from support on the same questions.

The two undocumented parameters of TextFont are, in this order:

5 - charset
6 - strikeout

The origin of charset is the Windows Font field "lfCharSet" whose documentation can be found in MSDN. Also strikeout can be found on same source. These are extensions to our font functions that are still not documented.
Post Reply