Hi Aspose,
I have the following code:
DefaultAppearance appearance = new DefaultAppearance();
appearance.setTextColor(annoInfo.getColor());
appearance.setFontName(fontName);
appearance.setFontSize(fontSize);
FreeTextAnnotation anno = new FreeTextAnnotation(page, rect, appearance);
It works fine. The question is how can I update the DefaultAppearance? I see that there is setDefaultAppearance API but it accepts a String instead of a DefaultAppearance so I don’t know how to update it.
What I want is to update text color, font name, font size like in the above. Thank you.
Best Regards,
Tuyen