- Posts: 7
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
Set Default Annotation Text Size
9 years 1 month ago #11898
by jhaskins
Set Default Annotation Text Size was created by jhaskins
I have a PDF that already has form fields embedded in it. In my app I am filling out those fields programmatically with
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?
Code:
[annotation setEditText:stringValue];
Is there any other way I can adjust the font size for these annotation fields?
9 years 1 month ago #11909
by emanuele
Replied by emanuele on topic Set Default Annotation Text Size
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.
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.
9 years 1 month ago #11910
by jhaskins
Replied by jhaskins on topic Set Default Annotation Text Size
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.
9 years 1 month ago #11916
by emanuele
Replied by emanuele on topic Set Default Annotation Text Size
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")
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")
Time to create page: 0.395 seconds