Change Font Type

Topics: Developer Forum, User Forum
Dec 26, 2010 at 12:53 PM

Ola,

How do I change the font? I create a new instance at runtime and want to change the font.

Dim scin As New ScintillaNet.Scintilla()
With scin
    .Dock = DockStyle.Fill
    .Margins(0).Width = 30
    .Margins(1).Width = 30
    .Margins(2).Width = 16
    .Margins.Left = 10
    .Scrolling.HorizontalWidth = 30
    .Styles.Default.Font = New Font("Courier New", 12)
 End With
But it doesn't change the font... :cry:

Jan 6, 2011 at 3:35 PM

Anyone? Or isn't htis project alive anymore?

Jan 6, 2011 at 4:17 PM

Found it: http://scintillanet.codeplex.com/Thread/View.aspx?ThreadId=236684