Eyeshot 10 WPF API Reference
GetThumbnail Method (IUserInterfaceElement)

WPF Assembly > devDept.Eyeshot Namespace > IUserInterfaceElement Interface : GetThumbnail Method
The viewport it belongs to
The desired bitmap size
The color desired for the background
Gets a bitmap of the user interface element.
Syntax
'Declaration
 
Function GetThumbnail( _
   ByVal viewport As Viewport, _
   ByVal size As Size, _
   ByVal backgroundColor As Color _
) As Image
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.
See Also

Reference

IUserInterfaceElement Interface
IUserInterfaceElement Members