PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FindInputFragment Method
The 0-based index of the page to start the search at.
Specifies whether to search forward or backward.

In This Topic
    FindInputFragment Method (C1PrintDocument)
    In This Topic
    Searches for the first occurrence of a RenderInputFragment object in the current document.
    Syntax
    'Declaration
     
    Public Function FindInputFragment( _
       ByVal startPageIndex As Integer, _
       ByVal forward As Boolean _
    ) As RenderInputFragment
    public RenderInputFragment FindInputFragment( 
       int startPageIndex,
       bool forward
    )

    Parameters

    startPageIndex
    The 0-based index of the page to start the search at.
    forward
    Specifies whether to search forward or backward.

    Return Value

    The RenderInputFragment object that was found, or null.
    See Also