Product: PDFNet
Product Version: 9.2.3
I want to set the default thickness as 5 px for all tools on launch. How can I achieve this?
I have tried the below line of code, before openingPDF and in didOpenDocument function also but it did not work over there.
PTColorDefaults.setDefaultBorderThickness(10, for: .circle)
Can you tell us a way to set the default thickness for every when creating new annotation?
(This property for every new annotation should be set as default 5 px
)
Thanks
system
July 21, 2022, 11:28am
2
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Guides:
APIs:
Forums:
sbehl
July 22, 2022, 10:06pm
3
Hello Rankit,
You can set default style properties via a property list (XML) in Xcode.
We have a guide available here:
There are some examples on that page that set default values on thickness which should hopefully be what you need.
Let us know if that works for you or have any other concerns.
Best Regards,
Sahil Behl
Software Developer
PDFTron Systems, Inc.
www.pdftron.com
Tel: 1-604-730-8989
Fax: 1-604-676-2477