Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / InsertList Method
Specifies the type of list by indicating the bullet type. One of default, disc, circle, square, none, 1, A, a, I, i."
A string array supplying the entries for the list. Each entry can include html tags for bold, underline, etc. Attributes can be added to an entry by appending them to the entry text after a vertical bar. If null, the selected text will be included as an entry.
Optional attributes for the list.

In This Topic
    InsertList Method
    In This Topic
    Inserts a list at the cursor location. If text is selected, it is overwritten.
    Syntax
    'Declaration
     
    Public Sub InsertList( _
       ByVal type As System.String, _
       Optional ByVal entries() As System.String, _
       Optional ByVal attributes As System.String _
    ) 
    public void InsertList( 
       System.string type,
       System.string[] entries,
       System.string attributes
    )

    Parameters

    type
    Specifies the type of list by indicating the bullet type. One of default, disc, circle, square, none, 1, A, a, I, i."
    entries
    A string array supplying the entries for the list. Each entry can include html tags for bold, underline, etc. Attributes can be added to an entry by appending them to the entry text after a vertical bar. If null, the selected text will be included as an entry.
    attributes
    Optional attributes for the list.
    See Also