Type | Description | |||
Long | A long expression that defines the width in pixels for the control's line number border. |
Use the LineNumberWidth property to show the control's line number width. Use the BookmarkWidth property to show the control's bookmark border. By default, the LineNumberWidth property is 0. If the control's LineNumberWidth is zero the control's line number border is hidden. If the LineNumberWidth property is 0 the control displays no line numbers border. If the LineNumberWidth property is less than 0 the control sets the width of the line numbers border automatically. Use the LineNumberBackColor and LineNumberForeColor properties to customize colors for the control's line numbers bar. Use the LineNumberFont property to specify the font for the control's line numbers bar.
The following VB sample displays the line bookmarks and line numbers on the same column, and the column is automatically sized:
With HTML1 .LineNumberWidth = -1 .BookmarkWidth = -1 End With
The following screen show shows the control's line numbers header bar:
The following C++ sample displays the line bookmarks and line numbers on the same column, and the column is automatically sized:
m_html.SetLineNumberWidth( -1 ); m_html.SetBookmarkWidth( -1 );
The following VB.NET sample displays the line bookmarks and line numbers on the same column, and the column is automatically sized:
With AxHTML1 .LineNumberWidth = -1 .BookmarkWidth = -1 End With
The following C# sample displays the line bookmarks and line numbers on the same column, and the column is automatically sized:
axHTML1.LineNumberWidth = -1; axHTML1.BookmarkWidth = -1;
The following VFP sample displays the line bookmarks and line numbers on the same column, and the column is automatically sized:
With thisform.HTML1 .LineNumberWidth = -1 .BookmarkWidth = -1 EndWith