Creates a thumbnail image of this IOcrPage.
Leadtools.RasterImage CreateThumbnail(
int thumbnailWidth,
int thumbnailHeight
)
Function CreateThumbnail( _
ByVal thumbnailWidth As Integer, _
ByVal thumbnailHeight As Integer _
) As Leadtools.RasterImage
Leadtools.RasterImage CreateThumbnail(
int thumbnailWidth,
int thumbnailHeight
)
- (nullable LTRasterImage *)createThumbnailWithWidth:(NSUInteger)thumbnailWidth
height:(NSUInteger)thumbnailHeight
error:(NSError **)error
public RasterImage createThumbnail(int thumbnailWidth,
int thumbnailHeight)
function Leadtools.Forms.Ocr.IOcrPage.CreateThumbnail(
thumbnailWidth ,
thumbnailHeight
)
Leadtools.RasterImage^ CreateThumbnail(
int thumbnailWidth,
int thumbnailHeight
)
thumbnailWidth
The desired maximum width of the thumbnail image in pixels.
thumbnailHeight
The desired maximum height of the thumbnail image in pixels.
A RasterImage object that contains a thumbnail of this IOcrPage.
The thumbnail image returned from this image always contain the correct aspect ratio. The width and height of the thumbnail is guaranteed to be at least thumbnailWidth by thumbnailHeight in size but never exceeding that. The only time you get a thumbnail that is exactly thumbnailWidth by thumbnailHeight pixels is when this IOcrPage is a perfect square.
The thumbnail image returned from this method will always contain 24 bits per pixel for best possible quality.
One use of the thumbnail image of a page is if your application is a Windows Forms-based application containing the ImageViewer control. You can use CreateThumbnail to obtain thumbnails of the pages in the engine and use them as items to the ImageViewer. For an example, refer to the C# or VB.NET Main OCR Demo that ships with LEADTOOLS.
For an example, refer to IOcrPage.
Products |
Support |
Feedback: CreateThumbnail Method - Leadtools.Forms.Ocr |
Introduction |
Help Version 19.0.2017.6.6
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.