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.
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.