Type | Description | |||
Long | A long expression that defines the bookmark border's width. The value is in pixels. |
Use the BookmarkWidth property to show the control's bookmark. By default, the BookmarkWidth property is 0. If the BookmarkWidth property is 0 the control's bookmark border is hidden. If the BookmarkWidth property is less than 0, and the line numbers border is displayed, it displays the line bookmarks too. Use the LineNumberWidth property to show the control's line number border. Use the BookmarkImage property to assign a custom icon for bookmarks. Use the BookMarkBackColor property to specify the bookmark's header background color.
The following VB sample puts the line numbers and bookmarks on the same header:
With Edit1 .LineNumberWidth = 32 .BookmarkWidth = -1 End With
The following screen show shows the control's bookmarks header bar ( on the left side ):
The following C++ sample puts the line numbers and bookmarks on the same header:
m_edit.SetLineNumberWidth( 32 ); m_edit.SetBookmarkWidth( -1 );
The following VB.NET sample puts the line numbers and bookmarks on the same header:
With AxEdit1 .LineNumberWidth = 32 .BookmarkWidth = -1 End With
The following C# sample puts the line numbers and bookmarks on the same header:
axEdit1.LineNumberWidth = 32; axEdit1.BookmarkWidth = -1;
The following VFP sample puts the line numbers and bookmarks on the same header:
With thisform.Edit1.Object .LineNumberWidth = 32 .BookmarkWidth = -1 endwith