Viewport.GetThumbnail (Viewport, Size, Color) Method
Gets a bitmap of the user interface element for designer mode only.
Public Overridable 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.
This language is not supported or no code example is available.
Parameters
-
viewport
-
Viewport
Unused
-
size
-
Size
The desired bitmap size
-
backgroundColor
-
Color
Unused
Return Value
Image
.NET Framework
Supported in: 4.8