AudioVideoFile.GetThumbnail Method

Returns a thumbnail of the frame at the passed time with the passed size.

Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Public Function GetThumbnail ( _
    time As TimeSpan, _
    size As Size _
) As Bitmap
'Usage
Dim instance As AudioVideoFile
Dim time As TimeSpan
Dim size As Size
Dim returnValue As Bitmap

returnValue = instance.GetThumbnail(time, size)
public Bitmap GetThumbnail (
    TimeSpan time,
    Size size
)
public:
Bitmap^ GetThumbnail (
    TimeSpan time, 
    Size size
)

Parameters

time

The time of the frame that is to be used for the thumbnail.

size

The size of the returned thumbnail.

Return Value

The thumbnail.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

AudioVideoFile Class
AudioVideoFile Members
Microsoft.Expression.Encoder Namespace