RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / C1LineFragment Class / Measure Method
The start offset.
The end offset.

In This Topic
    Measure Method (C1LineFragment)
    In This Topic
    Returns the width of this fragment between two C1.WPF.RichTextBox.Documents.C1TextPointer offsets.
    Syntax
    'Declaration
     
    
    Public Function Measure( _
       ByVal start As Integer, _
       ByVal end As Integer _
    ) As Double
    public double Measure( 
       int start,
       int end
    )

    Parameters

    start
    The start offset.
    end
    The end offset.
    See Also