IMVCrop
The IMVCrop Interface contains methods to configure the MV Crop filter.
| AspectRatio | Maintain aspect ratio. |
| OutputHeight | Output video stream height. |
| OutputWidth | Output video stream width. |
| xOffset | Horizontal offset to the lower left corner. |
| yOffset | Vertical offset to the lower left corner. |
Header file: IMVCrop.h
Interface definition language file: IMVCrop.idl
Typelib: MVCrop
Interface ID: IID_IMVCrop
Declaration: Property Get/Put AspectRatio As BooleanMaintain aspect ratio. If this flag is enabled, the aspect ratio of the input video stream is used to calculate the size of the output video stream.
Prototype:HRESULT put_AspectRatio(BOOLEAN Enable);
HRESULT get_AspectRatio(BOOLEAN* Enable);
Property IMVCrop::OutputHeight
Declaration: Property Get/Put OutputHeight As LongOutput video stream height.
Prototype:HRESULT put_OutputHeight(LONG Height);
HRESULT get_OutputHeight(LONG* Height);
Declaration: Property Get/Put OutputWidth As LongOutput video stream width.
Prototype:HRESULT put_OutputWidth(LONG Width);
HRESULT get_OutputWidth(LONG* Width);
Declaration: Property Get/Put xOffset As LongHorizontal offset to the lower left corner.
Prototype:HRESULT put_xOffset(LONG xOffset);
HRESULT get_xOffset(LONG* xOffset);
Declaration: Property Get/Put yOffset As LongVertical offset to the lower left corner.
Prototype:HRESULT put_yOffset(LONG yOffset);
HRESULT get_yOffset(LONG* yOffset);