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  


Property IMVCrop::AspectRatio

Declaration: Property Get/Put AspectRatio As Boolean

Maintain 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 Long

Output video stream height.

Prototype:

HRESULT put_OutputHeight(LONG Height);
HRESULT get_OutputHeight(LONG* Height);


Property IMVCrop::OutputWidth

Declaration: Property Get/Put OutputWidth As Long

Output video stream width.

Prototype:

HRESULT put_OutputWidth(LONG Width);
HRESULT get_OutputWidth(LONG* Width);


Property IMVCrop::xOffset

Declaration: Property Get/Put xOffset As Long

Horizontal offset to the lower left corner.

Prototype:

HRESULT put_xOffset(LONG xOffset);
HRESULT get_xOffset(LONG* xOffset);


Property IMVCrop::yOffset

Declaration: Property Get/Put yOffset As Long

Vertical offset to the lower left corner.

Prototype:

HRESULT put_yOffset(LONG yOffset);
HRESULT get_yOffset(LONG* yOffset);