Zoom per Editorcommand instead of mousewheel

SyntaxEditor for WPF Forum

Posted 8 years ago by Tino Schnerwitzki
Version: 12.2.0570
Avatar

Hi,

are there any possibilities to zoom in /zoom out or zoom back to 100% with executing a command. In don't find something in EditorCommands class. 

Basically it's only possible to zoom with Control Key + Mousewheel. It there any other way?

 

Thanks in advance for your help.

Comments (1)

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Tino,

Sorry we don't have any built-in commands for that.  But you could easily make a custom command to do it.  Just set SyntaxEditor.ZoomLevel back to 1.0 in your command handler.


Actipro Software Support

The latest build of this product (v2020.1.1) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.