Disable font selection

Product: 9.2.3 native android sdk

Product Version: 9.2.3

Please give a brief summary of your issue:
Disable font selection for text annotation

Please describe your issue and provide steps to reproduce it:
Is there a way to disable font selection in text annotations?

Please provide a link to a minimal sample where the issue is reproducible:

Hello, Iā€™m Ron, an automated tech support bot :robot:

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:

Hi @seth.pacheco

You can customize the Text Annotations font selector by using the following sample code:

        ToolManagerBuilder builder = ToolManagerBuilder.from().addAnnotStyleProperty(
                new AnnotStyleProperty(Annot.e_FreeText).setCanShowFont(false)
        );
        ViewerConfig viewerConfig = new ViewerConfig.Builder()
                .toolManagerBuilder(builder)
                ...
                .build()

Could you please give this a try to see if it works for you?

Thanks,
Andrew.

1 Like