IStoredImageHandle.Preview Method
Definition
Namespace: P1.CameraSdk
A blocking (synchronous) version of RequestPreviewAsync.
public IPreview Preview(ImageFormat format, UInt32 timeoutMs = 0);
Parameters:
format |
Optionally change encoding of the returned preview image. Default is RGB bitmap. |
timeoutMs |
An optional maximum amount of milliseconds to wait for the preview, before giving up. Zero (0) is wait forever. |
Returns:
an image buffer that encapsulates the image preview, or nullptr on timeout.