Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
ReadThumbnail Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : ReadThumbnail Method



fileName
String containing the name of the file from which the thumbnail image will be created.
options
Options for creating the thumbnail image.
pageNumber
Page number in the image file to create the thumbnail from.
fileName
String containing the name of the file from which the thumbnail image will be created.
options
Options for creating the thumbnail image.
pageNumber
Page number in the image file to create the thumbnail from.
Creates a thumbnail from the specified image file.

Syntax

Visual Basic (Declaration) 
Public Function ReadThumbnail( _
   ByVal fileName As String, _
   ByVal options As CodecsThumbnailOptions, _
   ByVal pageNumber As Integer _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim fileName As String
Dim options As CodecsThumbnailOptions
Dim pageNumber As Integer
Dim value As RasterImage
 
value = instance.ReadThumbnail(fileName, options, pageNumber)
C# 
public RasterImage ReadThumbnail( 
   string fileName,
   CodecsThumbnailOptions options,
   int pageNumber
)
C++/CLI 
public:
RasterImage^ ReadThumbnail( 
   String^ fileName,
   CodecsThumbnailOptions options,
   int pageNumber
) 

Parameters

fileName
String containing the name of the file from which the thumbnail image will be created.
options
Options for creating the thumbnail image.
pageNumber
Page number in the image file to create the thumbnail from.

Return Value

The RasterImage (thumbnail image) that this method creates.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also