Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / UserInterfaceBase Class / GetThumbnail Method
The viewport it belongs to
The desired bitmap size
The color desired for the background

In This Topic
    GetThumbnail Method (UserInterfaceBase)
    In This Topic
    Gets a thumbnail bitmap of the user interface element.
    Syntax
    'Declaration
     
    Public Overridable Function GetThumbnail( _
       ByVal viewport As Viewport, _
       ByVal size As Size, _
       ByVal backgroundColor As Color _
    ) As Image
    public virtual Image GetThumbnail( 
       Viewport viewport,
       Size size,
       Color backgroundColor
    )

    Parameters

    viewport
    The viewport it belongs to
    size
    The desired bitmap size
    backgroundColor
    The color desired for the background

    Return Value

    The bitmap of the UI element.
    Remarks
    Size is limited to 512 x 512
    See Also