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

In This Topic
    GetPageDocumentRange Method (C1DocumentSource)
    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 Overridable Function GetPageDocumentRange( _
       ByVal page As C1Page, _
       ByVal textMeasurementContext As IC1TextMeasurementContext _
    ) As C1DocumentRange
    public virtual C1DocumentRange GetPageDocumentRange( 
       C1Page page,
       IC1TextMeasurementContext textMeasurementContext
    )

    Parameters

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

    Return Value

    A C1DocumentRange that defines the page document range.
    See Also