ComponentOne FlexReport for WinForms
GetPageDocumentRange Method (C1DocumentSource)

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > C1DocumentSource Class : GetPageDocumentRange Method
A C1Page object specifying the page.
The C1.Win.C1Document.Util.IC1TextMeasurementContext to use while building C1DocumentRange.
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.C1Document.Util.IC1TextMeasurementContext to use while building C1DocumentRange.

Return Value

A C1DocumentRange that defines the page document range.
See Also

Reference

C1DocumentSource Class
C1DocumentSource Members