IUserInterfaceElement.GetThumbnail Method

Gets a bitmap of the user interface element.
Function GetThumbnail( _ 
ByVal viewport As Viewport, _ 
ByVal size As Size, _ 
ByVal backgroundColor As Color
) As Image
This language is not supported or no code example is available.
Image GetThumbnail( 
Viewport viewport
Size size
Color backgroundColor 
)
This language is not supported or no code example is available.

Parameters

viewport
Viewport

The viewport it belongs to

size
Size

The desired bitmap size

backgroundColor
Color

The color desired for the background

Return Value

Image

The bitmap of the UI element.

.NET Framework

Supported in: 4.8

In this article

Definition