Creates a thumbnail from the specified image stream.
public IAsyncOperation<RasterImage> ReadThumbnailAsync(
ILeadStream ,
CodecsThumbnailOptions ,
int
)
'Declaration
Public Function ReadThumbnailAsync( _
ByVal As ILeadStream, _
ByVal As CodecsThumbnailOptions, _
ByVal As Integer _
) As IAsyncOperation(Of RasterImage)
'Usage
Dim instance As RasterCodecs
Dim stream As ILeadStream
Dim options As CodecsThumbnailOptions
Dim pageNumber As Integer
Dim value As IAsyncOperation(Of RasterImage)
value = instance.ReadThumbnailAsync(stream, options, pageNumber)
public IAsyncOperation<RasterImage> ReadThumbnailAsync(
ILeadStream stream,
CodecsThumbnailOptions options,
int pageNumber
)
function Leadtools.Codecs.RasterCodecs.ReadThumbnailAsync(
stream ,
options ,
pageNumber
)
public:
IAsyncOperation<RasterImage^>^ ReadThumbnailAsync(
ILeadStream^ ,
CodecsThumbnailOptions ,
int
)
Parameters
- stream
- A Leadtools.ILeadStream containing the image data from which the thumbnail image will be created.
- options
- Options for creating the thumbnail image.
- pageNumber
- 1-based index of the page from which the thumbnail image should be created.
Return Value
The
Leadtools.RasterImage object that this method creates.When this method completes, it returns the
Leadtools.RasterImage object that this method creates.