[英]How can i set markup text size according to the font size set to it the markup size is too large when zooming in?
i need to change the Text Markup area size according to the text length and size as it is getting too large when zooming in over pdf files.我需要根据文本长度和大小更改文本标记区域大小,因为放大 pdf 文件时它变得太大。 Any help will be appericated.
任何帮助都会得到帮助。 Thanks in Advance.
提前致谢。
Firstly, you may need to watch the event of camera when the scene is changed.首先,当场景改变时,您可能需要观察相机的事件。 Please check this post: forge Viewer - How can we add CAMERA_CHANGE_EVENT for svg markups?
请查看这篇文章: forge Viewer - 我们如何为 svg 标记添加 CAMERA_CHANGE_EVENT?
And you decide if you need to update the text size with the zoom scale.并且您决定是否需要使用缩放比例更新文本大小。 please check the other post about how to change font size of markup Forge MArkups Font Size and Thickness of Freehand
请查看另一篇关于如何更改标记的字体大小Forge MArkups Font Size and Thickness of Freehand
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.