FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.8 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / GetPageDocumentRange Method
A C1.Win.Document.C1Page object specifying the page.
The C1.Win.Document.Util.IC1TextMeasurementContext to use while building C1.Win.Document.C1DocumentRange.

In This Topic
    GetPageDocumentRange Method (C1FlexReport)
    In This Topic
    Creates a C1.Win.Document.C1DocumentRange object that includes the specified page. This method can return null if the page contains no text.
    Syntax
    'Declaration
     
    Public Overridable Function GetPageDocumentRange( _
       ByVal page As C1Page, _
       ByVal textMeasurementContext As IC1TextMeasurementContext _
    ) As C1DocumentRange
    public virtual C1DocumentRange GetPageDocumentRange( 
       C1Page page,
       IC1TextMeasurementContext textMeasurementContext
    )

    Parameters

    page
    A C1.Win.Document.C1Page object specifying the page.
    textMeasurementContext
    The C1.Win.Document.Util.IC1TextMeasurementContext to use while building C1.Win.Document.C1DocumentRange.

    Return Value

    A C1.Win.Document.C1DocumentRange that defines the page document range.
    See Also