GetPreviewImageSpecificSize Method of the ImageDocument Object
Returns an image preview of the specified size. If the preview hasn't been created yet, it will be created on the call to this property, which may take some time. After the first call, cached image will be returned. However, the preview may be reset on any image modifications, automatic or manual. After modifications, call this method again to create a new preview.
Syntax
C++
HRESULT GetPreviewImageSpecificSize( int width, int height, Image** Result );
C#
Image GetPreviewImageSpecificSize( int width, int height );
Visual Basic .NET
Function GetPreviewImageSpecificSize( _ width As Integer, _ height As Integer _ ) As IImage
Parameters
- width
- [in] The width of the preview image.
- height
- [in] The height of the preview image.
- Result
- [out, retval] A pointer to IImage* pointer variable that receives the interface pointer of the output Image object.
Return values
This function has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
11/7/2025 12:48:30 PM