שתף באמצעות


Set RichTextBox Vertical Line Spacing

Question

Thursday, June 23, 2016 12:46 PM

How can I set the Vertical Line Spacing in a RichTextBox in a Standard Forms Project?
I am using Consolas Font, Size 10, and standard RichTextBox1.AppendText to add the text
Here is an example (Screen Grab + PhotoShop to move bottom 2 lines closer):

All replies (2)

Thursday, June 23, 2016 1:26 PM ✅Answered

Have a look here: http://www.vbforums.com/showthread.php?727119-RESOLVED-VB2010-richtextbox-paragraph-space-width-seleted-and-RichTextBoxStreamType

with a little tweaking it works:


Thursday, June 23, 2016 2:40 PM

Thanks, that seems to work just fine.