Sets a new size to the image rectangle and thus the streamed image.
Namespace: Stemmer.Cvb.Driver
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
Parameters
- newSize
- Type: Stemmer.CvbSize2D
New size of the image rect in pixels. - mode
- Type: Stemmer.CvbDeviceUpdateMode
Defines how to handle device images.
Remarks
Calling this method is only possible if the acquisition not IsRunning.
The newSize may be adjusted according to the used hardware. To get the actual value you need to read the Size after setting it.
Possible sizes are up to SensorSize.Width - Offset.X and SensorSize.Height - Offset.Y
If you are unsure about the mode, simply use UpdateDeviceImage.
See Also