RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1Inline Class / CreateNewElement Method

In This Topic
    CreateNewElement Method (C1Inline)
    In This Topic
    Creates a new C1TextElement with the same type as this.
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateNewElement() As C1TextElement
    public virtual C1TextElement CreateNewElement()

    Return Value

    A new C1TextElement with the same type as this.
    Remarks
    This can be overridden in custom C1TextElement with no default constructors.
    See Also