Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderImage Class / IndexOfFragment Method
The RenderFragment to return the index of.

In This Topic
    IndexOfFragment Method (RenderImage)
    In This Topic
    Returns the index of the specified RenderFragment of the current object in the 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 Fragments, or -1 if there are no fragments or the fragment was not found.
    See Also