text style for freeText annotation
Posted: Mon Nov 26, 2018 11:21 am
Hi,
I want to add freeText annotation with style (bold, italic, underline and strike) to page. I can create and add this annotation to page but has some problems with set style of text. Use API documentation and forum I found that bold and italic can be set when font is created (CreateNewFont methods), but I can not find how I can set underline and strike for text annotation. FreeText Interface has property style but description of this property (https://sdkhelp.pdf-xchange.com/vi ... faultStyle) is very poor (BSTR parameter has no description and has not set of correct values). Can you send me example how I can do style of text for annotation? Do you have good API description (a lot of your online help page has like poor description)?
Thanks,
Evgeny.
I want to add freeText annotation with style (bold, italic, underline and strike) to page. I can create and add this annotation to page but has some problems with set style of text. Use API documentation and forum I found that bold and italic can be set when font is created (CreateNewFont methods), but I can not find how I can set underline and strike for text annotation. FreeText Interface has property style but description of this property (https://sdkhelp.pdf-xchange.com/vi ... faultStyle) is very poor (BSTR parameter has no description and has not set of correct values). Can you send me example how I can do style of text for annotation? Do you have good API description (a lot of your online help page has like poor description)?
Thanks,
Evgeny.