PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderFragmentCollection Class / FindByObjectName Method
The name to search for.

In This Topic
    FindByObjectName Method (RenderFragmentCollection)
    In This Topic
    Searches for a RenderFragment in the current collection that was produced by a RenderObject with the specified RenderObject.Name.
    Syntax
    'Declaration
     
    Public Function FindByObjectName( _
       ByVal renderObjectName As String _
    ) As RenderFragment
    public RenderFragment FindByObjectName( 
       string renderObjectName
    )

    Parameters

    renderObjectName
    The name to search for.

    Return Value

    The fragment that was produced by the object with the specified name, or null if it was not found.
    See Also