Input for WinForms | ComponentOne
C1.Framework Namespace / ButtonElement Class / GetImageElement Method / GetImageElement(Boolean) Method
If True and the ImageElement doesn't exist, this method will create it.

In This Topic
    GetImageElement(Boolean) Method
    In This Topic
    Returns reference to the ImageElement used to display image.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetImageElement( _
       ByVal force As Boolean _
    ) As ImageElement
    public ImageElement GetImageElement( 
       bool force
    )

    Parameters

    force
    If True and the ImageElement doesn't exist, this method will create it.

    Return Value

    The reference to the ImageElement if it exists; Null otherwise.
    See Also