Set Default Annotation Text Size - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: Set Default Annotation Text Size

Set Default Annotation Text Size 1 year 9 months ago #11898

  • jhaskins
  • jhaskins's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I have a PDF that already has form fields embedded in it. In my app I am filling out those fields programmatically with
[annotation setEditText:stringValue];
Is there any way to set the default annotation text size?
Is there any other way I can adjust the font size for these annotation fields?

Please Log in or Create an account to join the conversation.

Set Default Annotation Text Size 1 year 9 months ago #11909

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

you can set a default annot font and set the text size when you create a new annot, but at the moment it's not possible to set the annot text size of an existing annotation.

Please Log in or Create an account to join the conversation.

Set Default Annotation Text Size 1 year 9 months ago #11910

  • jhaskins
  • jhaskins's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Why does the RadaeePDF SDK not retain the default font and size that the original annotation was set to? It appears that the field settings (created by Acrobat Pro) that are in the original PDF are being overridden by the SDK.

Please Log in or Create an account to join the conversation.

Set Default Annotation Text Size 1 year 8 months ago #11916

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,
If you want to use a specific font for annotations, you have to include it in the APP_Init method with the Global_fontfileListAdd method, then use Global_setAnnotFont method to set it as annotation font.
The text size is not overwritten, but the SDK will use the font specified with the Global_setAnnotFont method in APP_Init method (in this case "Arimo")

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum