FlexReport for .NET | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document Namespace / C1DocumentSource Class / GetWholeDocumentRange Method
The C1.WPF.Document.Util.IC1TextMeasurementContext to use while building C1DocumentRange.

In This Topic
    GetWholeDocumentRange Method (C1DocumentSource)
    In This Topic
    Creates a C1DocumentRange object that includes the whole document. This method can return null if the document contains no text.
    Syntax
    'Declaration
     
    Public Overridable Function GetWholeDocumentRange( _
       ByVal textMeasurementContext As IC1TextMeasurementContext _
    ) As C1DocumentRange
    public virtual C1DocumentRange GetWholeDocumentRange( 
       IC1TextMeasurementContext textMeasurementContext
    )

    Parameters

    textMeasurementContext
    The C1.WPF.Document.Util.IC1TextMeasurementContext to use while building C1DocumentRange.

    Return Value

    A C1DocumentRange that defines the whole document.
    See Also