PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderC1Printable Class / IndexOfFragment Method
The RenderFragment to return the index of.

In This Topic
    IndexOfFragment Method (RenderC1Printable)
    In This Topic
    Returns the index of the specified RenderFragment of the current object in the RenderObject.Fragments collection.
    Syntax
    'Declaration
     
    Public Function IndexOfFragment( _
       ByVal rf As RenderFragment _
    ) As Integer
    public int IndexOfFragment( 
       RenderFragment rf
    )

    Parameters

    rf
    The RenderFragment to return the index of.

    Return Value

    The 0-based index of the specified fragment in RenderObject.Fragments, or -1 if there are no fragments or the fragment was not found.
    See Also