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

In This Topic
    IndexOfFragment Method (RenderBarCodeEx)
    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