ReadFile.GetThumbnail (String, Int32) Method

Gets the thumbnail.
Public Shared Function GetThumbnail( _ 
ByVal fileName As String, _ 
Optional ByVal thumbnailSize As Integer = defaultThumbnailSize _ 
) As Bitmap
This language is not supported or no code example is available.
public static Bitmap GetThumbnail( 
string fileName
int thumbnailSize = defaultThumbnailSize 
)
This language is not supported or no code example is available.

Parameters

fileName
string

thumbnailSize
int

Desired size of the biggest dimension of the thumbnail (The maximum is 256).

Return Value

Bitmap
Remarks
 
Returns null/Nothing if the thumbnail was not stored in the file.

.NET Framework

Supported in: 4.8

In this article

Definition