Creates a thumbnail from the specified image stream.
public RasterImage ReadThumbnail(Stream stream,CodecsThumbnailOptions options,int pageNumber)
Public Overloads Function ReadThumbnail( _ByVal stream As Stream, _ByVal options As Leadtools.Codecs.CodecsThumbnailOptions, _ByVal pageNumber As Integer _) As Leadtools.RasterImage
public Leadtools.RasterImage ReadThumbnail(Stream stream,Leadtools.Codecs.CodecsThumbnailOptions options,int pageNumber)
- (nullable LTRasterImage *)readThumbnailFromStream:(LTLeadStream *)streamoptions:(LTCodecsThumbnailOptions *)thumbnailOptionspageNumber:(NSInteger)pageNumbererror:(NSError **)error
public RasterImage readThumbnail(ILeadStream stream, CodecsThumbnailOptions options, int pageNumber) function Leadtools.Codecs.RasterCodecs.ReadThumbnail(Stream,CodecsThumbnailOptions,Int32)(stream ,options ,pageNumber)
public:Leadtools.RasterImage^ ReadThumbnail(Stream^ stream,Leadtools.Codecs.CodecsThumbnailOptions options,int pageNumber)
stream
A Stream 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.
The RasterImage object that this method creates.
This method will always return a thumbnail image. Depending on the options passed, this method might read the stamp stored inside EXIF, CMP, JFIF and FlashPix files and return that. To read the file stamp only, use ReadStamp.
For an example, refer to ReadThumbnail.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
