IMVGrid

The IMVGrid interface contains methods and properties to configure the a grid overlay. The MV Camera Calibration filter and the MV Camera Undistortion filter uses this interface.

Methods:

Colour The grid colour.
Show Enable the grid.
XOffset X-Offset from the left side in pixel.
XSize X-Size of the grid in pixel.
YOffset YOffset from the bottom side in pixel..
YSize Y-Size of the grid in pixel.

Header file: IMVGrid.h
Interface definition language file: IMVGrid.idl
Typelib: MVGrid
Interface ID: IID_IMVGrid


Property IMVGrid::Colour

Declaration: Property Get/Put Colour As Long

The grid colour.

C Prototype:

HRESULT put_Colour(LONG newVal);
HRESULT get_Colour(LONG *pVal);


Property IMVGrid::Show

Declaration: Property Get/Put Show As Boolean

Enable the grid..

C Prototype:

HRESULT put_Show(VARIANT_BOOL newVal);
HRESULT get_Show(VARIANT_BOOL *pVal);


Property IMVGrid::XOffset

Declaration: Property Get/Put XOffset As Long

X-Offset from the left side in pixel.

C Prototype:

HRESULT put_XOffset(LONG newVal);
HRESULT get_XOffset(LONG *pVal);


Property IMVGrid::XSize

Declaration: Property Get/Put XSize As Long

X-Size of the grid in pixel.

C Prototype:

HRESULT put_XSize(LONG newVal);
HRESULT get_XSize(LONG *pVal);


Property IMVGrid::YOffset

Declaration: Property Get/Put YOffset As Long

YOffset from the bottom side in pixel.

C Prototype:

HRESULT put_YOffset(LONG newVal);
HRESULT get_YOffset(LONG *pVal);


Property IMVGrid::YSize

Declaration: Property Get/Put YSize As Long

Y-Size of the grid in pixel.

C Prototype:

HRESULT put_YSize(LONG newVal);
HRESULT get_YSize(LONG *pVal);