Programming Guide
109
5.4.1.2 Cropping
Purpose
These functions read or write actual output resolution.
Prototype
C/C++
HRESULT WriteCropping (RECT Rt)
HRESULT ReadCropping (RECT * Rt)
C#
int WriteCropping (Rectangle RECT Rt)
int ReadCropping (out Rectangle RECT Rt)
VB.Net
WriteCropping (ByVar Rt as RECT) As Integer
ReadCropping (ByRef Rt as RECT) As Integer
Parameters
Rt
A rectangle setting to crop the sensor image as illustrated in
Figure 4-1. The rectangle must be located inside the sensor
image. Actual image starts from (Rt.left, Rt.top) and its
width is Rt.right – Rt.left and height is Rt.bottom – Rt.top.
Actual image width needs to be multiple of 16 pixels and
actual height is even. If the sensor source is interlace, the
top value in Rt need to be even
Return Value
No error occurs if return value >= 0; if negative value, call AMGet-
ErrorText function to get error information about return codes.
Summary of Contents for HDV62
Page 11: ...vi List of Figures...
Page 25: ...14 Installation Guide...
Page 26: ...Installation Guide 15...
Page 27: ...16 Installation Guide 4 Click next until driver installation is complete...
Page 105: ...94 Programming Guide Video Proc Amp...
Page 163: ...152 ViewCreatorPro Utility...