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

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

    Parameters

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

    Return Value

    A C1DocumentRange that defines the page document range.
    See Also