Using Free text tool programatically

Hello Logan,
Greetings!

Hope you are doing well.
My question is i want to programatically put the free text tool box in middle of
the page with programatically given font-size,thickness,background color, border color and
text inside it and will be able to resize and move that box anywhere on page.

So is it possible here?

Regards
Thank you

Hey there!

Here is an example of programmatically creating a freetext annotation.

The API reference can help you find out what properties are editable.

Please let me know if there are any more questions!
Thanks,
Logan

Hi, how can i edit the border thickness?

we used StrokeThickness property to solve that problem.