FlexReport for .NET | ComponentOne
C1.WPF.FlexReport.4.6.2 Assembly / C1.WPF.FlexReport Namespace / C1FlexReport Class / GetDocumentRange Method
Start position for the document range.
End position for the document range.
The C1.WPF.Document.Util.IC1TextMeasurementContext to use while building C1.WPF.Document.C1DocumentRange.

In This Topic
    GetDocumentRange Method (C1FlexReport)
    In This Topic
    Creates the C1.WPF.Document.C1DocumentRange object on the base of two text positions specified by C1.WPF.Document.C1DocumentTextPosition objects.
    Syntax
    'Declaration
     
    Public Overridable Function GetDocumentRange( _
       ByVal startPosition As C1DocumentTextPosition, _
       ByVal endPosition As C1DocumentTextPosition, _
       ByVal textMeasurementContext As IC1TextMeasurementContext _
    ) As C1DocumentRange
    public virtual C1DocumentRange GetDocumentRange( 
       C1DocumentTextPosition startPosition,
       C1DocumentTextPosition endPosition,
       IC1TextMeasurementContext textMeasurementContext
    )

    Parameters

    startPosition
    Start position for the document range.
    endPosition
    End position for the document range.
    textMeasurementContext
    The C1.WPF.Document.Util.IC1TextMeasurementContext to use while building C1.WPF.Document.C1DocumentRange.

    Return Value

    C1.WPF.Document.C1DocumentRange defining document range.
    See Also