PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / RenderFragmentCollection Class / FindByObject Method / FindByObject(RenderObject,Boolean) Method
The render object to search for.
If true then fragment also will be searched in the RenderFragment.Children collections of the objects contained in this collection.

In This Topic
    FindByObject(RenderObject,Boolean) Method
    In This Topic
    Searches for a RenderFragment in the current collection that was produced by a specific RenderObject.
    Syntax
    'Declaration
     
    Public Overloads Function FindByObject( _
       ByVal ro As RenderObject, _
       ByVal findInChildren As Boolean _
    ) As RenderFragment
    public RenderFragment FindByObject( 
       RenderObject ro,
       bool findInChildren
    )

    Parameters

    ro
    The render object to search for.
    findInChildren
    If true then fragment also will be searched in the RenderFragment.Children collections of the objects contained in this collection.

    Return Value

    The fragment that was produced by ro, or null if it was not found.
    See Also