change the LineHeight

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by Dan Oren - Software Developer, Watchfire

When I reduce the font size of the SyntaxEditor :
Font font = new Font(syntaxEditorControl.Font.FontFamily, syntaxEditorControl.Font.Size - 1);
syntaxEditorControl.Font = font;
The distance between the lines remains in the same size.
I want to reduce the also the distance between the lines since it is not proportion to the font.
I saw that there is a property SyntaxEditor.LineHeight but this is read only.
Any help with this issue ?


Dan Oren

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Check out the SyntaxEditor.MinimumDisplayLineHeight property. Lower that and it will fix this for you.

Actipro Software Support

The latest build of this product (v21.1.0) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.