Product: Apryse SDK
Product Version: v10.12.0
When drawing/editing a Callout Annotation (FreeText),
there appears a Checkbox “Scale font size dynamically”.
How can it be configured, to not appear at all?
I’ve tried using “UI.disableElements([…])”, but can’t find out the name anywhere, in order to specify it in the array.
Also i’ve tried using “tool.disableAutoSizedTextBox();” but that had no effect.
1 Like
Ryan
January 31, 2025, 4:41pm
2
We offer multiple viewers. For which platform are you asking about?
1 Like
Hello Ryan, i’m asking about the WebSDK / WebViewer.
1 Like
kkim
February 4, 2025, 6:23pm
4
Hi there,
That particular choice on the popup does not have an associated data-element to target. However, you can use the CSS method and target the element hide hide it, i.e.
Easily change themes and colors using JavaScript with this helpful guide. Learn how to switch color themes using an API or custom CSS file path in the constructor. Explore options like setting a CSS file path, using the setTheme API, and overriding...
.row.text-vertical-alignment.auto-size-checkbox{
display: none !important;
}
Best regards,
Kevin
1 Like