Hi,
1. Can you clarify what you mean by auto switch to editing mode and focus on the edit box? Do you want it to be the same behavior that happens after creating a FreeText annotation from the tool in the UI where you can start typing in the box right away?
When I run the code to programmatically create a FreeText then this is the behavior that I'm already seeing; the annotation is automatically switched to editing mode.
2. A user can change the font size of the annotation by clicking it to select, pressing the "Style" button that appears above and then clicking on the buttons labelled 8, 12, 24, 36. To change the font size programmatically you can set the FontSize property on the annotation. For example:
freeText.FontSize = '36pt';
Matt Parizeau
Software Developer
PDFTron Systems Inc.