LineNumbersFormat Property
Description
Specifies the format of the line numbers when visible.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property LineNumbersFormat() As String
Return Type
Format of the line numbers.
Remarks
LineNumbersFormat allows you to keep the same width for line numbers, whether they are small or large (e.g., '0001' - '9999' for "04" and ' 1' - '9999' for "4").
The following example will make the line numbers 4 digits wide:
-
Numbers will include leading zeros up to 4 digits:
LineNumbersFormat = "0004" -
Numbers will include leading spaces up to 4 digits:
LineNumbersFormat = "4"
You must call RedrawControl after setting this property.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.