

| Type | Description | |||
| IFontDisp | A font object being used to paint the line numbers. | 
The following VB sample assigns a different font for the control's line numbers bar:
With HTML1
    .LineNumberWidth = 32
    With .LineNumberFont
        .Name = "Tahoma"
        .Bold = True
    End With
    .Refresh
End With
  The following C++ sample assigns a different font for the control's line numbers bar:
m_html.SetLineNumberWidth( 32 ); COleFont font = m_html.GetLineNumberFont(); font.SetName( "Tahoma" ); font.SetBold( TRUE ); m_html.Refresh();
The following VB.NET sample assigns a different font for the control's line numbers bar:
With AxHTML1
    .LineNumberWidth = 32
    .LineNumberFont = New System.Drawing.Font("Tahoma", 10, FontStyle.Bold)
    .CtlRefresh()
End With
  The following C# sample assigns a different font for the control's line numbers bar:
axHTML1.LineNumberWidth = 32;
axHTML1.LineNumberFont = new System.Drawing.Font("Tahoma", 10, FontStyle.Bold);
axHTML1.CtlRefresh();
  The following VFP sample assigns a different font for the control's line numbers bar:
With thisform.HTML1.Object
    .LineNumberWidth = 32
    With .LineNumberFont
        .Name = "Tahoma"
        .Bold = .t.
    EndWith
    .Refresh
EndWith