Viewport.GetThumbnail (Int32, Color) Method

Returns a thumbnail bitmap of the Viewport. The maximum size is 256x256.
Public Function GetThumbnail( _ 
ByVal thumbnailSize As Integer, _ 
ByVal backgroundColor As Color
) As Bitmap
This language is not supported or no code example is available.
public Bitmap GetThumbnail( 
int thumbnailSize
Color backgroundColor 
)
This language is not supported or no code example is available.

Parameters

thumbnailSize
int

Desired size of the biggest dimension of the environment control.

backgroundColor
Color

Desired background solid color. If Empty, then it uses the current one.

Return Value

Bitmap

The bitmap of the current Viewport

.NET Framework

Supported in: 4.8

In this article

Definition