// ************************************************************************ //
// WARNING                                                                    
// -------                                                                    
// The types declared in this file were generated from data read from a       
// Type Library. If this type library is explicitly or indirectly (via        
// another type library referring to this type library) re-imported, or the   
// 'Refresh' command of the Type Library Editor activated while editing the   
// Type Library, the contents of this file will be regenerated and all        
// manual modifications will be lost.                                         
// ************************************************************************ //

// C++ TLBWRTR : $Revision:   1.134.1.39  $
// File generated on 6/20/2001 12:48:04 PM from Type Library described below.

// ************************************************************************ //
// Type Lib: C:\Program Files\eVision\ActiveX\evision.ocx (1)
// IID\LCID: {9AE86E03-97BC-11D1-A49B-000021633168}\0
// Helpfile: C:\Program Files\eVision\ActiveX\eVisionVB.hlp
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINNT\System32\stdole2.tlb)
//   (2) v4.0 StdVCL, (C:\WINNT\System32\STDVCL40.DLL)
// ************************************************************************ //
#ifndef   __eVision_TLB_h__
#define   __eVision_TLB_h__

#pragma option push -b -w-inl

#include <utilcls.h>
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0500)
//
// The code generated by the TLIBIMP utility or the Import|TypeLibrary 
// and Import|ActiveX feature of C++Builder rely on specific versions of
// the header file UTILCLS.H found in the INCLUDE\VCL directory. If an 
// older version of the file is detected, you probably need an update/patch.
//
#error "This file requires a newer version of the header UTILCLS.H" \
       "You need to apply an update/patch to your copy of C++Builder"
#endif
#include <olectl.h>
#include <ocidl.h>
#if defined(USING_ATLVCL) || defined(USING_ATL)
#if !defined(__TLB_NO_EVENT_WRAPPERS)
#include <atl/atlmod.h>
#endif
#endif


// *********************************************************************//
// Forward reference of some VCL types (to avoid including STDVCL.HPP)    
// *********************************************************************//
namespace Stdvcl {class IStrings; class IStringsDisp;}
using namespace Stdvcl;
typedef TComInterface<IStrings> IStringsPtr;
typedef TComInterface<IStringsDisp> IStringsDispPtr;

namespace Evision_tlb
{

// *********************************************************************//
// HelpString: eVision 6.0 Control Library
// Version:    6.0
// *********************************************************************//


// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:        
//   Type Libraries     : LIBID_xxxx                                      
//   CoClasses          : CLSID_xxxx                                      
//   DISPInterfaces     : DIID_xxxx                                       
//   Non-DISP interfaces: IID_xxxx                                        
// *********************************************************************//
extern __declspec (package) const GUID LIBID_eVision;
extern __declspec (package) const GUID GUID_enumTraceModes;
extern __declspec (package) const GUID GUID_enumDataTypes;
extern __declspec (package) const GUID GUID_enumImageTypes;
extern __declspec (package) const GUID GUID_enumDataSizes;
extern __declspec (package) const GUID GUID_enumColorSystems;
extern __declspec (package) const GUID GUID_enumFileFormats;
extern __declspec (package) const GUID GUID_enumUnits;
extern __declspec (package) const GUID GUID_enumDrawStyle;
extern __declspec (package) const GUID GUID_enumDrawMode;
extern __declspec (package) const GUID GUID_enumFillStyle;
extern __declspec (package) const GUID GUID_enumFramePosition;
extern __declspec (package) const GUID GUID_enumHandleNames;
extern __declspec (package) const GUID GUID_enumAngleUnits;
extern __declspec (package) const GUID GUID_enumSelectionMode;
extern __declspec (package) const GUID GUID_enumImgOperators;
extern __declspec (package) const GUID GUID_enumImgHistogramFeatures;
extern __declspec (package) const GUID GUID_enumImgContourMode;
extern __declspec (package) const GUID GUID_enumImgContourThreshold;
extern __declspec (package) const GUID GUID_enumImgContourConnexity;
extern __declspec (package) const GUID GUID_enumImgKernelTypes;
extern __declspec (package) const GUID GUID_enumImgKernelRectifiers;
extern __declspec (package) const GUID GUID_enumImgKernelRotationModes;
extern __declspec (package) const GUID GUID_enumImgTransScanEdges;
extern __declspec (package) const GUID GUID_enumImgThresholdModes;
extern __declspec (package) const GUID GUID_enumImgReferenceNoise;
extern __declspec (package) const GUID GUID_enumClrRGBStandards;
extern __declspec (package) const GUID GUID_enumClrQuantization;
extern __declspec (package) const GUID GUID_enumObjSelectOptions;
extern __declspec (package) const GUID GUID_enumObjSelectByPosition;
extern __declspec (package) const GUID GUID_enumObjSortOptions;
extern __declspec (package) const GUID GUID_enumObjObjectFeatures;
extern __declspec (package) const GUID GUID_enumObjSelectionMode;
extern __declspec (package) const GUID GUID_enumObjObjectConnexity;
extern __declspec (package) const GUID GUID_enumMsrTransitionType;
extern __declspec (package) const GUID GUID_enumMsrTransitionChoice;
extern __declspec (package) const GUID GUID_enumMsrType;
extern __declspec (package) const GUID GUID_enumMsrToleranceVertically;
extern __declspec (package) const GUID GUID_enumMsrTransitionSmoothing;
extern __declspec (package) const GUID GUID_enumMsrInverseTransition;
extern __declspec (package) const GUID GUID_enumMsrSlope;
extern __declspec (package) const GUID GUID_enumMsrBaseVertically;
extern __declspec (package) const GUID GUID_enumMsrCircleCentering;
extern __declspec (package) const GUID GUID_enumMsrCircleIsotropic;
extern __declspec (package) const GUID GUID_enumMsrCircleAutomaticStop;
extern __declspec (package) const GUID GUID_enumMsrDrawingMode;
extern __declspec (package) const GUID GUID_enumMsrHandleNames;
extern __declspec (package) const GUID GUID_enumMchCorrelationMode;
extern __declspec (package) const GUID GUID_enumMchContrastMode;
extern __declspec (package) const GUID GUID_enumOcrClasses;
extern __declspec (package) const GUID GUID_enumOcrColor;
extern __declspec (package) const GUID GUID_enumOcrSegmentationMode;
extern __declspec (package) const GUID GUID_enumOcvCharCreationModes;
extern __declspec (package) const GUID GUID_enumOcvLocationMode;
extern __declspec (package) const GUID GUID_enumBooleanValues;
extern __declspec (package) const GUID GUID_enumMxcSymbolSize;
extern __declspec (package) const GUID GUID_enumMxcSymbolContrast;
extern __declspec (package) const GUID GUID_enumMxcSymbolFlipping;
extern __declspec (package) const GUID GUID_enumMxcSymbolOrientation;
extern __declspec (package) const GUID GUID_enumMxcECCFamily;
extern __declspec (package) const GUID GUID_enumMxcThresholdModes;
extern __declspec (package) const GUID GUID_enumMxcHandles;
extern __declspec (package) const GUID GUID_enumOverlayMode;
extern __declspec (package) const GUID GUID_enumTextAlignV;
extern __declspec (package) const GUID GUID_enumTextAlignH;
extern __declspec (package) const GUID GUID_enumCursorMode;
extern __declspec (package) const GUID GUID_enumOcrShiftingMode;
extern __declspec (package) const GUID GUID_enumOcrMatchingMode;
extern __declspec (package) const GUID GUID_enumState;
extern __declspec (package) const GUID GUID_enumFndContrastMode;
extern __declspec (package) const GUID GUID_EasyGlobal;
extern __declspec (package) const GUID DIID__DEBW8Image;
extern __declspec (package) const GUID DIID__DEBW8ImageEvents;
extern __declspec (package) const GUID CLSID_EBW8Image;
extern __declspec (package) const GUID DIID__DEBW16Image;
extern __declspec (package) const GUID DIID__DEBW16ImageEvents;
extern __declspec (package) const GUID CLSID_EBW16Image;
extern __declspec (package) const GUID DIID__DEC24Image;
extern __declspec (package) const GUID DIID__DEC24ImageEvents;
extern __declspec (package) const GUID CLSID_EC24Image;
extern __declspec (package) const GUID DIID__DEBW8ROI;
extern __declspec (package) const GUID DIID__DEBW8ROIEvents;
extern __declspec (package) const GUID CLSID_EBW8ROI;
extern __declspec (package) const GUID DIID__DEBW16ROI;
extern __declspec (package) const GUID DIID__DEBW16ROIEvents;
extern __declspec (package) const GUID CLSID_EBW16ROI;
extern __declspec (package) const GUID DIID__DEC24ROI;
extern __declspec (package) const GUID DIID__DEC24ROIEvents;
extern __declspec (package) const GUID CLSID_EC24ROI;
extern __declspec (package) const GUID DIID__DEBW8Vector;
extern __declspec (package) const GUID DIID__DEBW8VectorEvents;
extern __declspec (package) const GUID CLSID_EBW8Vector;
extern __declspec (package) const GUID DIID__DEBW16Vector;
extern __declspec (package) const GUID DIID__DEBW16VectorEvents;
extern __declspec (package) const GUID CLSID_EBW16Vector;
extern __declspec (package) const GUID DIID__DEBW32Vector;
extern __declspec (package) const GUID DIID__DEBW32VectorEvents;
extern __declspec (package) const GUID CLSID_EBW32Vector;
extern __declspec (package) const GUID DIID__DEC24Vector;
extern __declspec (package) const GUID DIID__DEC24VectorEvents;
extern __declspec (package) const GUID CLSID_EC24Vector;
extern __declspec (package) const GUID DIID__DEPathVector;
extern __declspec (package) const GUID DIID__DEPathVectorEvents;
extern __declspec (package) const GUID CLSID_EPathVector;
extern __declspec (package) const GUID DIID__DEBW8HistogramVector;
extern __declspec (package) const GUID DIID__DEBW8HistogramVectorEvents;
extern __declspec (package) const GUID CLSID_EBW8HistogramVector;
extern __declspec (package) const GUID DIID__DEBW8PathVector;
extern __declspec (package) const GUID DIID__DEBW8PathVectorEvents;
extern __declspec (package) const GUID CLSID_EBW8PathVector;
extern __declspec (package) const GUID DIID__DEC24PathVector;
extern __declspec (package) const GUID DIID__DEC24PathVectorEvents;
extern __declspec (package) const GUID CLSID_EC24PathVector;
extern __declspec (package) const GUID DIID__DEPeaksVector;
extern __declspec (package) const GUID DIID__DEPeaksVectorEvents;
extern __declspec (package) const GUID CLSID_EPeaksVector;
extern __declspec (package) const GUID DIID__DEKernel;
extern __declspec (package) const GUID DIID__DEKernelEvents;
extern __declspec (package) const GUID CLSID_EKernel;
extern __declspec (package) const GUID DIID__DEColorLookup;
extern __declspec (package) const GUID DIID__DEColorLookupEvents;
extern __declspec (package) const GUID CLSID_EColorLookup;
extern __declspec (package) const GUID DIID__DECodedImage;
extern __declspec (package) const GUID DIID__DECodedImageEvents;
extern __declspec (package) const GUID CLSID_ECodedImage;
extern __declspec (package) const GUID DIID__DEMatch;
extern __declspec (package) const GUID DIID__DEMatchEvents;
extern __declspec (package) const GUID CLSID_EMatch;
extern __declspec (package) const GUID DIID__DEPointMeasure;
extern __declspec (package) const GUID DIID__DEPointMeasureEvents;
extern __declspec (package) const GUID CLSID_EPointMeasure;
extern __declspec (package) const GUID DIID__DELineMeasure;
extern __declspec (package) const GUID DIID__DELineMeasureEvents;
extern __declspec (package) const GUID CLSID_ELineMeasure;
extern __declspec (package) const GUID DIID__DECircleMeasure;
extern __declspec (package) const GUID DIID__DECircleMeasureEvents;
extern __declspec (package) const GUID CLSID_ECircleMeasure;
extern __declspec (package) const GUID DIID__DEOCR;
extern __declspec (package) const GUID DIID__DEOCREvents;
extern __declspec (package) const GUID CLSID_EOCR;
extern __declspec (package) const GUID DIID__DEOCV;
extern __declspec (package) const GUID DIID__DEOCVEvents;
extern __declspec (package) const GUID CLSID_EOCV;
extern __declspec (package) const GUID DIID__DEOCVChar;
extern __declspec (package) const GUID DIID__DEOCVCharEvents;
extern __declspec (package) const GUID CLSID_EOCVChar;
extern __declspec (package) const GUID DIID__DEOCVText;
extern __declspec (package) const GUID DIID__DEOCVTextEvents;
extern __declspec (package) const GUID CLSID_EOCVText;
extern __declspec (package) const GUID DIID__DEasyMain;
extern __declspec (package) const GUID DIID__DEasyMainEvents;
extern __declspec (package) const GUID CLSID_EasyMain;
extern __declspec (package) const GUID DIID__DEMovingAverage;
extern __declspec (package) const GUID DIID__DEMovingAverageEvents;
extern __declspec (package) const GUID CLSID_EMovingAverage;
extern __declspec (package) const GUID DIID__DEMatrixCode;
extern __declspec (package) const GUID DIID__DEMatrixCodeEvents;
extern __declspec (package) const GUID CLSID_EMatrixCode;
extern __declspec (package) const GUID DIID__DEImageSequence;
extern __declspec (package) const GUID DIID__DEImageSequenceEvents;
extern __declspec (package) const GUID CLSID_EImageSequence;
extern __declspec (package) const GUID DIID__DEFind;
extern __declspec (package) const GUID DIID__DEFindEvents;
extern __declspec (package) const GUID CLSID_EFind;

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
enum      enumTraceModes;
enum      enumDataTypes;
enum      enumImageTypes;
enum      enumDataSizes;
enum      enumColorSystems;
enum      enumFileFormats;
enum      enumUnits;
enum      enumDrawStyle;
enum      enumDrawMode;
enum      enumFillStyle;
enum      enumFramePosition;
enum      enumHandleNames;
enum      enumAngleUnits;
enum      enumSelectionMode;
enum      enumImgOperators;
enum      enumImgHistogramFeatures;
enum      enumImgContourMode;
enum      enumImgContourThreshold;
enum      enumImgContourConnexity;
enum      enumImgKernelTypes;
enum      enumImgKernelRectifiers;
enum      enumImgKernelRotationModes;
enum      enumImgTransScanEdges;
enum      enumImgThresholdModes;
enum      enumImgReferenceNoise;
enum      enumClrRGBStandards;
enum      enumClrQuantization;
enum      enumObjSelectOptions;
enum      enumObjSelectByPosition;
enum      enumObjSortOptions;
enum      enumObjObjectFeatures;
enum      enumObjSelectionMode;
enum      enumObjObjectConnexity;
enum      enumMsrTransitionType;
enum      enumMsrTransitionChoice;
enum      enumMsrType;
enum      enumMsrToleranceVertically;
enum      enumMsrTransitionSmoothing;
enum      enumMsrInverseTransition;
enum      enumMsrSlope;
enum      enumMsrBaseVertically;
enum      enumMsrCircleCentering;
enum      enumMsrCircleIsotropic;
enum      enumMsrCircleAutomaticStop;
enum      enumMsrDrawingMode;
enum      enumMsrHandleNames;
enum      enumMchCorrelationMode;
enum      enumMchContrastMode;
enum      enumOcrClasses;
enum      enumOcrColor;
enum      enumOcrSegmentationMode;
enum      enumOcvCharCreationModes;
enum      enumOcvLocationMode;
enum      enumBooleanValues;
enum      enumMxcSymbolSize;
enum      enumMxcSymbolContrast;
enum      enumMxcSymbolFlipping;
enum      enumMxcSymbolOrientation;
enum      enumMxcECCFamily;
enum      enumMxcThresholdModes;
enum      enumMxcHandles;
enum      enumOverlayMode;
enum      enumTextAlignV;
enum      enumTextAlignH;
enum      enumCursorMode;
enum      enumOcrShiftingMode;
enum      enumOcrMatchingMode;
enum      enumState;
enum      enumFndContrastMode;
interface DECLSPEC_UUID("{9AE86E08-97BC-11D1-A49B-000021633168}") _DEBW8Image;
typedef TComInterface<_DEBW8Image, &DIID__DEBW8Image> _DEBW8ImagePtr;
interface DECLSPEC_UUID("{9AE86E09-97BC-11D1-A49B-000021633168}") _DEBW8ImageEvents;
typedef TComInterface<_DEBW8ImageEvents, &DIID__DEBW8ImageEvents> _DEBW8ImageEventsPtr;
interface DECLSPEC_UUID("{9AE86E0C-97BC-11D1-A49B-000021633168}") _DEBW16Image;
typedef TComInterface<_DEBW16Image, &DIID__DEBW16Image> _DEBW16ImagePtr;
interface DECLSPEC_UUID("{9AE86E0D-97BC-11D1-A49B-000021633168}") _DEBW16ImageEvents;
typedef TComInterface<_DEBW16ImageEvents, &DIID__DEBW16ImageEvents> _DEBW16ImageEventsPtr;
interface DECLSPEC_UUID("{9AE86E14-97BC-11D1-A49B-000021633168}") _DEC24Image;
typedef TComInterface<_DEC24Image, &DIID__DEC24Image> _DEC24ImagePtr;
interface DECLSPEC_UUID("{9AE86E15-97BC-11D1-A49B-000021633168}") _DEC24ImageEvents;
typedef TComInterface<_DEC24ImageEvents, &DIID__DEC24ImageEvents> _DEC24ImageEventsPtr;
interface DECLSPEC_UUID("{9AE86E24-97BC-11D1-A49B-000021633168}") _DEBW8ROI;
typedef TComInterface<_DEBW8ROI, &DIID__DEBW8ROI> _DEBW8ROIPtr;
interface DECLSPEC_UUID("{9AE86E25-97BC-11D1-A49B-000021633168}") _DEBW8ROIEvents;
typedef TComInterface<_DEBW8ROIEvents, &DIID__DEBW8ROIEvents> _DEBW8ROIEventsPtr;
interface DECLSPEC_UUID("{9AE86E28-97BC-11D1-A49B-000021633168}") _DEBW16ROI;
typedef TComInterface<_DEBW16ROI, &DIID__DEBW16ROI> _DEBW16ROIPtr;
interface DECLSPEC_UUID("{9AE86E29-97BC-11D1-A49B-000021633168}") _DEBW16ROIEvents;
typedef TComInterface<_DEBW16ROIEvents, &DIID__DEBW16ROIEvents> _DEBW16ROIEventsPtr;
interface DECLSPEC_UUID("{9AE86E30-97BC-11D1-A49B-000021633168}") _DEC24ROI;
typedef TComInterface<_DEC24ROI, &DIID__DEC24ROI> _DEC24ROIPtr;
interface DECLSPEC_UUID("{9AE86E31-97BC-11D1-A49B-000021633168}") _DEC24ROIEvents;
typedef TComInterface<_DEC24ROIEvents, &DIID__DEC24ROIEvents> _DEC24ROIEventsPtr;
interface DECLSPEC_UUID("{9AE86E40-97BC-11D1-A49B-000021633168}") _DEBW8Vector;
typedef TComInterface<_DEBW8Vector, &DIID__DEBW8Vector> _DEBW8VectorPtr;
interface DECLSPEC_UUID("{9AE86E41-97BC-11D1-A49B-000021633168}") _DEBW8VectorEvents;
typedef TComInterface<_DEBW8VectorEvents, &DIID__DEBW8VectorEvents> _DEBW8VectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E44-97BC-11D1-A49B-000021633168}") _DEBW16Vector;
typedef TComInterface<_DEBW16Vector, &DIID__DEBW16Vector> _DEBW16VectorPtr;
interface DECLSPEC_UUID("{9AE86E45-97BC-11D1-A49B-000021633168}") _DEBW16VectorEvents;
typedef TComInterface<_DEBW16VectorEvents, &DIID__DEBW16VectorEvents> _DEBW16VectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E48-97BC-11D1-A49B-000021633168}") _DEBW32Vector;
typedef TComInterface<_DEBW32Vector, &DIID__DEBW32Vector> _DEBW32VectorPtr;
interface DECLSPEC_UUID("{9AE86E49-97BC-11D1-A49B-000021633168}") _DEBW32VectorEvents;
typedef TComInterface<_DEBW32VectorEvents, &DIID__DEBW32VectorEvents> _DEBW32VectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E4C-97BC-11D1-A49B-000021633168}") _DEC24Vector;
typedef TComInterface<_DEC24Vector, &DIID__DEC24Vector> _DEC24VectorPtr;
interface DECLSPEC_UUID("{9AE86E4D-97BC-11D1-A49B-000021633168}") _DEC24VectorEvents;
typedef TComInterface<_DEC24VectorEvents, &DIID__DEC24VectorEvents> _DEC24VectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E5C-97BC-11D1-A49B-000021633168}") _DEPathVector;
typedef TComInterface<_DEPathVector, &DIID__DEPathVector> _DEPathVectorPtr;
interface DECLSPEC_UUID("{9AE86E5D-97BC-11D1-A49B-000021633168}") _DEPathVectorEvents;
typedef TComInterface<_DEPathVectorEvents, &DIID__DEPathVectorEvents> _DEPathVectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E64-97BC-11D1-A49B-000021633168}") _DEBW8HistogramVector;
typedef TComInterface<_DEBW8HistogramVector, &DIID__DEBW8HistogramVector> _DEBW8HistogramVectorPtr;
interface DECLSPEC_UUID("{9AE86E65-97BC-11D1-A49B-000021633168}") _DEBW8HistogramVectorEvents;
typedef TComInterface<_DEBW8HistogramVectorEvents, &DIID__DEBW8HistogramVectorEvents> _DEBW8HistogramVectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E68-97BC-11D1-A49B-000021633168}") _DEBW8PathVector;
typedef TComInterface<_DEBW8PathVector, &DIID__DEBW8PathVector> _DEBW8PathVectorPtr;
interface DECLSPEC_UUID("{9AE86E69-97BC-11D1-A49B-000021633168}") _DEBW8PathVectorEvents;
typedef TComInterface<_DEBW8PathVectorEvents, &DIID__DEBW8PathVectorEvents> _DEBW8PathVectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E6C-97BC-11D1-A49B-000021633168}") _DEC24PathVector;
typedef TComInterface<_DEC24PathVector, &DIID__DEC24PathVector> _DEC24PathVectorPtr;
interface DECLSPEC_UUID("{9AE86E6D-97BC-11D1-A49B-000021633168}") _DEC24PathVectorEvents;
typedef TComInterface<_DEC24PathVectorEvents, &DIID__DEC24PathVectorEvents> _DEC24PathVectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E70-97BC-11D1-A49B-000021633168}") _DEPeaksVector;
typedef TComInterface<_DEPeaksVector, &DIID__DEPeaksVector> _DEPeaksVectorPtr;
interface DECLSPEC_UUID("{9AE86E71-97BC-11D1-A49B-000021633168}") _DEPeaksVectorEvents;
typedef TComInterface<_DEPeaksVectorEvents, &DIID__DEPeaksVectorEvents> _DEPeaksVectorEventsPtr;
interface DECLSPEC_UUID("{9AE86E78-97BC-11D1-A49B-000021633168}") _DEKernel;
typedef TComInterface<_DEKernel, &DIID__DEKernel> _DEKernelPtr;
interface DECLSPEC_UUID("{9AE86E79-97BC-11D1-A49B-000021633168}") _DEKernelEvents;
typedef TComInterface<_DEKernelEvents, &DIID__DEKernelEvents> _DEKernelEventsPtr;
interface DECLSPEC_UUID("{9AE86E7C-97BC-11D1-A49B-000021633168}") _DEColorLookup;
typedef TComInterface<_DEColorLookup, &DIID__DEColorLookup> _DEColorLookupPtr;
interface DECLSPEC_UUID("{9AE86E7D-97BC-11D1-A49B-000021633168}") _DEColorLookupEvents;
typedef TComInterface<_DEColorLookupEvents, &DIID__DEColorLookupEvents> _DEColorLookupEventsPtr;
interface DECLSPEC_UUID("{9AE86E90-97BC-11D1-A49B-000021633168}") _DECodedImage;
typedef TComInterface<_DECodedImage, &DIID__DECodedImage> _DECodedImagePtr;
interface DECLSPEC_UUID("{9AE86E91-97BC-11D1-A49B-000021633168}") _DECodedImageEvents;
typedef TComInterface<_DECodedImageEvents, &DIID__DECodedImageEvents> _DECodedImageEventsPtr;
interface DECLSPEC_UUID("{9AE86E94-97BC-11D1-A49B-000021633168}") _DEMatch;
typedef TComInterface<_DEMatch, &DIID__DEMatch> _DEMatchPtr;
interface DECLSPEC_UUID("{9AE86E95-97BC-11D1-A49B-000021633168}") _DEMatchEvents;
typedef TComInterface<_DEMatchEvents, &DIID__DEMatchEvents> _DEMatchEventsPtr;
interface DECLSPEC_UUID("{9AE86E9C-97BC-11D1-A49B-000021633168}") _DEPointMeasure;
typedef TComInterface<_DEPointMeasure, &DIID__DEPointMeasure> _DEPointMeasurePtr;
interface DECLSPEC_UUID("{9AE86E9D-97BC-11D1-A49B-000021633168}") _DEPointMeasureEvents;
typedef TComInterface<_DEPointMeasureEvents, &DIID__DEPointMeasureEvents> _DEPointMeasureEventsPtr;
interface DECLSPEC_UUID("{9AE86EA0-97BC-11D1-A49B-000021633168}") _DELineMeasure;
typedef TComInterface<_DELineMeasure, &DIID__DELineMeasure> _DELineMeasurePtr;
interface DECLSPEC_UUID("{9AE86EA1-97BC-11D1-A49B-000021633168}") _DELineMeasureEvents;
typedef TComInterface<_DELineMeasureEvents, &DIID__DELineMeasureEvents> _DELineMeasureEventsPtr;
interface DECLSPEC_UUID("{9AE86EA4-97BC-11D1-A49B-000021633168}") _DECircleMeasure;
typedef TComInterface<_DECircleMeasure, &DIID__DECircleMeasure> _DECircleMeasurePtr;
interface DECLSPEC_UUID("{9AE86EA5-97BC-11D1-A49B-000021633168}") _DECircleMeasureEvents;
typedef TComInterface<_DECircleMeasureEvents, &DIID__DECircleMeasureEvents> _DECircleMeasureEventsPtr;
interface DECLSPEC_UUID("{9AE86EA8-97BC-11D1-A49B-000021633168}") _DEOCR;
typedef TComInterface<_DEOCR, &DIID__DEOCR> _DEOCRPtr;
interface DECLSPEC_UUID("{9AE86EA9-97BC-11D1-A49B-000021633168}") _DEOCREvents;
typedef TComInterface<_DEOCREvents, &DIID__DEOCREvents> _DEOCREventsPtr;
interface DECLSPEC_UUID("{9AE86EB0-97BC-11D1-A49B-000021633168}") _DEOCV;
typedef TComInterface<_DEOCV, &DIID__DEOCV> _DEOCVPtr;
interface DECLSPEC_UUID("{9AE86EB1-97BC-11D1-A49B-000021633168}") _DEOCVEvents;
typedef TComInterface<_DEOCVEvents, &DIID__DEOCVEvents> _DEOCVEventsPtr;
interface DECLSPEC_UUID("{9AE86EB4-97BC-11D1-A49B-000021633168}") _DEOCVChar;
typedef TComInterface<_DEOCVChar, &DIID__DEOCVChar> _DEOCVCharPtr;
interface DECLSPEC_UUID("{9AE86EB5-97BC-11D1-A49B-000021633168}") _DEOCVCharEvents;
typedef TComInterface<_DEOCVCharEvents, &DIID__DEOCVCharEvents> _DEOCVCharEventsPtr;
interface DECLSPEC_UUID("{9AE86EB8-97BC-11D1-A49B-000021633168}") _DEOCVText;
typedef TComInterface<_DEOCVText, &DIID__DEOCVText> _DEOCVTextPtr;
interface DECLSPEC_UUID("{9AE86EB9-97BC-11D1-A49B-000021633168}") _DEOCVTextEvents;
typedef TComInterface<_DEOCVTextEvents, &DIID__DEOCVTextEvents> _DEOCVTextEventsPtr;
interface DECLSPEC_UUID("{9AE86EAC-97BC-11D1-A49B-000021633168}") _DEasyMain;
typedef TComInterface<_DEasyMain, &DIID__DEasyMain> _DEasyMainPtr;
interface DECLSPEC_UUID("{9AE86EAD-97BC-11D1-A49B-000021633168}") _DEasyMainEvents;
typedef TComInterface<_DEasyMainEvents, &DIID__DEasyMainEvents> _DEasyMainEventsPtr;
interface DECLSPEC_UUID("{9AE86EBC-97BC-11D1-A49B-000021633168}") _DEMovingAverage;
typedef TComInterface<_DEMovingAverage, &DIID__DEMovingAverage> _DEMovingAveragePtr;
interface DECLSPEC_UUID("{9AE86EBD-97BC-11D1-A49B-000021633168}") _DEMovingAverageEvents;
typedef TComInterface<_DEMovingAverageEvents, &DIID__DEMovingAverageEvents> _DEMovingAverageEventsPtr;
interface DECLSPEC_UUID("{9AE86EC0-97BC-11D1-A49B-000021633168}") _DEMatrixCode;
typedef TComInterface<_DEMatrixCode, &DIID__DEMatrixCode> _DEMatrixCodePtr;
interface DECLSPEC_UUID("{9AE86EC1-97BC-11D1-A49B-000021633168}") _DEMatrixCodeEvents;
typedef TComInterface<_DEMatrixCodeEvents, &DIID__DEMatrixCodeEvents> _DEMatrixCodeEventsPtr;
interface DECLSPEC_UUID("{9AE86EC4-97BC-11D1-A49B-000021633168}") _DEImageSequence;
typedef TComInterface<_DEImageSequence, &DIID__DEImageSequence> _DEImageSequencePtr;
interface DECLSPEC_UUID("{9AE86EC5-97BC-11D1-A49B-000021633168}") _DEImageSequenceEvents;
typedef TComInterface<_DEImageSequenceEvents, &DIID__DEImageSequenceEvents> _DEImageSequenceEventsPtr;
interface DECLSPEC_UUID("{9AE86EC8-97BC-11D1-A49B-000021633168}") _DEFind;
typedef TComInterface<_DEFind, &DIID__DEFind> _DEFindPtr;
interface DECLSPEC_UUID("{9AE86EC9-97BC-11D1-A49B-000021633168}") _DEFindEvents;
typedef TComInterface<_DEFindEvents, &DIID__DEFindEvents> _DEFindEventsPtr;

// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
//                                                                        
// The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this  
// TypeLibrary. It simplifies the updating of macros when CoClass name    
// change.                                                                
// *********************************************************************//
typedef _DEBW8Image EBW8Image;
typedef _DEBW8ImagePtr EBW8ImagePtr;
typedef _DEBW16Image EBW16Image;
typedef _DEBW16ImagePtr EBW16ImagePtr;
typedef _DEC24Image EC24Image;
typedef _DEC24ImagePtr EC24ImagePtr;
typedef _DEBW8ROI EBW8ROI;
typedef _DEBW8ROIPtr EBW8ROIPtr;
typedef _DEBW16ROI EBW16ROI;
typedef _DEBW16ROIPtr EBW16ROIPtr;
typedef _DEC24ROI EC24ROI;
typedef _DEC24ROIPtr EC24ROIPtr;
typedef _DEBW8Vector EBW8Vector;
typedef _DEBW8VectorPtr EBW8VectorPtr;
typedef _DEBW16Vector EBW16Vector;
typedef _DEBW16VectorPtr EBW16VectorPtr;
typedef _DEBW32Vector EBW32Vector;
typedef _DEBW32VectorPtr EBW32VectorPtr;
typedef _DEC24Vector EC24Vector;
typedef _DEC24VectorPtr EC24VectorPtr;
typedef _DEPathVector EPathVector;
typedef _DEPathVectorPtr EPathVectorPtr;
typedef _DEBW8HistogramVector EBW8HistogramVector;
typedef _DEBW8HistogramVectorPtr EBW8HistogramVectorPtr;
typedef _DEBW8PathVector EBW8PathVector;
typedef _DEBW8PathVectorPtr EBW8PathVectorPtr;
typedef _DEC24PathVector EC24PathVector;
typedef _DEC24PathVectorPtr EC24PathVectorPtr;
typedef _DEPeaksVector EPeaksVector;
typedef _DEPeaksVectorPtr EPeaksVectorPtr;
typedef _DEKernel EKernel;
typedef _DEKernelPtr EKernelPtr;
typedef _DEColorLookup EColorLookup;
typedef _DEColorLookupPtr EColorLookupPtr;
typedef _DECodedImage ECodedImage;
typedef _DECodedImagePtr ECodedImagePtr;
typedef _DEMatch EMatch;
typedef _DEMatchPtr EMatchPtr;
typedef _DEPointMeasure EPointMeasure;
typedef _DEPointMeasurePtr EPointMeasurePtr;
typedef _DELineMeasure ELineMeasure;
typedef _DELineMeasurePtr ELineMeasurePtr;
typedef _DECircleMeasure ECircleMeasure;
typedef _DECircleMeasurePtr ECircleMeasurePtr;
typedef _DEOCR EOCR;
typedef _DEOCRPtr EOCRPtr;
typedef _DEOCV EOCV;
typedef _DEOCVPtr EOCVPtr;
typedef _DEOCVChar EOCVChar;
typedef _DEOCVCharPtr EOCVCharPtr;
typedef _DEOCVText EOCVText;
typedef _DEOCVTextPtr EOCVTextPtr;
typedef _DEasyMain EasyMain;
typedef _DEasyMainPtr EasyMainPtr;
typedef _DEMovingAverage EMovingAverage;
typedef _DEMovingAveragePtr EMovingAveragePtr;
typedef _DEMatrixCode EMatrixCode;
typedef _DEMatrixCodePtr EMatrixCodePtr;
typedef _DEImageSequence EImageSequence;
typedef _DEImageSequencePtr EImageSequencePtr;
typedef _DEFind EFind;
typedef _DEFindPtr EFindPtr;

#define LIBID_OF_EBW8Image (&LIBID_eVision)
#define LIBID_OF_EBW16Image (&LIBID_eVision)
#define LIBID_OF_EC24Image (&LIBID_eVision)
#define LIBID_OF_EBW8ROI (&LIBID_eVision)
#define LIBID_OF_EBW16ROI (&LIBID_eVision)
#define LIBID_OF_EC24ROI (&LIBID_eVision)
#define LIBID_OF_EBW8Vector (&LIBID_eVision)
#define LIBID_OF_EBW16Vector (&LIBID_eVision)
#define LIBID_OF_EBW32Vector (&LIBID_eVision)
#define LIBID_OF_EC24Vector (&LIBID_eVision)
#define LIBID_OF_EPathVector (&LIBID_eVision)
#define LIBID_OF_EBW8HistogramVector (&LIBID_eVision)
#define LIBID_OF_EBW8PathVector (&LIBID_eVision)
#define LIBID_OF_EC24PathVector (&LIBID_eVision)
#define LIBID_OF_EPeaksVector (&LIBID_eVision)
#define LIBID_OF_EKernel (&LIBID_eVision)
#define LIBID_OF_EColorLookup (&LIBID_eVision)
#define LIBID_OF_ECodedImage (&LIBID_eVision)
#define LIBID_OF_EMatch (&LIBID_eVision)
#define LIBID_OF_EPointMeasure (&LIBID_eVision)
#define LIBID_OF_ELineMeasure (&LIBID_eVision)
#define LIBID_OF_ECircleMeasure (&LIBID_eVision)
#define LIBID_OF_EOCR (&LIBID_eVision)
#define LIBID_OF_EOCV (&LIBID_eVision)
#define LIBID_OF_EOCVChar (&LIBID_eVision)
#define LIBID_OF_EOCVText (&LIBID_eVision)
#define LIBID_OF_EasyMain (&LIBID_eVision)
#define LIBID_OF_EMovingAverage (&LIBID_eVision)
#define LIBID_OF_EMatrixCode (&LIBID_eVision)
#define LIBID_OF_EImageSequence (&LIBID_eVision)
#define LIBID_OF_EFind (&LIBID_eVision)

// *********************************************************************//
// Declaration of Enumerations defined in Type Library                    
// *********************************************************************//
typedef enum enumTraceModes
{
  eSilent = 0, 
  eDisplayMessage = 1
} enumTraceModes;

typedef enum enumDataTypes
{
  eUnsignedInt = 1, 
  eSignedInt = 2, 
  eFloat = 4
} enumDataTypes;

typedef enum enumImageTypes
{
  eBW1 = 0, 
  eBW8 = 1, 
  eBW16 = 2, 
  eBW32 = 3, 
  eC15 = 4, 
  eC16 = 5, 
  eC24 = 6, 
  eC24A = 7
} enumImageTypes;

typedef enum enumDataSizes
{
  e1BitData = 1, 
  e8BitsData = 2, 
  e16BitsData = 4, 
  e32BitsData = 8, 
  e64BitsData = 16, 
  e24BitsData = 32
} enumDataSizes;

typedef enum enumColorSystems
{
  eNoColorSystem = 0, 
  eBilevel = 1, 
  eGrayLevel = 2, 
  eXYZ = 3, 
  eRGB = 4, 
  eLAB = 5, 
  eLUV = 6, 
  eYUV = 7, 
  eYIQ = 8, 
  eLCH = 9, 
  eISH = 10, 
  eLSH = 11, 
  eVSH = 12, 
  eYSH = 13, 
  eLabelized = 14
} enumColorSystems;

typedef enum enumFileFormats
{
  eBilevelTiff = 0, 
  eGrayLevelTiff = 1, 
  eColorTiff = 2, 
  ePackedBilevelTiff = 3, 
  ePackedGrayLevelTiff = 4, 
  ePackedColorTiff = 5, 
  eBilevelBmp = 6, 
  eGrayLevelBmp = 7, 
  eColorBmp = 8, 
  eBilevelJpeg = 9, 
  eGrayLevelJpeg = 10, 
  eColorJpeg = 11, 
  eAuto = 11
} enumFileFormats;

typedef enum enumUnits
{
  eNoUnit = 0, 
  eMicrons = 1, 
  eMillimeters = 2, 
  eCentimeters = 3, 
  eDecimeters = 4, 
  eMeters = 5, 
  eDecameters = 6, 
  eHectometers = 7, 
  eKilometers = 8, 
  eUSMiles = 9, 
  eInches = 10, 
  eFeet = 11, 
  eYards = 12, 
  eUKMiles = 13
} enumUnits;

typedef enum enumDrawStyle
{
  eSolid = 0, 
  eDash = 1, 
  eDot = 2, 
  eDashDot = 3, 
  eDashDotDot = 4, 
  eInvisible = 5, 
  eInsideSolid = 6
} enumDrawStyle;

typedef enum enumDrawMode
{
  eBlackness = 1, 
  eNotMergePen = 2, 
  eMaskNotPen = 3, 
  eNotCopyPen = 4, 
  eMaskPenNot = 5, 
  eInvert = 6, 
  eXorPen = 7, 
  eNotMaskPen = 8, 
  eMaskPen = 9, 
  eNotXorPen = 10, 
  eNop = 11, 
  eMergeNotPen = 12, 
  eCopyPen = 13, 
  eMergePenNot = 14, 
  eMergePen = 15, 
  eWhiteness = 16
} enumDrawMode;

typedef enum enumFillStyle
{
  eFSSolid = 0, 
  eFSTransparent = 1, 
  eHorizontalLine = 2, 
  eVerticalLine = 3, 
  eUpwardDiagonal = 4, 
  eDownwardDiagonal = 5, 
  eCross = 6, 
  eDiagonalCross = 7
} enumFillStyle;

typedef enum enumFramePosition
{
  eFrameOn = 0, 
  eFrameInside = 1, 
  eFrameOutside = 2
} enumFramePosition;

typedef enum enumHandleNames
{
  eHandleNone = 0, 
  eHandleInside = 1, 
  eHandleNorth = 2, 
  eHandleEast = 3, 
  eHandleSouth = 4, 
  eHandleWest = 5, 
  eHandleNorthWest = 6, 
  eHandleSouthWest = 7, 
  eHandleNorthEast = 8, 
  eHandleSouthEast = 9
} enumHandleNames;

typedef enum enumAngleUnits
{
  eRevolutions = 0, 
  eRadians = 1, 
  eDegrees = 2, 
  eGrades = 3
} enumAngleUnits;

typedef enum enumSelectionMode
{
  eSelectedAny = 0, 
  eSelectedTrue = 1, 
  eSelectedFalse = 2
} enumSelectionMode;

typedef enum enumImgOperators
{
  eImgCopy = 0, 
  eImgInvert = 1, 
  eImgAdd = 2, 
  eImgSubtract = 3, 
  eImgMultiply = 4, 
  eImgDivide = 5, 
  eImgModulo = 6, 
  eImgShiftLeft = 7, 
  eImgShiftRight = 8, 
  eImgScaledAdd = 9, 
  eImgScaledSubtract = 10, 
  eImgScaledMultiply = 11, 
  eImgScaledDivide = 12, 
  eImgBitwiseAnd = 13, 
  eImgBitwiseOr = 14, 
  eImgBitwiseXor = 15, 
  eImgLogicalAnd = 16, 
  eImgLogicalOr = 17, 
  eImgLogicalXor = 18, 
  eImgMinimum = 19, 
  eImgMaximum = 20, 
  eImgSetZero = 21, 
  eImgSetNonZero = 22, 
  eImgEqual = 23, 
  eImgNotEqual = 24, 
  eImgGreaterOrEqual = 25, 
  eImgLesserOrEqual = 26, 
  eImgGreater = 27, 
  eImgLesser = 28, 
  eImgCompare = 33, 
  eImgOverlay = 34
} enumImgOperators;

typedef enum enumImgHistogramFeatures
{
  eImgMostFrequentPixelValue = 0, 
  eImgMostFrequentPixelFrequency = 1, 
  eImgLeastFrequentPixelValue = 2, 
  eImgLeastFrequentPixelFrequency = 3, 
  eImgSmallestPixelValue = 4, 
  eImgGreatestPixelValue = 5, 
  eImgPixelCount = 6, 
  eImgAveragePixelValue = 7, 
  eImgPixelValueStdDev = 8
} enumImgHistogramFeatures;

typedef enum enumImgContourMode
{
  eImgClockwise = 0, 
  eImgClockwiseAlwaysClosed = 1, 
  eImgClockwiseContinueIfBorder = 2, 
  eImgAnticlockwise = 3, 
  eImgAnticlockwiseContinueIfBorder = 4, 
  eImgAnticlockwiseAlwaysClosed = 5
} enumImgContourMode;

typedef enum enumImgContourThreshold
{
  eImgAboveThreshold = 0, 
  eImgBelowThreshold = 1
} enumImgContourThreshold;

typedef enum enumImgContourConnexity
{
  eImgConnexity4 = 0, 
  eImgConnexity8 = 1
} enumImgContourConnexity;

typedef enum enumImgKernelTypes
{
  eImgSobelX = 4, 
  eImgSobelY = 5, 
  eImgPrewitX = 6, 
  eImgPrewitY = 7, 
  eImgLaplacian4 = 8, 
  eImgLaplacian8 = 9, 
  eImgLowpass1 = 10, 
  eImgLowpass2 = 11, 
  eImgLowpass3 = 12, 
  eImgHighpass1 = 13, 
  eImgHighpass2 = 14
} enumImgKernelTypes;

typedef enum enumImgKernelRectifiers
{
  eImgDoNotRectify = 0, 
  eImgRectifyKeepNegative = 1, 
  eImgRectifyKeepPositive = 2, 
  eImgRectifyAbsolute = 3
} enumImgKernelRectifiers;

typedef enum enumImgKernelRotationModes
{
  eImgNoRotation = 0, 
  eImgClockwiseRotation = 1, 
  eImgAnticlockwiseRotation = 2
} enumImgKernelRotationModes;

typedef enum enumImgTransScanEdges
{
  eImgEdgeDarkToLight = 1, 
  eImgEdgeLightToDark = 2, 
  eImgEdgeAny = 3
} enumImgTransScanEdges;

typedef enum enumImgThresholdModes
{
  eImgAbsoluteThreshold = 0xFFFFFFFE, 
  eImgRelativeThreshold = 0xFFFFFFFD, 
  eImgMinResidueThreshold = 0xFFFFFFFC, 
  eImgMaxEntropyThreshold = 0xFFFFFFFB, 
  eImgIsodataThreshold = 0xFFFFFFFA
} enumImgThresholdModes;

typedef enum enumImgReferenceNoise
{
  eImgNoiseNone = 0, 
  eImgNoiseSameAsImage = 1, 
  eImgNoiseSameAsImageInclusive = 2
} enumImgReferenceNoise;

typedef enum enumClrRGBStandards
{
  eClrNTSC = 0, 
  eClrPAL = 1, 
  eClrSMPTE = 2
} enumClrRGBStandards;

typedef enum enumClrQuantization
{
  eClrFullRange = 0, 
  eClrCCIR601 = 1
} enumClrQuantization;

typedef enum enumObjSelectOptions
{
  eObjInsertAll = 0, 
  eObjInsertGreaterOrEqual = 1, 
  eObjInsertLesserOrEqual = 2, 
  eObjInsertRange = 3, 
  eObjRemoveAll = 4, 
  eObjRemoveGreaterOrEqual = 5, 
  eObjRemoveLesserOrEqual = 6, 
  eObjRemoveRange = 7, 
  eObjInsertOutOfRange = 8, 
  eObjRemoveOutOfRange = 9
} enumObjSelectOptions;

typedef enum enumObjSelectByPosition
{
  eObjInsertIn = 0, 
  eObjInsertTouch = 1, 
  eObjInsertOut = 2, 
  eObjRemoveIn = 3, 
  eObjRemoveTouch = 4, 
  eObjRemoveOut = 5, 
  eObjRemoveBorder = 6
} enumObjSelectByPosition;

typedef enum enumObjSortOptions
{
  eObjSortAscending = 0, 
  eObjSortDescending = 1
} enumObjSortOptions;

typedef enum enumObjObjectFeatures
{
  eObjObjectIndex = 0, 
  eObjClass = 1, 
  eObjRunsNumber = 2, 
  eObjArea = 3, 
  eObjLargestRun = 4, 
  eObjGravityCenterX = 5, 
  eObjGravityCenterY = 6, 
  eObjLimitCenterX = 7, 
  eObjLimitCenterY = 8, 
  eObjLimitWidth = 9, 
  eObjLimitHeight = 10, 
  eObjLimit45CenterX = 11, 
  eObjLimit45CenterY = 12, 
  eObjLimit45Width = 13, 
  eObjLimit45Height = 14, 
  eObjContourX = 15, 
  eObjContourY = 16, 
  eObjPixelMin = 17, 
  eObjPixelMax = 18, 
  eObjSigmaX = 19, 
  eObjSigmaY = 20, 
  eObjSigmaXY = 21, 
  eObjSigmaXX = 22, 
  eObjSigmaYY = 23, 
  eObjEllipseWidth = 24, 
  eObjEllipseHeight = 25, 
  eObjEllipseAngle = 26, 
  eObjCentroidX = 27, 
  eObjCentroidY = 28, 
  eObjGrayAverage = 29, 
  eObjGrayVariance = 30, 
  eObjLimit22CenterX = 31, 
  eObjLimit22CenterY = 32, 
  eObjLimit22Width = 33, 
  eObjLimit22Height = 34, 
  eObjLimit68CenterX = 35, 
  eObjLimit68CenterY = 36, 
  eObjLimit68Width = 37, 
  eObjLimit68Height = 38, 
  eObjLimitAngledCenterX = 39, 
  eObjLimitAngledCenterY = 40, 
  eObjLimitAngledWidth = 41, 
  eObjLimitAngledHeight = 42, 
  eObjFeretCenterX = 43, 
  eObjFeretCenterY = 44, 
  eObjFeretWidth = 45, 
  eObjFeretHeight = 46, 
  eObjFeretAngle = 47, 
  eObjGravityCenter = 5, 
  eObjLimit = 7, 
  eObjLimit22 = 31, 
  eObjLimit45 = 11, 
  eObjLimit68 = 35, 
  eObjLimitAngled = 39, 
  eObjEllipse = 24, 
  eObjCentroid = 27, 
  eObjFeret = 43
} enumObjObjectFeatures;

typedef enum enumObjSelectionMode
{
  eObjSelectedAny = 0, 
  eObjSelectedTrue = 1, 
  eObjSelectedFalse = 2
} enumObjSelectionMode;

typedef enum enumObjObjectConnexity
{
  eObjConnexity4 = 0, 
  eObjConnexity8 = 1
} enumObjObjectConnexity;

typedef enum enumMsrTransitionType
{
  eMsrBW = 0, 
  eMsrWB = 1, 
  eMsrWB_OR_BW = 2, 
  eMsrBWB = 3, 
  eMsrWBW = 4
} enumMsrTransitionType;

typedef enum enumMsrTransitionChoice
{
  eMsrBestSharpness = 0, 
  eMsrCenter = 1, 
  eMsrFromBegin = 2, 
  eMsrFromEnd = 3
} enumMsrTransitionChoice;

typedef enum enumMsrType
{
  eMsrPoint = 0, 
  eMsrLine = 1, 
  eMsrParabola = 2, 
  eMsrCircle = 3
} enumMsrType;

typedef enum enumMsrToleranceVertically
{
  eMsrHorizontal = 0, 
  eMsrVertical = 1
} enumMsrToleranceVertically;

typedef enum enumMsrTransitionSmoothing
{
  eMsrNoSmoothing = 0, 
  eMsrIntegrationAcross3Pixels = 1, 
  eMsrIntegrationAcross5Pixels = 2, 
  eMsrIntegrationAcross9Pixels = 3
} enumMsrTransitionSmoothing;

typedef enum enumMsrInverseTransition
{
  eMsrTopBottomLeftRight = 0, 
  eMsrBottomTopRightLeft = 1
} enumMsrInverseTransition;

typedef enum enumMsrSlope
{
  eMsrVaryingSlope = 0, 
  eMsrFixedSlope = 1
} enumMsrSlope;

typedef enum enumMsrBaseVertically
{
  eMsrMoreHorizontalLine = 0, 
  eMsrMoreVerticalLine = 1
} enumMsrBaseVertically;

typedef enum enumMsrCircleCentering
{
  eMsrNoPreadjustedCircleCenter = 0, 
  eMsrPreadjustedCircleCenter = 1
} enumMsrCircleCentering;

typedef enum enumMsrCircleIsotropic
{
  eMsrUseGeneralAlgorithm = 0, 
  eMsrUseOptimisedAlgorithm = 1
} enumMsrCircleIsotropic;

typedef enum enumMsrCircleAutomaticStop
{
  eMsrIterateUntilThreshold = 0, 
  eMsrIterateUntilCount = 1
} enumMsrCircleAutomaticStop;

typedef enum enumMsrDrawingMode
{
  eMsrDrawNominal = 0, 
  eMsrDrawTransition = 1, 
  eMsrDrawTolerance = 2, 
  eMsrDrawMeasured = 3, 
  eMsrDrawSampledTolerances = 4, 
  eMsrDrawSamplePoints = 5, 
  eMsrDrawInvalidSamplePoints = 6
} enumMsrDrawingMode;

typedef enum enumMsrHandleNames
{
  eMsrHandleNone = 0, 
  eMsrHandleOrg = 1, 
  eMsrHandleMid = 2, 
  eMsrHandleEnd = 3, 
  eMsrHandleTol0 = 4, 
  eMsrHandleTol1 = 5, 
  eMsrHandleCenter = 6
} enumMsrHandleNames;

typedef enum enumMchCorrelationMode
{
  eMchStandard = 0, 
  eMchOffsetNormalized = 1, 
  eMchGainNormalized = 2, 
  eMchNormalized = 3
} enumMchCorrelationMode;

typedef enum enumMchContrastMode
{
  eMchContrastNormal = 0, 
  eMchContrastInverse = 1, 
  eMchContrastAny = 2
} enumMchContrastMode;

typedef enum enumOcrClasses
{
  eOcrClass0 = 1, 
  eOcrClass1 = 2, 
  eOcrClass2 = 4, 
  eOcrClass3 = 8, 
  eOcrClass4 = 16, 
  eOcrClass5 = 32, 
  eOcrClass6 = 64, 
  eOcrClass7 = 128, 
  eOcrClass8 = 256, 
  eOcrClass9 = 512, 
  eOcrClass10 = 1024, 
  eOcrClass11 = 2048, 
  eOcrClass12 = 4096, 
  eOcrClass13 = 8192, 
  eOcrClass14 = 16384, 
  eOcrClass15 = 32768, 
  eOcrClass16 = 65536, 
  eOcrClass17 = 131072, 
  eOcrClass18 = 262144, 
  eOcrClass19 = 524288, 
  eOcrClass20 = 1048576, 
  eOcrClass21 = 2097152, 
  eOcrClass22 = 4194304, 
  eOcrClass23 = 8388608, 
  eOcrClass24 = 16777216, 
  eOcrClass25 = 33554432, 
  eOcrClass26 = 67108864, 
  eOcrClass27 = 134217728, 
  eOcrClass28 = 268435456, 
  eOcrClass29 = 536870912, 
  eOcrClass30 = 1073741824, 
  eOcrClass31 = 0x80000000, 
  eOcrAllClasses = 0xFFFFFFFF, 
  eOcrDigit = 1, 
  eOcrUppercase = 2, 
  eOcrLowercase = 4, 
  eOcrSpecial = 8
} enumOcrClasses;

typedef enum enumOcrColor
{
  eOcrBlackOnWhite = 0, 
  eOcrWhiteOnBlack = 1, 
  eOcrDarkOnLight = 2, 
  eOcrLightOnDark = 3
} enumOcrColor;

typedef enum enumOcrSegmentationMode
{
  eOcrKeepObjects = 0, 
  eOcrRepaseObjects = 1
} enumOcrSegmentationMode;

typedef enum enumOcvCharCreationModes
{
  eOcvCreateCharGroup = 0, 
  eOcvCreateCharOverlap = 1, 
  eOcvCreateCharSeparate = 2
} enumOcvCharCreationModes;

typedef enum enumOcvLocationMode
{
  eOcvLocationRaw = 0, 
  eOcvLocationBinarized = 1, 
  eOcvLocationGradient = 2, 
  eOcvLocationLaplacian = 3
} enumOcvLocationMode;

typedef enum enumBooleanValues
{
  eTrue = 0, 
  eFalse = 1, 
  eUndefined = 2
} enumBooleanValues;

typedef enum enumMxcSymbolSize
{
  eMxcSize9 = 0, 
  eMxcSize11 = 1, 
  eMxcSize13 = 2, 
  eMxcSize15 = 3, 
  eMxcSize17 = 4, 
  eMxcSize19 = 5, 
  eMxcSize21 = 6, 
  eMxcSize23 = 7, 
  eMxcSize25 = 8, 
  eMxcSize27 = 9, 
  eMxcSize29 = 10, 
  eMxcSize31 = 11, 
  eMxcSize33 = 12, 
  eMxcSize35 = 13, 
  eMxcSize37 = 14, 
  eMxcSize39 = 15, 
  eMxcSize41 = 16, 
  eMxcSize43 = 17, 
  eMxcSize45 = 18, 
  eMxcSize47 = 19, 
  eMxcSize49 = 20, 
  eMxcSize10 = 21, 
  eMxcSize12 = 22, 
  eMxcSize14 = 23, 
  eMxcSize16 = 24, 
  eMxcSize18 = 25, 
  eMxcSize20 = 26, 
  eMxcSize22 = 27, 
  eMxcSize24 = 28, 
  eMxcSize26 = 29, 
  eMxcSize32 = 30, 
  eMxcSize36 = 31, 
  eMxcSize40 = 32, 
  eMxcSize44 = 33, 
  eMxcSize48 = 34, 
  eMxcSize52 = 35, 
  eMxcSize64 = 36, 
  eMxcSize72 = 37, 
  eMxcSize80 = 38, 
  eMxcSize88 = 39, 
  eMxcSize96 = 40, 
  eMxcSize104 = 41, 
  eMxcSize120 = 42, 
  eMxcSize132 = 43, 
  eMxcSize144 = 44, 
  eMxcSize8_18 = 45, 
  eMxcSize8_32 = 46, 
  eMxcSize12_26 = 47, 
  eMxcSize12_36 = 48, 
  eMxcSize16_36 = 49, 
  eMxcSize16_48 = 50, 
  eMxcSizeUnknown = 0xFFFFFFFE, 
  eMxcSizeECC000Unknown = 0xFFFFFFFD, 
  eMxcSizeECC050Unknown = 0xFFFFFFFC, 
  eMxcSizeECC080Unknown = 0xFFFFFFFB, 
  eMxcSizeECC100Unknown = 0xFFFFFFFA, 
  eMxcSizeECC140Unknown = 0xFFFFFFF9, 
  eMxcSizeECC200Unknown = 0xFFFFFFF8
} enumMxcSymbolSize;

typedef enum enumMxcSymbolContrast
{
  eMxcBlackOnWhite = 0, 
  eMxcWhiteOnBlack = 1, 
  eMxcContrastUnknown = 0xFFFFFFFE
} enumMxcSymbolContrast;

typedef enum enumMxcSymbolFlipping
{
  eMxcFlippingFalse = 0, 
  eMxcFlippingTrue = 1, 
  eMxcFlippingUnknown = 0xFFFFFFFE
} enumMxcSymbolFlipping;

typedef enum enumMxcSymbolOrientation
{
  eMxcNorth = 0, 
  eMxcEast = 1, 
  eMxcSouth = 2, 
  eMxcWest = 3, 
  eMxcUnknown = 0xFFFFFFFE
} enumMxcSymbolOrientation;

typedef enum enumMxcECCFamily
{
  eMxcECC000 = 0, 
  eMxcECC050 = 1, 
  eMxcECC080 = 2, 
  eMxcECC100 = 3, 
  eMxcECC140 = 4, 
  eMxcECC200 = 5, 
  eMxcECCUnknown = 0xFFFFFFFE
} enumMxcECCFamily;

typedef enum enumMxcThresholdModes
{
  eMxcAbsolute = 0, 
  eMxcMinResidue = 1, 
  eMxcReadTime = 2
} enumMxcThresholdModes;

typedef enum enumMxcHandles
{
  eMxcNoHandle = 0, 
  eMxcCorner00 = 1, 
  eMxcCorner10 = 2, 
  eMxcCorner11 = 3, 
  eMxcCorner01 = 4, 
  eMxcAddCorner = 0
} enumMxcHandles;

typedef enum enumOverlayMode
{
  eInImage = 0, 
  eOnImage = 1, 
  eOnControl = 2
} enumOverlayMode;

typedef enum enumTextAlignV
{
  eTop = 0, 
  eBaseLine = 1, 
  eCenterV = 2, 
  eBottom = 3
} enumTextAlignV;

typedef enum enumTextAlignH
{
  eLeft = 0, 
  eCenterH = 1, 
  eRight = 2
} enumTextAlignH;

typedef enum enumCursorMode
{
  eHand = 0, 
  eMagnifier = 1, 
  eReducer = 2, 
  eStandard = 3
} enumCursorMode;

typedef enum enumOcrShiftingMode
{
  eShiftChars = 0, 
  eShiftText = 1
} enumOcrShiftingMode;

typedef enum enumOcrMatchingMode
{
  eMatchStandard = 0, 
  eMatchNormalized = 1, 
  eMatchRms = 2
} enumOcrMatchingMode;

typedef enum enumState
{
  eStateActive = 0, 
  eStateInactive = 1
} enumState;

typedef enum enumFndContrastMode
{
  eFndContrastNormal = 0, 
  eFndContrastInverse = 1, 
  eFndContrastAny = 2
} enumFndContrastMode;

// *********************************************************************//
// Interface: _DEBW8Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E08-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8Image : public TDispWrapper<IDispatch>
{
  void __fastcall set_Title(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_Title()
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageOrgX */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageOrgX()
  {
    _TDispID _dispid(/* ImageOrgX */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageOrgY */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageOrgY()
  {
    _TDispID _dispid(/* ImageOrgY */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageWidth()
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageHeight()
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BitsPerPixel(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* BitsPerPixel */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_BitsPerPixel()
  {
    _TDispID _dispid(/* BitsPerPixel */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PlanesPerPixel(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PlanesPerPixel */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PlanesPerPixel()
  {
    _TDispID _dispid(/* PlanesPerPixel */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DataType(Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DataType */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDataTypes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ __fastcall get_DataType()
  {
    _TDispID _dispid(/* DataType */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDataTypes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TotalOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgX()
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgY()
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalWidth()
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalHeight()
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelWidth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelWidth()
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelHeight(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelHeight()
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall get_PixelUnit()
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_HorizontalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* HorizontalPixelsPerUnit */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_HorizontalPixelsPerUnit()
  {
    _TDispID _dispid(/* HorizontalPixelsPerUnit */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_VerticalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* VerticalPixelsPerUnit */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_VerticalPixelsPerUnit()
  {
    _TDispID _dispid(/* VerticalPixelsPerUnit */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystem()
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hWnd()
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ZoomX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ZoomX */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ZoomX()
  {
    _TDispID _dispid(/* ZoomX */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ZoomY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ZoomY */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ZoomY()
  {
    _TDispID _dispid(/* ZoomY */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PanX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PanX */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PanX()
  {
    _TDispID _dispid(/* PanX */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PanY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PanY */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PanY()
  {
    _TDispID _dispid(/* PanY */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hDC */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hDC()
  {
    _TDispID _dispid(/* hDC */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_RowPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* RowPitch */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_RowPitch()
  {
    _TDispID _dispid(/* RowPitch */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ColPitch */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ColPitch()
  {
    _TDispID _dispid(/* ColPitch */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EnableContextualMenu(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* EnableContextualMenu */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_EnableContextualMenu()
  {
    _TDispID _dispid(/* EnableContextualMenu */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OverlayMode(Evision_tlb::enumOverlayMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* OverlayMode */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOverlayMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumOverlayMode /*[VT_USERDEFINED:0]*/ __fastcall get_OverlayMode()
  {
    _TDispID _dispid(/* OverlayMode */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumOverlayMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_EnableScrollBars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* EnableScrollBars */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_EnableScrollBars()
  {
    _TDispID _dispid(/* EnableScrollBars */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* TextColor */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_TextColor()
  {
    _TDispID _dispid(/* TextColor */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextBold(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextBold */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextBold()
  {
    _TDispID _dispid(/* TextBold */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextItalic(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextItalic */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextItalic()
  {
    _TDispID _dispid(/* TextItalic */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextStrikeout(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextStrikeout */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextStrikeout()
  {
    _TDispID _dispid(/* TextStrikeout */ DISPID(40));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextUnderline(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextUnderline */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextUnderline()
  {
    _TDispID _dispid(/* TextUnderline */ DISPID(41));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextBackColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* TextBackColor */ DISPID(42));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_TextBackColor()
  {
    _TDispID _dispid(/* TextBackColor */ DISPID(42));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextAlignV(Evision_tlb::enumTextAlignV /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TextAlignV */ DISPID(43));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumTextAlignV /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumTextAlignV /*[VT_USERDEFINED:0]*/ __fastcall get_TextAlignV()
  {
    _TDispID _dispid(/* TextAlignV */ DISPID(43));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumTextAlignV /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TextAlignH(Evision_tlb::enumTextAlignH /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TextAlignH */ DISPID(44));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumTextAlignH /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumTextAlignH /*[VT_USERDEFINED:0]*/ __fastcall get_TextAlignH()
  {
    _TDispID _dispid(/* TextAlignH */ DISPID(44));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumTextAlignH /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TextTransparent(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextTransparent */ DISPID(45));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextTransparent()
  {
    _TDispID _dispid(/* TextTransparent */ DISPID(45));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextFont(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
  {
    _TDispID _dispid(/* TextFont */ DISPID(46));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall get_TextFont()
  {
    _TDispID _dispid(/* TextFont */ DISPID(46));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
  }

  void __fastcall set_TextSize(CURRENCY /*[VT_CY:0]*/ Value)
  {
    _TDispID _dispid(/* TextSize */ DISPID(47));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  CURRENCY /*[VT_CY:0]*/ __fastcall get_TextSize()
  {
    _TDispID _dispid(/* TextSize */ DISPID(47));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CursorMode(Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* CursorMode */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumCursorMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ __fastcall get_CursorMode()
  {
    _TDispID _dispid(/* CursorMode */ DISPID(48));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumCursorMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  TOLEBOOL __fastcall SameSize(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* SameSize */ DISPID(49));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetSize(long Width, long Height)
  {
    _TDispID _dispid(/* SetSize */ DISPID(50));
    TAutoArgs<2> _args;
    _args[1] = Width /*[VT_I4:0]*/;
    _args[2] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetImagePointer(long OriginX, long OriginY)
  {
    _TDispID _dispid(/* GetImagePointer */ DISPID(51));
    TAutoArgs<2> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetImagePointer(long NewValue)
  {
    _TDispID _dispid(/* SetImagePointer */ DISPID(52));
    TAutoArgs<1> _args;
    _args[1] = NewValue /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetPixel(long X, long Y, short* GrayValue)
  {
    _TDispID _dispid(/* GetPixel */ DISPID(53));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = GrayValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPixel(long X, long Y, short GrayValue)
  {
    _TDispID _dispid(/* SetPixel */ DISPID(54));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = GrayValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  TOLEBOOL __fastcall Void()
  {
    _TDispID _dispid(/* Void */ DISPID(55));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SaveFile(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* SaveFile */ DISPID(56));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumFileFormats __fastcall LoadFile(BSTR FileName)
  {
    _TDispID _dispid(/* LoadFile */ DISPID(57));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Refresh()
  {
    _TDispID _dispid(/* Refresh */ DISPID(-550));
    OleProcedure(_dispid);
  }

  void __fastcall DrawToDC(OLE_HANDLE hDC)
  {
    _TDispID _dispid(/* DrawToDC */ DISPID(58));
    TAutoArgs<1> _args;
    _args[1] = hDC /*[VT_INT:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawLine(float X1, float Y1, float X2, float Y2)
  {
    _TDispID _dispid(/* DrawLine */ DISPID(59));
    TAutoArgs<4> _args;
    _args[1] = X1 /*[VT_R4:0]*/;
    _args[2] = Y1 /*[VT_R4:0]*/;
    _args[3] = X2 /*[VT_R4:0]*/;
    _args[4] = Y2 /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawBox(float X1, float Y1, float X2, float Y2)
  {
    _TDispID _dispid(/* DrawBox */ DISPID(60));
    TAutoArgs<4> _args;
    _args[1] = X1 /*[VT_R4:0]*/;
    _args[2] = Y1 /*[VT_R4:0]*/;
    _args[3] = X2 /*[VT_R4:0]*/;
    _args[4] = Y2 /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawCircle(float X, float Y, float Radius)
  {
    _TDispID _dispid(/* DrawCircle */ DISPID(61));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Radius /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawArc(float X, float Y, float Radius, float Start, float End)
  {
    _TDispID _dispid(/* DrawArc */ DISPID(62));
    TAutoArgs<5> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Radius /*[VT_R4:0]*/;
    _args[4] = Start /*[VT_R4:0]*/;
    _args[5] = End /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawText(long X, long Y, BSTR TextOut)
  {
    _TDispID _dispid(/* DrawText */ DISPID(63));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = TextOut /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName)
  {
    _TDispID _dispid(/* Load */ DISPID(64));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* Save */ DISPID(65));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ImageOrgX = {read = get_ImageOrgX, write = set_ImageOrgX};
  __property   long            ImageOrgY = {read = get_ImageOrgY, write = set_ImageOrgY};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            BitsPerPixel = {read = get_BitsPerPixel, write = set_BitsPerPixel};
  __property   long            PlanesPerPixel = {read = get_PlanesPerPixel, write = set_PlanesPerPixel};
  __property   Evision_tlb::enumDataTypes DataType = {read = get_DataType, write = set_DataType};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           HorizontalPixelsPerUnit = {read = get_HorizontalPixelsPerUnit, write = set_HorizontalPixelsPerUnit};
  __property   float           VerticalPixelsPerUnit = {read = get_VerticalPixelsPerUnit, write = set_VerticalPixelsPerUnit};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   float           ZoomX = {read = get_ZoomX, write = set_ZoomX};
  __property   float           ZoomY = {read = get_ZoomY, write = set_ZoomY};
  __property   float           PanX = {read = get_PanX, write = set_PanX};
  __property   float           PanY = {read = get_PanY, write = set_PanY};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        EnableContextualMenu = {read = get_EnableContextualMenu, write = set_EnableContextualMenu};
  __property   Evision_tlb::enumOverlayMode OverlayMode = {read = get_OverlayMode, write = set_OverlayMode};
  __property   TOLEBOOL        EnableScrollBars = {read = get_EnableScrollBars, write = set_EnableScrollBars};
  __property   ::OLE_COLOR     TextColor = {read = get_TextColor, write = set_TextColor};
  __property   TOLEBOOL        TextBold = {read = get_TextBold, write = set_TextBold};
  __property   TOLEBOOL        TextItalic = {read = get_TextItalic, write = set_TextItalic};
  __property   TOLEBOOL        TextStrikeout = {read = get_TextStrikeout, write = set_TextStrikeout};
  __property   TOLEBOOL        TextUnderline = {read = get_TextUnderline, write = set_TextUnderline};
  __property   ::OLE_COLOR     TextBackColor = {read = get_TextBackColor, write = set_TextBackColor};
  __property   Evision_tlb::enumTextAlignV TextAlignV = {read = get_TextAlignV, write = set_TextAlignV};
  __property   Evision_tlb::enumTextAlignH TextAlignH = {read = get_TextAlignH, write = set_TextAlignH};
  __property   TOLEBOOL        TextTransparent = {read = get_TextTransparent, write = set_TextTransparent};
  __property   IFontDispPtr    TextFont = {read = get_TextFont, write = set_TextFont};
  __property   CURRENCY        TextSize = {read = get_TextSize, write = set_TextSize};
  __property   Evision_tlb::enumCursorMode CursorMode = {read = get_CursorMode, write = set_CursorMode};
};
// *********************************************************************//
// Interface: _DEBW8ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E09-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8ImageEvents : public TDispWrapper<IDispatch>
{
  void __fastcall Refreshed()
  {
    _TDispID _dispid(/* Refreshed */ DISPID(1));
    OleProcedure(_dispid);
  }

  void __fastcall MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
  {
    _TDispID _dispid(/* MouseDown */ DISPID(-605));
    TAutoArgs<4> _args;
    _args[1] = Button /*[VT_I2:0]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
  {
    _TDispID _dispid(/* MouseUp */ DISPID(-607));
    TAutoArgs<4> _args;
    _args[1] = Button /*[VT_I2:0]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
  {
    _TDispID _dispid(/* MouseMove */ DISPID(-606));
    TAutoArgs<4> _args;
    _args[1] = Button /*[VT_I2:0]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall KeyPress(short* KeyAscii)
  {
    _TDispID _dispid(/* KeyPress */ DISPID(-603));
    TAutoArgs<1> _args;
    _args[1] = KeyAscii /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall KeyDown(short* KeyCode, short Shift)
  {
    _TDispID _dispid(/* KeyDown */ DISPID(-602));
    TAutoArgs<2> _args;
    _args[1] = KeyCode /*[VT_I2:1]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }


};
// *********************************************************************//
// Interface: _DEBW16Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E0C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW16Image : public TDispWrapper<IDispatch>
{
  void __fastcall set_Title(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_Title()
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageOrgX */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageOrgX()
  {
    _TDispID _dispid(/* ImageOrgX */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageOrgY */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageOrgY()
  {
    _TDispID _dispid(/* ImageOrgY */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageWidth()
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageHeight()
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BitsPerPixel(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* BitsPerPixel */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_BitsPerPixel()
  {
    _TDispID _dispid(/* BitsPerPixel */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PlanesPerPixel(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PlanesPerPixel */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PlanesPerPixel()
  {
    _TDispID _dispid(/* PlanesPerPixel */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DataType(Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DataType */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDataTypes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ __fastcall get_DataType()
  {
    _TDispID _dispid(/* DataType */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDataTypes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TotalOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgX()
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgY()
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalWidth()
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalHeight()
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelWidth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelWidth()
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelHeight(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelHeight()
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall get_PixelUnit()
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_HorizontalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* HorizontalPixelsPerUnit */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_HorizontalPixelsPerUnit()
  {
    _TDispID _dispid(/* HorizontalPixelsPerUnit */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_VerticalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* VerticalPixelsPerUnit */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_VerticalPixelsPerUnit()
  {
    _TDispID _dispid(/* VerticalPixelsPerUnit */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystem()
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_RowPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* RowPitch */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_RowPitch()
  {
    _TDispID _dispid(/* RowPitch */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ColPitch */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ColPitch()
  {
    _TDispID _dispid(/* ColPitch */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EnableContextualMenu(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* EnableContextualMenu */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_EnableContextualMenu()
  {
    _TDispID _dispid(/* EnableContextualMenu */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OverlayMode(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* OverlayMode */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_OverlayMode()
  {
    _TDispID _dispid(/* OverlayMode */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EnableScrollBars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* EnableScrollBars */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_EnableScrollBars()
  {
    _TDispID _dispid(/* EnableScrollBars */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* TextColor */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_TextColor()
  {
    _TDispID _dispid(/* TextColor */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextBold(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextBold */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextBold()
  {
    _TDispID _dispid(/* TextBold */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextItalic(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextItalic */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextItalic()
  {
    _TDispID _dispid(/* TextItalic */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextStrikeout(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextStrikeout */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextStrikeout()
  {
    _TDispID _dispid(/* TextStrikeout */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextUnderline(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextUnderline */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextUnderline()
  {
    _TDispID _dispid(/* TextUnderline */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextBackColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* TextBackColor */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_TextBackColor()
  {
    _TDispID _dispid(/* TextBackColor */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextAlignV(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* TextAlignV */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_TextAlignV()
  {
    _TDispID _dispid(/* TextAlignV */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextAlignH(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* TextAlignH */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_TextAlignH()
  {
    _TDispID _dispid(/* TextAlignH */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextTransparent(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextTransparent */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextTransparent()
  {
    _TDispID _dispid(/* TextTransparent */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextFont(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
  {
    _TDispID _dispid(/* TextFont */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall get_TextFont()
  {
    _TDispID _dispid(/* TextFont */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
  }

  void __fastcall set_TextSize(CURRENCY /*[VT_CY:0]*/ Value)
  {
    _TDispID _dispid(/* TextSize */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  CURRENCY /*[VT_CY:0]*/ __fastcall get_TextSize()
  {
    _TDispID _dispid(/* TextSize */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ZoomX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ZoomX */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ZoomX()
  {
    _TDispID _dispid(/* ZoomX */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ZoomY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ZoomY */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ZoomY()
  {
    _TDispID _dispid(/* ZoomY */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PanX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PanX */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PanX()
  {
    _TDispID _dispid(/* PanX */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PanY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PanY */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PanY()
  {
    _TDispID _dispid(/* PanY */ DISPID(40));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CursorMode(Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* CursorMode */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumCursorMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ __fastcall get_CursorMode()
  {
    _TDispID _dispid(/* CursorMode */ DISPID(41));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumCursorMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  TOLEBOOL __fastcall SameSize(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* SameSize */ DISPID(42));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetSize(long Width, long Height)
  {
    _TDispID _dispid(/* SetSize */ DISPID(43));
    TAutoArgs<2> _args;
    _args[1] = Width /*[VT_I4:0]*/;
    _args[2] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetImagePointer(long OriginX, long OriginY)
  {
    _TDispID _dispid(/* GetImagePointer */ DISPID(44));
    TAutoArgs<2> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetImagePointer(long NewValue)
  {
    _TDispID _dispid(/* SetImagePointer */ DISPID(45));
    TAutoArgs<1> _args;
    _args[1] = NewValue /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetPixel(long X, long Y, short* Value)
  {
    _TDispID _dispid(/* GetPixel */ DISPID(46));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = Value /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPixel(long X, long Y, short Value)
  {
    _TDispID _dispid(/* SetPixel */ DISPID(47));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = Value /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  TOLEBOOL __fastcall Void()
  {
    _TDispID _dispid(/* Void */ DISPID(48));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall DrawText(long X, long Y, BSTR TextOut)
  {
    _TDispID _dispid(/* DrawText */ DISPID(49));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = TextOut /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName)
  {
    _TDispID _dispid(/* Load */ DISPID(50));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* Save */ DISPID(51));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ImageOrgX = {read = get_ImageOrgX, write = set_ImageOrgX};
  __property   long            ImageOrgY = {read = get_ImageOrgY, write = set_ImageOrgY};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            BitsPerPixel = {read = get_BitsPerPixel, write = set_BitsPerPixel};
  __property   long            PlanesPerPixel = {read = get_PlanesPerPixel, write = set_PlanesPerPixel};
  __property   Evision_tlb::enumDataTypes DataType = {read = get_DataType, write = set_DataType};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           HorizontalPixelsPerUnit = {read = get_HorizontalPixelsPerUnit, write = set_HorizontalPixelsPerUnit};
  __property   float           VerticalPixelsPerUnit = {read = get_VerticalPixelsPerUnit, write = set_VerticalPixelsPerUnit};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        EnableContextualMenu = {read = get_EnableContextualMenu, write = set_EnableContextualMenu};
  __property   short           OverlayMode = {read = get_OverlayMode, write = set_OverlayMode};
  __property   TOLEBOOL        EnableScrollBars = {read = get_EnableScrollBars, write = set_EnableScrollBars};
  __property   ::OLE_COLOR     TextColor = {read = get_TextColor, write = set_TextColor};
  __property   TOLEBOOL        TextBold = {read = get_TextBold, write = set_TextBold};
  __property   TOLEBOOL        TextItalic = {read = get_TextItalic, write = set_TextItalic};
  __property   TOLEBOOL        TextStrikeout = {read = get_TextStrikeout, write = set_TextStrikeout};
  __property   TOLEBOOL        TextUnderline = {read = get_TextUnderline, write = set_TextUnderline};
  __property   ::OLE_COLOR     TextBackColor = {read = get_TextBackColor, write = set_TextBackColor};
  __property   short           TextAlignV = {read = get_TextAlignV, write = set_TextAlignV};
  __property   short           TextAlignH = {read = get_TextAlignH, write = set_TextAlignH};
  __property   TOLEBOOL        TextTransparent = {read = get_TextTransparent, write = set_TextTransparent};
  __property   IFontDispPtr    TextFont = {read = get_TextFont, write = set_TextFont};
  __property   CURRENCY        TextSize = {read = get_TextSize, write = set_TextSize};
  __property   float           ZoomX = {read = get_ZoomX, write = set_ZoomX};
  __property   float           ZoomY = {read = get_ZoomY, write = set_ZoomY};
  __property   float           PanX = {read = get_PanX, write = set_PanX};
  __property   float           PanY = {read = get_PanY, write = set_PanY};
  __property   Evision_tlb::enumCursorMode CursorMode = {read = get_CursorMode, write = set_CursorMode};
};
// *********************************************************************//
// Interface: _DEBW16ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E0D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW16ImageEvents : public TDispWrapper<IDispatch>
{
  void __fastcall Refreshed()
  {
    _TDispID _dispid(/* Refreshed */ DISPID(1));
    OleProcedure(_dispid);
  }

  void __fastcall KeyPress(short* KeyAscii)
  {
    _TDispID _dispid(/* KeyPress */ DISPID(-603));
    TAutoArgs<1> _args;
    _args[1] = KeyAscii /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }


};
// *********************************************************************//
// Interface: _DEC24Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E14-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24Image : public TDispWrapper<IDispatch>
{
  void __fastcall set_Title(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_Title()
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageOrgX */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageOrgX()
  {
    _TDispID _dispid(/* ImageOrgX */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageOrgY */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageOrgY()
  {
    _TDispID _dispid(/* ImageOrgY */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageWidth()
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageHeight()
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BitsPerPixel(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* BitsPerPixel */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_BitsPerPixel()
  {
    _TDispID _dispid(/* BitsPerPixel */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PlanesPerPixel(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PlanesPerPixel */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PlanesPerPixel()
  {
    _TDispID _dispid(/* PlanesPerPixel */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DataType(Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DataType */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDataTypes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ __fastcall get_DataType()
  {
    _TDispID _dispid(/* DataType */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDataTypes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TotalOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgX()
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgY()
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalWidth()
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalHeight()
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelWidth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelWidth()
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelHeight(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelHeight()
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall get_PixelUnit()
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_HorizontalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* HorizontalPixelsPerUnit */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_HorizontalPixelsPerUnit()
  {
    _TDispID _dispid(/* HorizontalPixelsPerUnit */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_VerticalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* VerticalPixelsPerUnit */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_VerticalPixelsPerUnit()
  {
    _TDispID _dispid(/* VerticalPixelsPerUnit */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystem()
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ZoomX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ZoomX */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ZoomX()
  {
    _TDispID _dispid(/* ZoomX */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ZoomY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ZoomY */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ZoomY()
  {
    _TDispID _dispid(/* ZoomY */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginX */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginX()
  {
    _TDispID _dispid(/* OriginX */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginY */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginY()
  {
    _TDispID _dispid(/* OriginY */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hWnd()
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hDC */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hDC()
  {
    _TDispID _dispid(/* hDC */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_RowPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* RowPitch */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_RowPitch()
  {
    _TDispID _dispid(/* RowPitch */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ColPitch */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ColPitch()
  {
    _TDispID _dispid(/* ColPitch */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EnableContextualMenu(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* EnableContextualMenu */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_EnableContextualMenu()
  {
    _TDispID _dispid(/* EnableContextualMenu */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OverlayMode(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* OverlayMode */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_OverlayMode()
  {
    _TDispID _dispid(/* OverlayMode */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EnableScrollBars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* EnableScrollBars */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_EnableScrollBars()
  {
    _TDispID _dispid(/* EnableScrollBars */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* TextColor */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_TextColor()
  {
    _TDispID _dispid(/* TextColor */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextBold(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextBold */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextBold()
  {
    _TDispID _dispid(/* TextBold */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextItalic(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextItalic */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextItalic()
  {
    _TDispID _dispid(/* TextItalic */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextStrikeout(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextStrikeout */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextStrikeout()
  {
    _TDispID _dispid(/* TextStrikeout */ DISPID(40));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextUnderline(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextUnderline */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextUnderline()
  {
    _TDispID _dispid(/* TextUnderline */ DISPID(41));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextBackColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* TextBackColor */ DISPID(42));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_TextBackColor()
  {
    _TDispID _dispid(/* TextBackColor */ DISPID(42));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextAlignV(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* TextAlignV */ DISPID(43));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_TextAlignV()
  {
    _TDispID _dispid(/* TextAlignV */ DISPID(43));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextAlignH(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* TextAlignH */ DISPID(44));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_TextAlignH()
  {
    _TDispID _dispid(/* TextAlignH */ DISPID(44));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextTransparent(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* TextTransparent */ DISPID(45));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_TextTransparent()
  {
    _TDispID _dispid(/* TextTransparent */ DISPID(45));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TextFont(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
  {
    _TDispID _dispid(/* TextFont */ DISPID(46));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall get_TextFont()
  {
    _TDispID _dispid(/* TextFont */ DISPID(46));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
  }

  void __fastcall set_TextSize(CURRENCY /*[VT_CY:0]*/ Value)
  {
    _TDispID _dispid(/* TextSize */ DISPID(47));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  CURRENCY /*[VT_CY:0]*/ __fastcall get_TextSize()
  {
    _TDispID _dispid(/* TextSize */ DISPID(47));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CursorMode(Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* CursorMode */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumCursorMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ __fastcall get_CursorMode()
  {
    _TDispID _dispid(/* CursorMode */ DISPID(48));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumCursorMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  TOLEBOOL __fastcall SameSize(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* SameSize */ DISPID(49));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetSize(long Width, long Height)
  {
    _TDispID _dispid(/* SetSize */ DISPID(50));
    TAutoArgs<2> _args;
    _args[1] = Width /*[VT_I4:0]*/;
    _args[2] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetImagePointer(long OriginX, long OriginY)
  {
    _TDispID _dispid(/* GetImagePointer */ DISPID(51));
    TAutoArgs<2> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetImagePointer(long NewValue)
  {
    _TDispID _dispid(/* SetImagePointer */ DISPID(52));
    TAutoArgs<1> _args;
    _args[1] = NewValue /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetPixel(long X, long Y, short* RedValue, short* GreenValue, short* BlueValue)
  {
    _TDispID _dispid(/* GetPixel */ DISPID(53));
    TAutoArgs<5> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = RedValue /*[VT_I2:1]*/;
    _args[4] = GreenValue /*[VT_I2:1]*/;
    _args[5] = BlueValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPixel(long X, long Y, short RedValue, short GreenValue, short BlueValue)
  {
    _TDispID _dispid(/* SetPixel */ DISPID(54));
    TAutoArgs<5> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = RedValue /*[VT_I2:0]*/;
    _args[4] = GreenValue /*[VT_I2:0]*/;
    _args[5] = BlueValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  TOLEBOOL __fastcall Void()
  {
    _TDispID _dispid(/* Void */ DISPID(55));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SaveFile(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* SaveFile */ DISPID(56));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumFileFormats __fastcall LoadFile(BSTR FileName)
  {
    _TDispID _dispid(/* LoadFile */ DISPID(57));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall DrawToDC(OLE_HANDLE hDC)
  {
    _TDispID _dispid(/* DrawToDC */ DISPID(58));
    TAutoArgs<1> _args;
    _args[1] = hDC /*[VT_INT:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawLine(float X1, float Y1, float X2, float Y2)
  {
    _TDispID _dispid(/* DrawLine */ DISPID(59));
    TAutoArgs<4> _args;
    _args[1] = X1 /*[VT_R4:0]*/;
    _args[2] = Y1 /*[VT_R4:0]*/;
    _args[3] = X2 /*[VT_R4:0]*/;
    _args[4] = Y2 /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawBox(float X1, float Y1, float X2, float Y2)
  {
    _TDispID _dispid(/* DrawBox */ DISPID(60));
    TAutoArgs<4> _args;
    _args[1] = X1 /*[VT_R4:0]*/;
    _args[2] = Y1 /*[VT_R4:0]*/;
    _args[3] = X2 /*[VT_R4:0]*/;
    _args[4] = Y2 /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawCircle(float X, float Y, float Radius)
  {
    _TDispID _dispid(/* DrawCircle */ DISPID(61));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Radius /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawArc(float X, float Y, float Radius, float Start, float End)
  {
    _TDispID _dispid(/* DrawArc */ DISPID(62));
    TAutoArgs<5> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Radius /*[VT_R4:0]*/;
    _args[4] = Start /*[VT_R4:0]*/;
    _args[5] = End /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Refresh()
  {
    _TDispID _dispid(/* Refresh */ DISPID(-550));
    OleProcedure(_dispid);
  }

  void __fastcall DrawText(long X, long Y, BSTR TextOut)
  {
    _TDispID _dispid(/* DrawText */ DISPID(63));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = TextOut /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* Save */ DISPID(64));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName)
  {
    _TDispID _dispid(/* Load */ DISPID(65));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ImageOrgX = {read = get_ImageOrgX, write = set_ImageOrgX};
  __property   long            ImageOrgY = {read = get_ImageOrgY, write = set_ImageOrgY};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            BitsPerPixel = {read = get_BitsPerPixel, write = set_BitsPerPixel};
  __property   long            PlanesPerPixel = {read = get_PlanesPerPixel, write = set_PlanesPerPixel};
  __property   Evision_tlb::enumDataTypes DataType = {read = get_DataType, write = set_DataType};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           HorizontalPixelsPerUnit = {read = get_HorizontalPixelsPerUnit, write = set_HorizontalPixelsPerUnit};
  __property   float           VerticalPixelsPerUnit = {read = get_VerticalPixelsPerUnit, write = set_VerticalPixelsPerUnit};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   float           ZoomX = {read = get_ZoomX, write = set_ZoomX};
  __property   float           ZoomY = {read = get_ZoomY, write = set_ZoomY};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        EnableContextualMenu = {read = get_EnableContextualMenu, write = set_EnableContextualMenu};
  __property   short           OverlayMode = {read = get_OverlayMode, write = set_OverlayMode};
  __property   TOLEBOOL        EnableScrollBars = {read = get_EnableScrollBars, write = set_EnableScrollBars};
  __property   ::OLE_COLOR     TextColor = {read = get_TextColor, write = set_TextColor};
  __property   TOLEBOOL        TextBold = {read = get_TextBold, write = set_TextBold};
  __property   TOLEBOOL        TextItalic = {read = get_TextItalic, write = set_TextItalic};
  __property   TOLEBOOL        TextStrikeout = {read = get_TextStrikeout, write = set_TextStrikeout};
  __property   TOLEBOOL        TextUnderline = {read = get_TextUnderline, write = set_TextUnderline};
  __property   ::OLE_COLOR     TextBackColor = {read = get_TextBackColor, write = set_TextBackColor};
  __property   short           TextAlignV = {read = get_TextAlignV, write = set_TextAlignV};
  __property   short           TextAlignH = {read = get_TextAlignH, write = set_TextAlignH};
  __property   TOLEBOOL        TextTransparent = {read = get_TextTransparent, write = set_TextTransparent};
  __property   IFontDispPtr    TextFont = {read = get_TextFont, write = set_TextFont};
  __property   CURRENCY        TextSize = {read = get_TextSize, write = set_TextSize};
  __property   Evision_tlb::enumCursorMode CursorMode = {read = get_CursorMode, write = set_CursorMode};
};
// *********************************************************************//
// Interface: _DEC24ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E15-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24ImageEvents : public TDispWrapper<IDispatch>
{
  void __fastcall Refreshed()
  {
    _TDispID _dispid(/* Refreshed */ DISPID(1));
    OleProcedure(_dispid);
  }

  void __fastcall MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
  {
    _TDispID _dispid(/* MouseMove */ DISPID(-606));
    TAutoArgs<4> _args;
    _args[1] = Button /*[VT_I2:0]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
  {
    _TDispID _dispid(/* MouseDown */ DISPID(-605));
    TAutoArgs<4> _args;
    _args[1] = Button /*[VT_I2:0]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
  {
    _TDispID _dispid(/* MouseUp */ DISPID(-607));
    TAutoArgs<4> _args;
    _args[1] = Button /*[VT_I2:0]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall KeyPress(short* KeyAscii)
  {
    _TDispID _dispid(/* KeyPress */ DISPID(-603));
    TAutoArgs<1> _args;
    _args[1] = KeyAscii /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall KeyDown(short* KeyCode, short Shift)
  {
    _TDispID _dispid(/* KeyDown */ DISPID(-602));
    TAutoArgs<2> _args;
    _args[1] = KeyCode /*[VT_I2:1]*/;
    _args[2] = Shift /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }


};
// *********************************************************************//
// Interface: _DEBW8ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E24-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8ROI : public TDispWrapper<IDispatch>
{
  void __fastcall set_Title(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_Title()
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIOrgX */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIOrgX()
  {
    _TDispID _dispid(/* ROIOrgX */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIWidth */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIWidth()
  {
    _TDispID _dispid(/* ROIWidth */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIHeight */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIHeight()
  {
    _TDispID _dispid(/* ROIHeight */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIOrgY */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIOrgY()
  {
    _TDispID _dispid(/* ROIOrgY */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgX()
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgY()
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ParentImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* ParentImage */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_ParentImage()
  {
    _TDispID _dispid(/* ParentImage */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalWidth()
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalHeight()
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystem()
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_RowPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* RowPitch */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_RowPitch()
  {
    _TDispID _dispid(/* RowPitch */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ColPitch */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ColPitch()
  {
    _TDispID _dispid(/* ColPitch */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  TOLEBOOL __fastcall SameSize(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* SameSize */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Detach()
  {
    _TDispID _dispid(/* Detach */ DISPID(23));
    OleProcedure(_dispid);
  }

  void __fastcall SetSize(long Width, long Height)
  {
    _TDispID _dispid(/* SetSize */ DISPID(24));
    TAutoArgs<2> _args;
    _args[1] = Width /*[VT_I4:0]*/;
    _args[2] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPlacement(long OriginX, long OriginY, long Width, long Height)
  {
    _TDispID _dispid(/* SetPlacement */ DISPID(25));
    TAutoArgs<4> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    _args[3] = Width /*[VT_I4:0]*/;
    _args[4] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetImagePointer(long OriginX, long OriginY)
  {
    _TDispID _dispid(/* GetImagePointer */ DISPID(26));
    TAutoArgs<2> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall GetPixel(long X, long Y, short* GrayValue)
  {
    _TDispID _dispid(/* GetPixel */ DISPID(27));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = GrayValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPixel(long X, long Y, short GrayValue)
  {
    _TDispID _dispid(/* SetPixel */ DISPID(28));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = GrayValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  TOLEBOOL __fastcall Void()
  {
    _TDispID _dispid(/* Void */ DISPID(29));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall DrawFrame(Evision_tlb::enumFramePosition FramePosition, TOLEBOOL DrawHandles)
  {
    _TDispID _dispid(/* DrawFrame */ DISPID(30));
    TAutoArgs<2> _args;
    _args[1] = (int)FramePosition /*[VT_USERDEFINED:0]*/;
    _args[2] = DrawHandles /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawToDC()
  {
    _TDispID _dispid(/* DrawToDC */ DISPID(31));
    OleProcedure(_dispid);
  }

  Evision_tlb::enumHandleNames __fastcall HitTest(long X, long Y)
  {
    _TDispID _dispid(/* HitTest */ DISPID(32));
    TAutoArgs<2> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Drag(Evision_tlb::enumHandleNames Handle, long X, long Y)
  {
    _TDispID _dispid(/* Drag */ DISPID(33));
    TAutoArgs<3> _args;
    _args[1] = (int)Handle /*[VT_USERDEFINED:0]*/;
    _args[2] = X /*[VT_I4:0]*/;
    _args[3] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  short __fastcall Load(BSTR FileName)
  {
    _TDispID _dispid(/* Load */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* Save */ DISPID(35));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ROIOrgX = {read = get_ROIOrgX, write = set_ROIOrgX};
  __property   long            ROIWidth = {read = get_ROIWidth, write = set_ROIWidth};
  __property   long            ROIHeight = {read = get_ROIHeight, write = set_ROIHeight};
  __property   long            ROIOrgY = {read = get_ROIOrgY, write = set_ROIOrgY};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   LPDISPATCH      ParentImage = {read = get_ParentImage, write = set_ParentImage};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEBW8ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E25-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8ROIEvents : public TDispWrapper<IDispatch>
{
  void __fastcall Refreshed()
  {
    _TDispID _dispid(/* Refreshed */ DISPID(1));
    OleProcedure(_dispid);
  }


};
// *********************************************************************//
// Interface: _DEBW16ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E28-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW16ROI : public TDispWrapper<IDispatch>
{
  void __fastcall set_Title(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_Title()
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIOrgX */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIOrgX()
  {
    _TDispID _dispid(/* ROIOrgX */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIWidth */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIWidth()
  {
    _TDispID _dispid(/* ROIWidth */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIHeight */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIHeight()
  {
    _TDispID _dispid(/* ROIHeight */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIOrgY */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIOrgY()
  {
    _TDispID _dispid(/* ROIOrgY */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgX()
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgY()
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ParentImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* ParentImage */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_ParentImage()
  {
    _TDispID _dispid(/* ParentImage */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalWidth()
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalHeight()
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystem()
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_RowPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* RowPitch */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_RowPitch()
  {
    _TDispID _dispid(/* RowPitch */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ColPitch */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ColPitch()
  {
    _TDispID _dispid(/* ColPitch */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  TOLEBOOL __fastcall SameSize(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* SameSize */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Detach()
  {
    _TDispID _dispid(/* Detach */ DISPID(17));
    OleProcedure(_dispid);
  }

  void __fastcall SetSize(long Width, long Height)
  {
    _TDispID _dispid(/* SetSize */ DISPID(18));
    TAutoArgs<2> _args;
    _args[1] = Width /*[VT_I4:0]*/;
    _args[2] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPlacement(long OriginX, long OriginY, long Width, long Height)
  {
    _TDispID _dispid(/* SetPlacement */ DISPID(19));
    TAutoArgs<4> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    _args[3] = Width /*[VT_I4:0]*/;
    _args[4] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetImagePointer(long OriginX, long OriginY)
  {
    _TDispID _dispid(/* GetImagePointer */ DISPID(20));
    TAutoArgs<2> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall GetPixel(long X, long Y, short* Value)
  {
    _TDispID _dispid(/* GetPixel */ DISPID(21));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = Value /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPixel(long X, long Y, short Value)
  {
    _TDispID _dispid(/* SetPixel */ DISPID(22));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = Value /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  TOLEBOOL __fastcall Void()
  {
    _TDispID _dispid(/* Void */ DISPID(23));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName)
  {
    _TDispID _dispid(/* Load */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* Save */ DISPID(25));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ROIOrgX = {read = get_ROIOrgX, write = set_ROIOrgX};
  __property   long            ROIWidth = {read = get_ROIWidth, write = set_ROIWidth};
  __property   long            ROIHeight = {read = get_ROIHeight, write = set_ROIHeight};
  __property   long            ROIOrgY = {read = get_ROIOrgY, write = set_ROIOrgY};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   LPDISPATCH      ParentImage = {read = get_ParentImage, write = set_ParentImage};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEBW16ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E29-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW16ROIEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEC24ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E30-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24ROI : public TDispWrapper<IDispatch>
{
  void __fastcall set_Title(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_Title()
  {
    _TDispID _dispid(/* Title */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIOrgX */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIOrgX()
  {
    _TDispID _dispid(/* ROIOrgX */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIOrgY */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIOrgY()
  {
    _TDispID _dispid(/* ROIOrgY */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIWidth()
  {
    _TDispID _dispid(/* ROIWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ROIHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ROIHeight */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ROIHeight()
  {
    _TDispID _dispid(/* ROIHeight */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgX()
  {
    _TDispID _dispid(/* TotalOrgX */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalOrgY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalOrgY()
  {
    _TDispID _dispid(/* TotalOrgY */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalWidth()
  {
    _TDispID _dispid(/* TotalWidth */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TotalHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TotalHeight()
  {
    _TDispID _dispid(/* TotalHeight */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ParentImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* ParentImage */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_ParentImage()
  {
    _TDispID _dispid(/* ParentImage */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystem()
  {
    _TDispID _dispid(/* ColorSystem */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_RowPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* RowPitch */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_RowPitch()
  {
    _TDispID _dispid(/* RowPitch */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColPitch(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ColPitch */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ColPitch()
  {
    _TDispID _dispid(/* ColPitch */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  TOLEBOOL __fastcall SameSize(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* SameSize */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Detach()
  {
    _TDispID _dispid(/* Detach */ DISPID(23));
    OleProcedure(_dispid);
  }

  void __fastcall SetSize(long Width, long Height)
  {
    _TDispID _dispid(/* SetSize */ DISPID(24));
    TAutoArgs<2> _args;
    _args[1] = Width /*[VT_I4:0]*/;
    _args[2] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPlacement(long OriginX, long OriginY, long Width, long Height)
  {
    _TDispID _dispid(/* SetPlacement */ DISPID(25));
    TAutoArgs<4> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    _args[3] = Width /*[VT_I4:0]*/;
    _args[4] = Height /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetImagePointer(long OriginX, long OriginY)
  {
    _TDispID _dispid(/* GetImagePointer */ DISPID(26));
    TAutoArgs<2> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall GetPixel(long X, long Y, short* RedValue, short* GreenValue, short* BlueValue)
  {
    _TDispID _dispid(/* GetPixel */ DISPID(27));
    TAutoArgs<5> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = RedValue /*[VT_I2:1]*/;
    _args[4] = GreenValue /*[VT_I2:1]*/;
    _args[5] = BlueValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPixel(long X, long Y, short RedValue, short GreenValue, short BlueValue)
  {
    _TDispID _dispid(/* SetPixel */ DISPID(28));
    TAutoArgs<5> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = RedValue /*[VT_I2:0]*/;
    _args[4] = GreenValue /*[VT_I2:0]*/;
    _args[5] = BlueValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  TOLEBOOL __fastcall Void()
  {
    _TDispID _dispid(/* Void */ DISPID(29));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall DrawFrame(Evision_tlb::enumFramePosition FramePosition, TOLEBOOL DrawHandles)
  {
    _TDispID _dispid(/* DrawFrame */ DISPID(30));
    TAutoArgs<2> _args;
    _args[1] = (int)FramePosition /*[VT_USERDEFINED:0]*/;
    _args[2] = DrawHandles /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawToDC()
  {
    _TDispID _dispid(/* DrawToDC */ DISPID(31));
    OleProcedure(_dispid);
  }

  Evision_tlb::enumHandleNames __fastcall HitTest(long X, long Y)
  {
    _TDispID _dispid(/* HitTest */ DISPID(32));
    TAutoArgs<2> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Drag(Evision_tlb::enumHandleNames Handle, long X, long Y)
  {
    _TDispID _dispid(/* Drag */ DISPID(33));
    TAutoArgs<3> _args;
    _args[1] = (int)Handle /*[VT_USERDEFINED:0]*/;
    _args[2] = X /*[VT_I4:0]*/;
    _args[3] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName)
  {
    _TDispID _dispid(/* Load */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
  {
    _TDispID _dispid(/* Save */ DISPID(35));
    TAutoArgs<2> _args;
    _args[1] = FileName /*[VT_BSTR:0]*/;
    _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ROIOrgX = {read = get_ROIOrgX, write = set_ROIOrgX};
  __property   long            ROIOrgY = {read = get_ROIOrgY, write = set_ROIOrgY};
  __property   long            ROIWidth = {read = get_ROIWidth, write = set_ROIWidth};
  __property   long            ROIHeight = {read = get_ROIHeight, write = set_ROIHeight};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   LPDISPATCH      ParentImage = {read = get_ParentImage, write = set_ParentImage};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEC24ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E31-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24ROIEvents : public TDispWrapper<IDispatch>
{
  void __fastcall Refreshed()
  {
    _TDispID _dispid(/* Refreshed */ DISPID(1));
    OleProcedure(_dispid);
  }


};
// *********************************************************************//
// Interface: _DEBW8Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E40-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8Vector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall get_Font()
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_OriginX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginX()
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginY()
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hWnd()
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hDC()
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(13));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(short GrayValue)
  {
    _TDispID _dispid(/* AddElement */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = GrayValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, short* GrayValue)
  {
    _TDispID _dispid(/* GetAt */ DISPID(15));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = GrayValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, short GrayValue)
  {
    _TDispID _dispid(/* SetAt */ DISPID(16));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = GrayValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Refresh()
  {
    _TDispID _dispid(/* Refresh */ DISPID(-550));
    OleProcedure(_dispid);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEBW8VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E41-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8VectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEBW16Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E44-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW16Vector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall get_Font()
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginX()
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginY()
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hWnd()
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hDC()
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(13));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(short GrayValue)
  {
    _TDispID _dispid(/* AddElement */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = GrayValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, short* GrayValue)
  {
    _TDispID _dispid(/* GetAt */ DISPID(15));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = GrayValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, short GrayValue)
  {
    _TDispID _dispid(/* SetAt */ DISPID(16));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = GrayValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Refresh()
  {
    _TDispID _dispid(/* Refresh */ DISPID(-550));
    OleProcedure(_dispid);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEBW16VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E45-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW16VectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEBW32Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E48-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW32Vector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall get_Font()
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginX()
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginY()
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hWnd()
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hDC()
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(13));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(long GrayValue)
  {
    _TDispID _dispid(/* AddElement */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = GrayValue /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, long* GrayValue)
  {
    _TDispID _dispid(/* GetAt */ DISPID(15));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = GrayValue /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, long GrayValue)
  {
    _TDispID _dispid(/* SetAt */ DISPID(16));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = GrayValue /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Refresh()
  {
    _TDispID _dispid(/* Refresh */ DISPID(-550));
    OleProcedure(_dispid);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEBW32VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E49-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW32VectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEC24Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E4C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24Vector : public TDispWrapper<IDispatch>
{
  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginX */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginX()
  {
    _TDispID _dispid(/* OriginX */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginY */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginY()
  {
    _TDispID _dispid(/* OriginY */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hWnd()
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hDC */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hDC()
  {
    _TDispID _dispid(/* hDC */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(12));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(short RedValue, short GreenValue, short BlueValue)
  {
    _TDispID _dispid(/* AddElement */ DISPID(13));
    TAutoArgs<3> _args;
    _args[1] = RedValue /*[VT_I2:0]*/;
    _args[2] = GreenValue /*[VT_I2:0]*/;
    _args[3] = BlueValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, short* RedValue, short* GreenValue, short* BlueValue)
  {
    _TDispID _dispid(/* GetAt */ DISPID(14));
    TAutoArgs<4> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = RedValue /*[VT_I2:1]*/;
    _args[3] = GreenValue /*[VT_I2:1]*/;
    _args[4] = BlueValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, short RedValue, short GreenValue, short BlueValue)
  {
    _TDispID _dispid(/* SetAt */ DISPID(15));
    TAutoArgs<4> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = RedValue /*[VT_I2:0]*/;
    _args[3] = GreenValue /*[VT_I2:0]*/;
    _args[4] = BlueValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }

  void __fastcall Refresh()
  {
    _TDispID _dispid(/* Refresh */ DISPID(-550));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEC24VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E4D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24VectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEPathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E5C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEPathVector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(8));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(short X, short Y)
  {
    _TDispID _dispid(/* AddElement */ DISPID(9));
    TAutoArgs<2> _args;
    _args[1] = X /*[VT_I2:0]*/;
    _args[2] = Y /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, short* X, short* Y)
  {
    _TDispID _dispid(/* GetAt */ DISPID(10));
    TAutoArgs<3> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = X /*[VT_I2:1]*/;
    _args[3] = Y /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, short X, short Y)
  {
    _TDispID _dispid(/* SetAt */ DISPID(11));
    TAutoArgs<3> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = X /*[VT_I2:0]*/;
    _args[3] = Y /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Draw(LPDISPATCH Image)
  {
    _TDispID _dispid(/* Draw */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEPathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E5D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEPathVectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEBW8HistogramVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E64-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8HistogramVector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall get_Font()
  {
    _TDispID _dispid(/* Font */ DISPID(-512));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginX()
  {
    _TDispID _dispid(/* OriginX */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OriginY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OriginY()
  {
    _TDispID _dispid(/* OriginY */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hWnd()
  {
    _TDispID _dispid(/* hWnd */ DISPID(-515));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  OLE_HANDLE /*[VT_INT:0]*/ __fastcall get_hDC()
  {
    _TDispID _dispid(/* hDC */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(13));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(long Value)
  {
    _TDispID _dispid(/* AddElement */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, long* Value)
  {
    _TDispID _dispid(/* GetAt */ DISPID(15));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = Value /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, long Value)
  {
    _TDispID _dispid(/* SetAt */ DISPID(16));
    TAutoArgs<2> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = Value /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Refresh()
  {
    _TDispID _dispid(/* Refresh */ DISPID(-550));
    OleProcedure(_dispid);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEBW8HistogramVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E65-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8HistogramVectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEBW8PathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E68-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8PathVector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(8));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(short X, short Y, short Pixel)
  {
    _TDispID _dispid(/* AddElement */ DISPID(9));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I2:0]*/;
    _args[2] = Y /*[VT_I2:0]*/;
    _args[3] = Pixel /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, short* X, short* Y, short* Pixel)
  {
    _TDispID _dispid(/* GetAt */ DISPID(10));
    TAutoArgs<4> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = X /*[VT_I2:1]*/;
    _args[3] = Y /*[VT_I2:1]*/;
    _args[4] = Pixel /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, short X, short Y, short Pixel)
  {
    _TDispID _dispid(/* SetAt */ DISPID(11));
    TAutoArgs<4> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = X /*[VT_I2:0]*/;
    _args[3] = Y /*[VT_I2:0]*/;
    _args[4] = Pixel /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Draw(LPDISPATCH Image)
  {
    _TDispID _dispid(/* Draw */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEBW8PathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E69-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEBW8PathVectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEC24PathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E6C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24PathVector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(8));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(short X, short Y, short PixelRed, short PixelGreen, short PixelBlue)
  {
    _TDispID _dispid(/* AddElement */ DISPID(9));
    TAutoArgs<5> _args;
    _args[1] = X /*[VT_I2:0]*/;
    _args[2] = Y /*[VT_I2:0]*/;
    _args[3] = PixelRed /*[VT_I2:0]*/;
    _args[4] = PixelGreen /*[VT_I2:0]*/;
    _args[5] = PixelBlue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(short Index, short* X, long* Y, short* PixelRed, short* PixelGreen, 
                        short* PixelBlue)
  {
    _TDispID _dispid(/* GetAt */ DISPID(10));
    TAutoArgs<6> _args;
    _args[1] = Index /*[VT_I2:0]*/;
    _args[2] = X /*[VT_I2:1]*/;
    _args[3] = Y /*[VT_I4:1]*/;
    _args[4] = PixelRed /*[VT_I2:1]*/;
    _args[5] = PixelGreen /*[VT_I2:1]*/;
    _args[6] = PixelBlue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(short Index, short X, long Y, short PixelRed, short PixelGreen, 
                        short PixelBlue)
  {
    _TDispID _dispid(/* SetAt */ DISPID(11));
    TAutoArgs<6> _args;
    _args[1] = Index /*[VT_I2:0]*/;
    _args[2] = X /*[VT_I2:0]*/;
    _args[3] = Y /*[VT_I4:0]*/;
    _args[4] = PixelRed /*[VT_I2:0]*/;
    _args[5] = PixelGreen /*[VT_I2:0]*/;
    _args[6] = PixelBlue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Draw(LPDISPATCH Image)
  {
    _TDispID _dispid(/* Draw */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEC24PathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E6D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEC24PathVectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEPeaksVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E70-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEPeaksVector : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumElements(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumElements()
  {
    _TDispID _dispid(/* NumElements */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Empty()
  {
    _TDispID _dispid(/* Empty */ DISPID(4));
    OleProcedure(_dispid);
  }

  void __fastcall AddElement(long Start, long Length, long Amplitude, long Area, float Center)
  {
    _TDispID _dispid(/* AddElement */ DISPID(5));
    TAutoArgs<5> _args;
    _args[1] = Start /*[VT_I4:0]*/;
    _args[2] = Length /*[VT_I4:0]*/;
    _args[3] = Amplitude /*[VT_I4:0]*/;
    _args[4] = Area /*[VT_I4:0]*/;
    _args[5] = Center /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetAt(long Index, long* Start, long* Length, long* Amplitude, long* Area, 
                        float* Center)
  {
    _TDispID _dispid(/* GetAt */ DISPID(6));
    TAutoArgs<6> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = Start /*[VT_I4:1]*/;
    _args[3] = Length /*[VT_I4:1]*/;
    _args[4] = Amplitude /*[VT_I4:1]*/;
    _args[5] = Area /*[VT_I4:1]*/;
    _args[6] = Center /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetAt(long Index, long Start, long Length, long Amplitude, long Area, float Center)
  {
    _TDispID _dispid(/* SetAt */ DISPID(7));
    TAutoArgs<6> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = Start /*[VT_I4:0]*/;
    _args[3] = Length /*[VT_I4:0]*/;
    _args[4] = Amplitude /*[VT_I4:0]*/;
    _args[5] = Area /*[VT_I4:0]*/;
    _args[6] = Center /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEPeaksVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E71-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEPeaksVectorEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEKernel
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E78-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEKernel : public TDispWrapper<IDispatch>
{
  void __fastcall set_SizeX(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* SizeX */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_SizeX()
  {
    _TDispID _dispid(/* SizeX */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SizeY(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* SizeY */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_SizeY()
  {
    _TDispID _dispid(/* SizeY */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Gain(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Gain */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Gain()
  {
    _TDispID _dispid(/* Gain */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Offset(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* Offset */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_Offset()
  {
    _TDispID _dispid(/* Offset */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Rectifier(Evision_tlb::enumImgKernelRectifiers /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Rectifier */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumImgKernelRectifiers /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumImgKernelRectifiers /*[VT_USERDEFINED:0]*/ __fastcall get_Rectifier()
  {
    _TDispID _dispid(/* Rectifier */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumImgKernelRectifiers /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_OutsideValue(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* OutsideValue */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_OutsideValue()
  {
    _TDispID _dispid(/* OutsideValue */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall GetKernelData(long X, long Y, float* Data)
  {
    _TDispID _dispid(/* GetKernelData */ DISPID(9));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = Data /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetKernelData(long X, long Y, float Data)
  {
    _TDispID _dispid(/* SetKernelData */ DISPID(10));
    TAutoArgs<3> _args;
    _args[1] = X /*[VT_I4:0]*/;
    _args[2] = Y /*[VT_I4:0]*/;
    _args[3] = Data /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   short           SizeX = {read = get_SizeX, write = set_SizeX};
  __property   short           SizeY = {read = get_SizeY, write = set_SizeY};
  __property   float           Gain = {read = get_Gain, write = set_Gain};
  __property   long            Offset = {read = get_Offset, write = set_Offset};
  __property   Evision_tlb::enumImgKernelRectifiers Rectifier = {read = get_Rectifier, write = set_Rectifier};
  __property   long            OutsideValue = {read = get_OutsideValue, write = set_OutsideValue};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEKernelEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E79-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEKernelEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEColorLookup
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E7C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEColorLookup : public TDispWrapper<IDispatch>
{
  void __fastcall set_Interpolation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* Interpolation */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_Interpolation()
  {
    _TDispID _dispid(/* Interpolation */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_IndexBits(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* IndexBits */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_IndexBits()
  {
    _TDispID _dispid(/* IndexBits */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ColorSystemIn(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystemIn */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystemIn()
  {
    _TDispID _dispid(/* ColorSystemIn */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ColorSystemOut(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ColorSystemOut */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall get_ColorSystemOut()
  {
    _TDispID _dispid(/* ColorSystemOut */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_RGBStandard(Evision_tlb::enumClrRGBStandards /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* RGBStandard */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumClrRGBStandards /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumClrRGBStandards /*[VT_USERDEFINED:0]*/ __fastcall get_RGBStandard()
  {
    _TDispID _dispid(/* RGBStandard */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumClrRGBStandards /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_SrcQuantization(Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* SrcQuantization */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumClrQuantization /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ __fastcall get_SrcQuantization()
  {
    _TDispID _dispid(/* SrcQuantization */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumClrQuantization /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DstQuantization(Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DstQuantization */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumClrQuantization /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ __fastcall get_DstQuantization()
  {
    _TDispID _dispid(/* DstQuantization */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumClrQuantization /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall AdjustGainOffset(Evision_tlb::enumColorSystems ColorSystem, float Gain0, 
                                   float Offset0, float Gain1, float Offset1, float Gain2, 
                                   float Offset2)
  {
    _TDispID _dispid(/* AdjustGainOffset */ DISPID(10));
    TAutoArgs<7> _args;
    _args[1] = (int)ColorSystem /*[VT_USERDEFINED:0]*/;
    _args[2] = Gain0 /*[VT_R4:0]*/;
    _args[3] = Offset0 /*[VT_R4:0]*/;
    _args[4] = Gain1 /*[VT_R4:0]*/;
    _args[5] = Offset1 /*[VT_R4:0]*/;
    _args[6] = Gain2 /*[VT_R4:0]*/;
    _args[7] = Offset2 /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ConvertToRGB(Evision_tlb::enumColorSystems ColorSystem)
  {
    _TDispID _dispid(/* ConvertToRGB */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = (int)ColorSystem /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ConvertFromRGB(Evision_tlb::enumColorSystems ColorSystem)
  {
    _TDispID _dispid(/* ConvertFromRGB */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = (int)ColorSystem /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Calibrate1(short RedValue, short GreenValue, short BlueValue, float X, float Y, 
                             float Z)
  {
    _TDispID _dispid(/* Calibrate1 */ DISPID(13));
    TAutoArgs<6> _args;
    _args[1] = RedValue /*[VT_I2:0]*/;
    _args[2] = GreenValue /*[VT_I2:0]*/;
    _args[3] = BlueValue /*[VT_I2:0]*/;
    _args[4] = X /*[VT_R4:0]*/;
    _args[5] = Y /*[VT_R4:0]*/;
    _args[6] = Z /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Calibrate3(short RedValue1, short GreenValue1, short BlueValue1, float X1, 
                             float Y1, float Z1, short RedValue2, short GreenValue2, 
                             short BlueValue2, float X2, float Y2, float Z2, short RedValue3, 
                             short GreenValue3, short BlueValue3, float X3, float Y3, float Z3)
  {
    _TDispID _dispid(/* Calibrate3 */ DISPID(14));
    TAutoArgs<18> _args;
    _args[1] = RedValue1 /*[VT_I2:0]*/;
    _args[2] = GreenValue1 /*[VT_I2:0]*/;
    _args[3] = BlueValue1 /*[VT_I2:0]*/;
    _args[4] = X1 /*[VT_R4:0]*/;
    _args[5] = Y1 /*[VT_R4:0]*/;
    _args[6] = Z1 /*[VT_R4:0]*/;
    _args[7] = RedValue2 /*[VT_I2:0]*/;
    _args[8] = GreenValue2 /*[VT_I2:0]*/;
    _args[9] = BlueValue2 /*[VT_I2:0]*/;
    _args[10] = X2 /*[VT_R4:0]*/;
    _args[11] = Y2 /*[VT_R4:0]*/;
    _args[12] = Z2 /*[VT_R4:0]*/;
    _args[13] = RedValue3 /*[VT_I2:0]*/;
    _args[14] = GreenValue3 /*[VT_I2:0]*/;
    _args[15] = BlueValue3 /*[VT_I2:0]*/;
    _args[16] = X3 /*[VT_R4:0]*/;
    _args[17] = Y3 /*[VT_R4:0]*/;
    _args[18] = Z3 /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Calibrate4(short RedValue0, short GreenValue0, short BlueValue0, float X0, 
                             float Y0, float Z0, short RedValue1, short GreenValue1, 
                             short BlueValue1, float X1, float Y1, float Z1, short RedValue2, 
                             short GreenValue2, short BlueValue2, float X2, float Y2, float Z2, 
                             short RedValue3, short GreenValue3, short BlueValue3, float X3, 
                             float Y3, float Z3)
  {
    _TDispID _dispid(/* Calibrate4 */ DISPID(15));
    TAutoArgs<24> _args;
    _args[1] = RedValue0 /*[VT_I2:0]*/;
    _args[2] = GreenValue0 /*[VT_I2:0]*/;
    _args[3] = BlueValue0 /*[VT_I2:0]*/;
    _args[4] = X0 /*[VT_R4:0]*/;
    _args[5] = Y0 /*[VT_R4:0]*/;
    _args[6] = Z0 /*[VT_R4:0]*/;
    _args[7] = RedValue1 /*[VT_I2:0]*/;
    _args[8] = GreenValue1 /*[VT_I2:0]*/;
    _args[9] = BlueValue1 /*[VT_I2:0]*/;
    _args[10] = X1 /*[VT_R4:0]*/;
    _args[11] = Y1 /*[VT_R4:0]*/;
    _args[12] = Z1 /*[VT_R4:0]*/;
    _args[13] = RedValue2 /*[VT_I2:0]*/;
    _args[14] = GreenValue2 /*[VT_I2:0]*/;
    _args[15] = BlueValue2 /*[VT_I2:0]*/;
    _args[16] = X2 /*[VT_R4:0]*/;
    _args[17] = Y2 /*[VT_R4:0]*/;
    _args[18] = Z2 /*[VT_R4:0]*/;
    _args[19] = RedValue3 /*[VT_I2:0]*/;
    _args[20] = GreenValue3 /*[VT_I2:0]*/;
    _args[21] = BlueValue3 /*[VT_I2:0]*/;
    _args[22] = X3 /*[VT_R4:0]*/;
    _args[23] = Y3 /*[VT_R4:0]*/;
    _args[24] = Z3 /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetTransform(long Transformation, Evision_tlb::enumColorSystems ColorSystemIn, 
                               Evision_tlb::enumColorSystems ColorSystemOut)
  {
    _TDispID _dispid(/* SetTransform */ DISPID(16));
    TAutoArgs<3> _args;
    _args[1] = Transformation /*[VT_I4:0]*/;
    _args[2] = (int)ColorSystemIn /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)ColorSystemOut /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Transform(short SrcRedValue, short SrcGreenValue, short SrcBlueValue, 
                            short* DstRedValue, short* DstGreenValue, short* DstBlueValue)
  {
    _TDispID _dispid(/* Transform */ DISPID(17));
    TAutoArgs<6> _args;
    _args[1] = SrcRedValue /*[VT_I2:0]*/;
    _args[2] = SrcGreenValue /*[VT_I2:0]*/;
    _args[3] = SrcBlueValue /*[VT_I2:0]*/;
    _args[4] = DstRedValue /*[VT_I2:1]*/;
    _args[5] = DstGreenValue /*[VT_I2:1]*/;
    _args[6] = DstBlueValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall TransformImage(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage)
  {
    _TDispID _dispid(/* TransformImage */ DISPID(18));
    TAutoArgs<2> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall WhiteBalance(float Gain, float Gamma, float BalanceR, float BalanceG, 
                               float BalanceB)
  {
    _TDispID _dispid(/* WhiteBalance */ DISPID(19));
    TAutoArgs<5> _args;
    _args[1] = Gain /*[VT_R4:0]*/;
    _args[2] = Gamma /*[VT_R4:0]*/;
    _args[3] = BalanceR /*[VT_R4:0]*/;
    _args[4] = BalanceG /*[VT_R4:0]*/;
    _args[5] = BalanceB /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   TOLEBOOL        Interpolation = {read = get_Interpolation, write = set_Interpolation};
  __property   long            IndexBits = {read = get_IndexBits, write = set_IndexBits};
  __property   Evision_tlb::enumColorSystems ColorSystemIn = {read = get_ColorSystemIn, write = set_ColorSystemIn};
  __property   Evision_tlb::enumColorSystems ColorSystemOut = {read = get_ColorSystemOut, write = set_ColorSystemOut};
  __property   Evision_tlb::enumClrRGBStandards RGBStandard = {read = get_RGBStandard, write = set_RGBStandard};
  __property   Evision_tlb::enumClrQuantization SrcQuantization = {read = get_SrcQuantization, write = set_SrcQuantization};
  __property   Evision_tlb::enumClrQuantization DstQuantization = {read = get_DstQuantization, write = set_DstQuantization};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEColorLookupEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E7D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEColorLookupEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DECodedImage
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E90-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DECodedImage : public TDispWrapper<IDispatch>
{
  void __fastcall set_WhiteClass(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* WhiteClass */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_WhiteClass()
  {
    _TDispID _dispid(/* WhiteClass */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NeutralClass(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* NeutralClass */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_NeutralClass()
  {
    _TDispID _dispid(/* NeutralClass */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BlackClass(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* BlackClass */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_BlackClass()
  {
    _TDispID _dispid(/* BlackClass */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LowThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* LowThreshold */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_LowThreshold()
  {
    _TDispID _dispid(/* LowThreshold */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_HighThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* HighThreshold */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_HighThreshold()
  {
    _TDispID _dispid(/* HighThreshold */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LowImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* LowImage */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_LowImage()
  {
    _TDispID _dispid(/* LowImage */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_HighImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* HighImage */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_HighImage()
  {
    _TDispID _dispid(/* HighImage */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumberOfRuns(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumberOfRuns */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumberOfRuns()
  {
    _TDispID _dispid(/* NumberOfRuns */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumberOfObjects(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumberOfObjects */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumberOfObjects()
  {
    _TDispID _dispid(/* NumberOfObjects */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumberOfSelectedObjects(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumberOfSelectedObjects */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumberOfSelectedObjects()
  {
    _TDispID _dispid(/* NumberOfSelectedObjects */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Connexity(Evision_tlb::enumObjObjectConnexity /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Connexity */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumObjObjectConnexity /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumObjObjectConnexity /*[VT_USERDEFINED:0]*/ __fastcall get_Connexity()
  {
    _TDispID _dispid(/* Connexity */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumObjObjectConnexity /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Threshold(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* Threshold */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_Threshold()
  {
    _TDispID _dispid(/* Threshold */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LimitAngle(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* LimitAngle */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_LimitAngle()
  {
    _TDispID _dispid(/* LimitAngle */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetLowColorThreshold(short Red, short Green, short Blue)
  {
    _TDispID _dispid(/* SetLowColorThreshold */ DISPID(20));
    TAutoArgs<3> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetLowColorThreshold(short* Red, short* Green, short* Blue)
  {
    _TDispID _dispid(/* GetLowColorThreshold */ DISPID(21));
    TAutoArgs<3> _args;
    _args[1] = Red /*[VT_I2:1]*/;
    _args[2] = Green /*[VT_I2:1]*/;
    _args[3] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetHighColorThreshold(short Red, short Green, short Blue)
  {
    _TDispID _dispid(/* SetHighColorThreshold */ DISPID(22));
    TAutoArgs<3> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetHighColorThreshold(short* Red, short* Green, short* Blue)
  {
    _TDispID _dispid(/* GetHighColorThreshold */ DISPID(23));
    TAutoArgs<3> _args;
    _args[1] = Red /*[VT_I2:1]*/;
    _args[2] = Green /*[VT_I2:1]*/;
    _args[3] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GoToFirstRun()
  {
    _TDispID _dispid(/* GoToFirstRun */ DISPID(24));
    OleProcedure(_dispid);
  }

  void __fastcall GoToLastRun()
  {
    _TDispID _dispid(/* GoToLastRun */ DISPID(25));
    OleProcedure(_dispid);
  }

  void __fastcall GoToNextRun()
  {
    _TDispID _dispid(/* GoToNextRun */ DISPID(26));
    OleProcedure(_dispid);
  }

  void __fastcall GoToPreviousRun()
  {
    _TDispID _dispid(/* GoToPreviousRun */ DISPID(27));
    OleProcedure(_dispid);
  }

  void __fastcall GetRunData(long* OriginX, long* OriginY, long* Length, long* Class, long* RunIndex
                             , long* ObjectIndex)
  {
    _TDispID _dispid(/* GetRunData */ DISPID(28));
    TAutoArgs<6> _args;
    _args[1] = OriginX /*[VT_I4:1]*/;
    _args[2] = OriginY /*[VT_I4:1]*/;
    _args[3] = Length /*[VT_I4:1]*/;
    _args[4] = Class /*[VT_I4:1]*/;
    _args[5] = RunIndex /*[VT_I4:1]*/;
    _args[6] = ObjectIndex /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall RemoveAllRuns()
  {
    _TDispID _dispid(/* RemoveAllRuns */ DISPID(29));
    OleProcedure(_dispid);
  }

  void __fastcall GoToFirstObject()
  {
    _TDispID _dispid(/* GoToFirstObject */ DISPID(30));
    OleProcedure(_dispid);
  }

  void __fastcall GoToLastObject()
  {
    _TDispID _dispid(/* GoToLastObject */ DISPID(31));
    OleProcedure(_dispid);
  }

  void __fastcall GoToNextObject()
  {
    _TDispID _dispid(/* GoToNextObject */ DISPID(32));
    OleProcedure(_dispid);
  }

  void __fastcall GoToPreviousObject()
  {
    _TDispID _dispid(/* GoToPreviousObject */ DISPID(33));
    OleProcedure(_dispid);
  }

  void __fastcall GoToObjectByIndex(long ObjectIndex)
  {
    _TDispID _dispid(/* GoToObjectByIndex */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = ObjectIndex /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetObjectData(long* Class, long* ObjectIndex, long* NumberOfRuns, 
                                TOLEBOOL* IsSelected)
  {
    _TDispID _dispid(/* GetObjectData */ DISPID(35));
    TAutoArgs<4> _args;
    _args[1] = Class /*[VT_I4:1]*/;
    _args[2] = ObjectIndex /*[VT_I4:1]*/;
    _args[3] = NumberOfRuns /*[VT_I4:1]*/;
    _args[4] = IsSelected /*[VT_BOOL:1]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetObjectIndex()
  {
    _TDispID _dispid(/* GetObjectIndex */ DISPID(36));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SelectObject()
  {
    _TDispID _dispid(/* SelectObject */ DISPID(37));
    OleProcedure(_dispid);
  }

  void __fastcall UnselectObject()
  {
    _TDispID _dispid(/* UnselectObject */ DISPID(38));
    OleProcedure(_dispid);
  }

  TOLEBOOL __fastcall IsObjectSelected()
  {
    _TDispID _dispid(/* IsObjectSelected */ DISPID(39));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SelectAllObjects()
  {
    _TDispID _dispid(/* SelectAllObjects */ DISPID(40));
    OleProcedure(_dispid);
  }

  void __fastcall UnselectAllObjects()
  {
    _TDispID _dispid(/* UnselectAllObjects */ DISPID(41));
    OleProcedure(_dispid);
  }

  void __fastcall RemoveAllObjects()
  {
    _TDispID _dispid(/* RemoveAllObjects */ DISPID(42));
    OleProcedure(_dispid);
  }

  void __fastcall GoToFirstObjectRun()
  {
    _TDispID _dispid(/* GoToFirstObjectRun */ DISPID(43));
    OleProcedure(_dispid);
  }

  void __fastcall GoToLastObjectRun()
  {
    _TDispID _dispid(/* GoToLastObjectRun */ DISPID(44));
    OleProcedure(_dispid);
  }

  void __fastcall GoToNextObjectRun()
  {
    _TDispID _dispid(/* GoToNextObjectRun */ DISPID(45));
    OleProcedure(_dispid);
  }

  void __fastcall GoToPreviousObjectRun()
  {
    _TDispID _dispid(/* GoToPreviousObjectRun */ DISPID(46));
    OleProcedure(_dispid);
  }

  long __fastcall GetNumberOfObjectRuns()
  {
    _TDispID _dispid(/* GetNumberOfObjectRuns */ DISPID(47));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  short __fastcall GetObjectIntegerFeature(Evision_tlb::enumObjObjectFeatures Feature)
  {
    _TDispID _dispid(/* GetObjectIntegerFeature */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall GetObjectLongFeature(Evision_tlb::enumObjObjectFeatures Feature)
  {
    _TDispID _dispid(/* GetObjectLongFeature */ DISPID(49));
    TAutoArgs<1> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall GetObjectSingleFeature(Evision_tlb::enumObjObjectFeatures Feature)
  {
    _TDispID _dispid(/* GetObjectSingleFeature */ DISPID(50));
    TAutoArgs<1> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall BuildRuns(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* BuildRuns */ DISPID(51));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BuildObjects(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* BuildObjects */ DISPID(52));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AnalyseObjects(Evision_tlb::enumObjObjectFeatures Feature)
  {
    _TDispID _dispid(/* AnalyseObjects */ DISPID(53));
    TAutoArgs<1> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SelectObjectsUsingIntegerFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                                   short Min, short Max, 
                                                   Evision_tlb::enumObjSelectOptions Operation)
  {
    _TDispID _dispid(/* SelectObjectsUsingIntegerFeature */ DISPID(54));
    TAutoArgs<4> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = Min /*[VT_I2:0]*/;
    _args[3] = Max /*[VT_I2:0]*/;
    _args[4] = (int)Operation /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SelectObjectsUsingLongFeature(Evision_tlb::enumObjObjectFeatures Feature, long Min
                                                , long Max, 
                                                Evision_tlb::enumObjSelectOptions Operation)
  {
    _TDispID _dispid(/* SelectObjectsUsingLongFeature */ DISPID(55));
    TAutoArgs<4> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = Min /*[VT_I4:0]*/;
    _args[3] = Max /*[VT_I4:0]*/;
    _args[4] = (int)Operation /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SelectObjectsUsingSingleFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                                  float Min, float Max, 
                                                  Evision_tlb::enumObjSelectOptions Operation)
  {
    _TDispID _dispid(/* SelectObjectsUsingSingleFeature */ DISPID(56));
    TAutoArgs<4> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = Min /*[VT_R4:0]*/;
    _args[3] = Max /*[VT_R4:0]*/;
    _args[4] = (int)Operation /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SelectObjectsUsingPosition(long OriginX, long OriginY, long Width, long Height, 
                                             Evision_tlb::enumObjSelectByPosition Operation)
  {
    _TDispID _dispid(/* SelectObjectsUsingPosition */ DISPID(57));
    TAutoArgs<5> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    _args[3] = Width /*[VT_I4:0]*/;
    _args[4] = Height /*[VT_I4:0]*/;
    _args[5] = (int)Operation /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SortObjectsUsingFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                          Evision_tlb::enumObjSortOptions Operation)
  {
    _TDispID _dispid(/* SortObjectsUsingFeature */ DISPID(58));
    TAutoArgs<2> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = (int)Operation /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetObjectRunData(long* OriginX, long* OriginY, long* Length, long* Class, 
                                   long* RunIndex, long* ObjectIndex)
  {
    _TDispID _dispid(/* GetObjectRunData */ DISPID(59));
    TAutoArgs<6> _args;
    _args[1] = OriginX /*[VT_I4:1]*/;
    _args[2] = OriginY /*[VT_I4:1]*/;
    _args[3] = Length /*[VT_I4:1]*/;
    _args[4] = Class /*[VT_I4:1]*/;
    _args[5] = RunIndex /*[VT_I4:1]*/;
    _args[6] = ObjectIndex /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawObject(LPDISPATCH Image)
  {
    _TDispID _dispid(/* DrawObject */ DISPID(60));
    TAutoArgs<1> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawObjects(LPDISPATCH Image, Evision_tlb::enumObjSelectionMode SelectionMode)
  {
    _TDispID _dispid(/* DrawObjects */ DISPID(61));
    TAutoArgs<2> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)SelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawObjectFeature(LPDISPATCH Image, Evision_tlb::enumObjObjectFeatures Feature)
  {
    _TDispID _dispid(/* DrawObjectFeature */ DISPID(62));
    TAutoArgs<2> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)Feature /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawObjectsFeature(LPDISPATCH Image, Evision_tlb::enumObjObjectFeatures Feature, 
                                     Evision_tlb::enumObjSelectionMode SelectionMode)
  {
    _TDispID _dispid(/* DrawObjectsFeature */ DISPID(63));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)SelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BuildLabeledRuns(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* BuildLabeledRuns */ DISPID(64));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BuildLabeledObjects(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* BuildLabeledObjects */ DISPID(65));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall FeatureAverage(Evision_tlb::enumObjObjectFeatures Feature, float* Average)
  {
    _TDispID _dispid(/* FeatureAverage */ DISPID(66));
    TAutoArgs<2> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = Average /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall FeatureVariance(Evision_tlb::enumObjObjectFeatures Feature, float* Average, 
                                  float* Variance)
  {
    _TDispID _dispid(/* FeatureVariance */ DISPID(67));
    TAutoArgs<3> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = Average /*[VT_R4:1]*/;
    _args[3] = Variance /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall FeatureMinimum(Evision_tlb::enumObjObjectFeatures Feature, float* Minimum)
  {
    _TDispID _dispid(/* FeatureMinimum */ DISPID(68));
    TAutoArgs<2> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = Minimum /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall FeatureMaximum(Evision_tlb::enumObjObjectFeatures Feature, float* Maximum)
  {
    _TDispID _dispid(/* FeatureMaximum */ DISPID(69));
    TAutoArgs<2> _args;
    _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
    _args[2] = Maximum /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ConvexHull(LPDISPATCH PathVector)
  {
    _TDispID _dispid(/* ConvexHull */ DISPID(70));
    TAutoArgs<1> _args;
    _args[1] = PathVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   short           WhiteClass = {read = get_WhiteClass, write = set_WhiteClass};
  __property   short           NeutralClass = {read = get_NeutralClass, write = set_NeutralClass};
  __property   short           BlackClass = {read = get_BlackClass, write = set_BlackClass};
  __property   long            LowThreshold = {read = get_LowThreshold, write = set_LowThreshold};
  __property   long            HighThreshold = {read = get_HighThreshold, write = set_HighThreshold};
  __property   LPDISPATCH      LowImage = {read = get_LowImage, write = set_LowImage};
  __property   LPDISPATCH      HighImage = {read = get_HighImage, write = set_HighImage};
  __property   long            NumberOfRuns = {read = get_NumberOfRuns, write = set_NumberOfRuns};
  __property   long            NumberOfObjects = {read = get_NumberOfObjects, write = set_NumberOfObjects};
  __property   long            NumberOfSelectedObjects = {read = get_NumberOfSelectedObjects, write = set_NumberOfSelectedObjects};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   Evision_tlb::enumObjObjectConnexity Connexity = {read = get_Connexity, write = set_Connexity};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   short           Threshold = {read = get_Threshold, write = set_Threshold};
  __property   float           LimitAngle = {read = get_LimitAngle, write = set_LimitAngle};
};
// *********************************************************************//
// Interface: _DECodedImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E91-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DECodedImageEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEMatch
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E94-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEMatch : public TDispWrapper<IDispatch>
{
  void __fastcall set_MinReducedArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MinReducedArea */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MinReducedArea()
  {
    _TDispID _dispid(/* MinReducedArea */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DontCareThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* DontCareThreshold */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_DontCareThreshold()
  {
    _TDispID _dispid(/* DontCareThreshold */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CorrelationMode(Evision_tlb::enumMchCorrelationMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* CorrelationMode */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMchCorrelationMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMchCorrelationMode /*[VT_USERDEFINED:0]*/ __fastcall get_CorrelationMode()
  {
    _TDispID _dispid(/* CorrelationMode */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMchCorrelationMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_MaxPositions(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxPositions */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MaxPositions()
  {
    _TDispID _dispid(/* MaxPositions */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxInitialPositions(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxInitialPositions */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MaxInitialPositions()
  {
    _TDispID _dispid(/* MaxInitialPositions */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinScore(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MinScore */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MinScore()
  {
    _TDispID _dispid(/* MinScore */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinAngle(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MinAngle */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MinAngle()
  {
    _TDispID _dispid(/* MinAngle */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxAngle(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxAngle */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MaxAngle()
  {
    _TDispID _dispid(/* MaxAngle */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinScale(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MinScale */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MinScale()
  {
    _TDispID _dispid(/* MinScale */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxScale(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxScale */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MaxScale()
  {
    _TDispID _dispid(/* MaxScale */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinScaleX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MinScaleX */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MinScaleX()
  {
    _TDispID _dispid(/* MinScaleX */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxScaleX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxScaleX */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MaxScaleX()
  {
    _TDispID _dispid(/* MaxScaleX */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinScaleY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MinScaleY */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MinScaleY()
  {
    _TDispID _dispid(/* MinScaleY */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxScaleY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxScaleY */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MaxScaleY()
  {
    _TDispID _dispid(/* MaxScaleY */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Interpolate(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* Interpolate */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_Interpolate()
  {
    _TDispID _dispid(/* Interpolate */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FinalReduction(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* FinalReduction */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_FinalReduction()
  {
    _TDispID _dispid(/* FinalReduction */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelWidth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelWidth()
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelHeight(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelHeight()
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumPositions(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumPositions */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumPositions()
  {
    _TDispID _dispid(/* NumPositions */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumReductions(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumReductions */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumReductions()
  {
    _TDispID _dispid(/* NumReductions */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ContrastMode(Evision_tlb::enumMchContrastMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ContrastMode */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMchContrastMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMchContrastMode /*[VT_USERDEFINED:0]*/ __fastcall get_ContrastMode()
  {
    _TDispID _dispid(/* ContrastMode */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMchContrastMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall LearnPattern(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* LearnPattern */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Match(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* Match */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetPosition(long Index, float* CenterX, float* CenterY, float* Angle, 
                              float* ScaleX, float* ScaleY, float* Score)
  {
    _TDispID _dispid(/* GetPosition */ DISPID(30));
    TAutoArgs<7> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    _args[2] = CenterX /*[VT_R4:1]*/;
    _args[3] = CenterY /*[VT_R4:1]*/;
    _args[4] = Angle /*[VT_R4:1]*/;
    _args[5] = ScaleX /*[VT_R4:1]*/;
    _args[6] = ScaleY /*[VT_R4:1]*/;
    _args[7] = Score /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawPosition(LPDISPATCH Image, long Index)
  {
    _TDispID _dispid(/* DrawPosition */ DISPID(31));
    TAutoArgs<2> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = Index /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawPositions(LPDISPATCH Image)
  {
    _TDispID _dispid(/* DrawPositions */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Load(BSTR PathName)
  {
    _TDispID _dispid(/* Load */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Save(BSTR PathName)
  {
    _TDispID _dispid(/* Save */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetPattern(LPDISPATCH DstImg)
  {
    _TDispID _dispid(/* GetPattern */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = DstImg /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            MinReducedArea = {read = get_MinReducedArea, write = set_MinReducedArea};
  __property   long            DontCareThreshold = {read = get_DontCareThreshold, write = set_DontCareThreshold};
  __property   Evision_tlb::enumMchCorrelationMode CorrelationMode = {read = get_CorrelationMode, write = set_CorrelationMode};
  __property   long            MaxPositions = {read = get_MaxPositions, write = set_MaxPositions};
  __property   long            MaxInitialPositions = {read = get_MaxInitialPositions, write = set_MaxInitialPositions};
  __property   float           MinScore = {read = get_MinScore, write = set_MinScore};
  __property   float           MinAngle = {read = get_MinAngle, write = set_MinAngle};
  __property   float           MaxAngle = {read = get_MaxAngle, write = set_MaxAngle};
  __property   float           MinScale = {read = get_MinScale, write = set_MinScale};
  __property   float           MaxScale = {read = get_MaxScale, write = set_MaxScale};
  __property   float           MinScaleX = {read = get_MinScaleX, write = set_MinScaleX};
  __property   float           MaxScaleX = {read = get_MaxScaleX, write = set_MaxScaleX};
  __property   float           MinScaleY = {read = get_MinScaleY, write = set_MinScaleY};
  __property   float           MaxScaleY = {read = get_MaxScaleY, write = set_MaxScaleY};
  __property   TOLEBOOL        Interpolate = {read = get_Interpolate, write = set_Interpolate};
  __property   long            FinalReduction = {read = get_FinalReduction, write = set_FinalReduction};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   long            NumPositions = {read = get_NumPositions, write = set_NumPositions};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            NumReductions = {read = get_NumReductions, write = set_NumReductions};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   Evision_tlb::enumMchContrastMode ContrastMode = {read = get_ContrastMode, write = set_ContrastMode};
};
// *********************************************************************//
// Interface: _DEMatchEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E95-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEMatchEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEPointMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E9C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEPointMeasure : public TDispWrapper<IDispatch>
{
  void __fastcall set_TransitionType(Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionType */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionType /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionType()
  {
    _TDispID _dispid(/* TransitionType */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionType /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ProjectionThickness(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ProjectionThickness */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ProjectionThickness()
  {
    _TDispID _dispid(/* ProjectionThickness */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionSmoothing */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionSmoothing /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionSmoothing()
  {
    _TDispID _dispid(/* TransitionSmoothing */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionSmoothing /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DerivativeThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* DerivativeThreshold */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_DerivativeThreshold()
  {
    _TDispID _dispid(/* DerivativeThreshold */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionChoice */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionChoice /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionChoice()
  {
    _TDispID _dispid(/* TransitionChoice */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionChoice /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TransitionHysteresis(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionHysteresis */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionHysteresis()
  {
    _TDispID _dispid(/* TransitionHysteresis */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionMinGreyStep(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionMinGreyStep */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionMinGreyStep()
  {
    _TDispID _dispid(/* TransitionMinGreyStep */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionNumber(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionNumber */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionNumber()
  {
    _TDispID _dispid(/* TransitionNumber */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredX */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredX()
  {
    _TDispID _dispid(/* MeasuredX */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredY */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredY()
  {
    _TDispID _dispid(/* MeasuredY */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_InverseTransition(Evision_tlb::enumMsrInverseTransition /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* InverseTransition */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrInverseTransition /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrInverseTransition /*[VT_USERDEFINED:0]*/ __fastcall get_InverseTransition()
  {
    _TDispID _dispid(/* InverseTransition */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrInverseTransition /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ToleranceVertically(Evision_tlb::enumMsrToleranceVertically /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ToleranceVertically */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrToleranceVertically /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrToleranceVertically /*[VT_USERDEFINED:0]*/ __fastcall get_ToleranceVertically()
  {
    _TDispID _dispid(/* ToleranceVertically */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrToleranceVertically /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_PositionX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PositionX */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PositionX()
  {
    _TDispID _dispid(/* PositionX */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PositionY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PositionY */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PositionY()
  {
    _TDispID _dispid(/* PositionY */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_HVTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* HVTolerance */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_HVTolerance()
  {
    _TDispID _dispid(/* HVTolerance */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Slope(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Slope */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Slope()
  {
    _TDispID _dispid(/* Slope */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredGrayStep(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredGrayStep */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MeasuredGrayStep()
  {
    _TDispID _dispid(/* MeasuredGrayStep */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelWidth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelWidth()
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelHeight(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelHeight()
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall get_PixelUnit()
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Angle(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Angle */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Angle()
  {
    _TDispID _dispid(/* Angle */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall FindPointAlongLine(LPDISPATCH BW8SrcImage)
  {
    _TDispID _dispid(/* FindPointAlongLine */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                       TOLEBOOL DrawHandles)
  {
    _TDispID _dispid(/* Draw */ DISPID(31));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)DrawingMode /*[VT_USERDEFINED:0]*/;
    _args[3] = DrawHandles /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumMsrHandleNames __fastcall HitTest(LPDISPATCH Image, long X, long Y)
  {
    _TDispID _dispid(/* HitTest */ DISPID(32));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = X /*[VT_I4:0]*/;
    _args[3] = Y /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumMsrHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, long Y)
  {
    _TDispID _dispid(/* Drag */ DISPID(33));
    TAutoArgs<4> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)Handle /*[VT_USERDEFINED:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumMsrTransitionType TransitionType = {read = get_TransitionType, write = set_TransitionType};
  __property   long            ProjectionThickness = {read = get_ProjectionThickness, write = set_ProjectionThickness};
  __property   Evision_tlb::enumMsrTransitionSmoothing TransitionSmoothing = {read = get_TransitionSmoothing, write = set_TransitionSmoothing};
  __property   long            DerivativeThreshold = {read = get_DerivativeThreshold, write = set_DerivativeThreshold};
  __property   Evision_tlb::enumMsrTransitionChoice TransitionChoice = {read = get_TransitionChoice, write = set_TransitionChoice};
  __property   long            TransitionHysteresis = {read = get_TransitionHysteresis, write = set_TransitionHysteresis};
  __property   long            TransitionMinGreyStep = {read = get_TransitionMinGreyStep, write = set_TransitionMinGreyStep};
  __property   long            TransitionNumber = {read = get_TransitionNumber, write = set_TransitionNumber};
  __property   float           MeasuredX = {read = get_MeasuredX, write = set_MeasuredX};
  __property   float           MeasuredY = {read = get_MeasuredY, write = set_MeasuredY};
  __property   Evision_tlb::enumMsrInverseTransition InverseTransition = {read = get_InverseTransition, write = set_InverseTransition};
  __property   Evision_tlb::enumMsrToleranceVertically ToleranceVertically = {read = get_ToleranceVertically, write = set_ToleranceVertically};
  __property   float           PositionX = {read = get_PositionX, write = set_PositionX};
  __property   float           PositionY = {read = get_PositionY, write = set_PositionY};
  __property   float           HVTolerance = {read = get_HVTolerance, write = set_HVTolerance};
  __property   float           Slope = {read = get_Slope, write = set_Slope};
  __property   long            MeasuredGrayStep = {read = get_MeasuredGrayStep, write = set_MeasuredGrayStep};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           Angle = {read = get_Angle, write = set_Angle};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEPointMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E9D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEPointMeasureEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DELineMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DELineMeasure : public TDispWrapper<IDispatch>
{
  void __fastcall set_TransitionType(Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionType */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionType /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionType()
  {
    _TDispID _dispid(/* TransitionType */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionType /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ProjectionThickness(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ProjectionThickness */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ProjectionThickness()
  {
    _TDispID _dispid(/* ProjectionThickness */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionSmoothing */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionSmoothing /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionSmoothing()
  {
    _TDispID _dispid(/* TransitionSmoothing */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionSmoothing /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DerivativeThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* DerivativeThreshold */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_DerivativeThreshold()
  {
    _TDispID _dispid(/* DerivativeThreshold */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionChoice */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionChoice /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionChoice()
  {
    _TDispID _dispid(/* TransitionChoice */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionChoice /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TransitionHysteresis(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionHysteresis */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionHysteresis()
  {
    _TDispID _dispid(/* TransitionHysteresis */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionMinGreyStep(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionMinGreyStep */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionMinGreyStep()
  {
    _TDispID _dispid(/* TransitionMinGreyStep */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionNumber(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionNumber */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionNumber()
  {
    _TDispID _dispid(/* TransitionNumber */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredX */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredX()
  {
    _TDispID _dispid(/* MeasuredX */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredY */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredY()
  {
    _TDispID _dispid(/* MeasuredY */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SamplingStep(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SamplingStep */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SamplingStep()
  {
    _TDispID _dispid(/* SamplingStep */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FilteringCount(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* FilteringCount */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_FilteringCount()
  {
    _TDispID _dispid(/* FilteringCount */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PointCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PointCount */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PointCount()
  {
    _TDispID _dispid(/* PointCount */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PointValidCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PointValidCount */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PointValidCount()
  {
    _TDispID _dispid(/* PointValidCount */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OutlineTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OutlineTolerance */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OutlineTolerance()
  {
    _TDispID _dispid(/* OutlineTolerance */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FilteringThreshold(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* FilteringThreshold */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_FilteringThreshold()
  {
    _TDispID _dispid(/* FilteringThreshold */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NominalX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* NominalX */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_NominalX()
  {
    _TDispID _dispid(/* NominalX */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NominalY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* NominalY */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_NominalY()
  {
    _TDispID _dispid(/* NominalY */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FixedSlope(Evision_tlb::enumMsrSlope /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FixedSlope */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrSlope /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrSlope /*[VT_USERDEFINED:0]*/ __fastcall get_FixedSlope()
  {
    _TDispID _dispid(/* FixedSlope */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrSlope /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_BaseVertically(Evision_tlb::enumMsrBaseVertically /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* BaseVertically */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrBaseVertically /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrBaseVertically /*[VT_USERDEFINED:0]*/ __fastcall get_BaseVertically()
  {
    _TDispID _dispid(/* BaseVertically */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrBaseVertically /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_NominalSlope(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* NominalSlope */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_NominalSlope()
  {
    _TDispID _dispid(/* NominalSlope */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BaseSize(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BaseSize */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BaseSize()
  {
    _TDispID _dispid(/* BaseSize */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredSlope(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredSlope */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredSlope()
  {
    _TDispID _dispid(/* MeasuredSlope */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredDeviation */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredDeviation()
  {
    _TDispID _dispid(/* MeasuredDeviation */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelWidth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelWidth()
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelHeight(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelHeight()
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall get_PixelUnit()
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_BaseAngle(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BaseAngle */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BaseAngle()
  {
    _TDispID _dispid(/* BaseAngle */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredAngle(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredAngle */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredAngle()
  {
    _TDispID _dispid(/* MeasuredAngle */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumPoints(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumPoints */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumPoints()
  {
    _TDispID _dispid(/* NumPoints */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumValidPoints(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumValidPoints */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumValidPoints()
  {
    _TDispID _dispid(/* NumValidPoints */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall FitLine(LPDISPATCH BW8SrcImage)
  {
    _TDispID _dispid(/* FitLine */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                       TOLEBOOL DrawHandles)
  {
    _TDispID _dispid(/* Draw */ DISPID(41));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)DrawingMode /*[VT_USERDEFINED:0]*/;
    _args[3] = DrawHandles /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumMsrHandleNames __fastcall HitTest(LPDISPATCH Image, long X, long Y)
  {
    _TDispID _dispid(/* HitTest */ DISPID(42));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = X /*[VT_I4:0]*/;
    _args[3] = Y /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumMsrHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, long Y)
  {
    _TDispID _dispid(/* Drag */ DISPID(43));
    TAutoArgs<4> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)Handle /*[VT_USERDEFINED:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  float __fastcall get_PointX(short Indice)
  {
    _TDispID _dispid(/* PointX */ DISPID(44));
    TAutoArgs<1> _args;
    _args[1] = Indice /*[VT_I2:0]*/;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall get_PointY(short Indice)
  {
    _TDispID _dispid(/* PointY */ DISPID(45));
    TAutoArgs<1> _args;
    _args[1] = Indice /*[VT_I2:0]*/;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  TOLEBOOL __fastcall get_PointValid(short Indice)
  {
    _TDispID _dispid(/* PointValid */ DISPID(46));
    TAutoArgs<1> _args;
    _args[1] = Indice /*[VT_I2:0]*/;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumMsrTransitionType TransitionType = {read = get_TransitionType, write = set_TransitionType};
  __property   long            ProjectionThickness = {read = get_ProjectionThickness, write = set_ProjectionThickness};
  __property   Evision_tlb::enumMsrTransitionSmoothing TransitionSmoothing = {read = get_TransitionSmoothing, write = set_TransitionSmoothing};
  __property   long            DerivativeThreshold = {read = get_DerivativeThreshold, write = set_DerivativeThreshold};
  __property   Evision_tlb::enumMsrTransitionChoice TransitionChoice = {read = get_TransitionChoice, write = set_TransitionChoice};
  __property   long            TransitionHysteresis = {read = get_TransitionHysteresis, write = set_TransitionHysteresis};
  __property   long            TransitionMinGreyStep = {read = get_TransitionMinGreyStep, write = set_TransitionMinGreyStep};
  __property   long            TransitionNumber = {read = get_TransitionNumber, write = set_TransitionNumber};
  __property   float           MeasuredX = {read = get_MeasuredX, write = set_MeasuredX};
  __property   float           MeasuredY = {read = get_MeasuredY, write = set_MeasuredY};
  __property   float           SamplingStep = {read = get_SamplingStep, write = set_SamplingStep};
  __property   float           FilteringCount = {read = get_FilteringCount, write = set_FilteringCount};
  __property   long            PointCount = {read = get_PointCount, write = set_PointCount};
  __property   long            PointValidCount = {read = get_PointValidCount, write = set_PointValidCount};
  __property   float           OutlineTolerance = {read = get_OutlineTolerance, write = set_OutlineTolerance};
  __property   float           FilteringThreshold = {read = get_FilteringThreshold, write = set_FilteringThreshold};
  __property   float           NominalX = {read = get_NominalX, write = set_NominalX};
  __property   float           NominalY = {read = get_NominalY, write = set_NominalY};
  __property   Evision_tlb::enumMsrSlope FixedSlope = {read = get_FixedSlope, write = set_FixedSlope};
  __property   Evision_tlb::enumMsrBaseVertically BaseVertically = {read = get_BaseVertically, write = set_BaseVertically};
  __property   float           NominalSlope = {read = get_NominalSlope, write = set_NominalSlope};
  __property   float           BaseSize = {read = get_BaseSize, write = set_BaseSize};
  __property   float           MeasuredSlope = {read = get_MeasuredSlope, write = set_MeasuredSlope};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   float           MeasuredDeviation = {read = get_MeasuredDeviation, write = set_MeasuredDeviation};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           BaseAngle = {read = get_BaseAngle, write = set_BaseAngle};
  __property   float           MeasuredAngle = {read = get_MeasuredAngle, write = set_MeasuredAngle};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   long            NumPoints = {read = get_NumPoints, write = set_NumPoints};
  __property   long            NumValidPoints = {read = get_NumValidPoints, write = set_NumValidPoints};
};
// *********************************************************************//
// Interface: _DELineMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DELineMeasureEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DECircleMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DECircleMeasure : public TDispWrapper<IDispatch>
{
  void __fastcall set_TransitionType(Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionType */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionType /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionType()
  {
    _TDispID _dispid(/* TransitionType */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionType /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ProjectionThickness(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ProjectionThickness */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ProjectionThickness()
  {
    _TDispID _dispid(/* ProjectionThickness */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionSmoothing */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionSmoothing /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionSmoothing()
  {
    _TDispID _dispid(/* TransitionSmoothing */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionSmoothing /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DerivativeThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* DerivativeThreshold */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_DerivativeThreshold()
  {
    _TDispID _dispid(/* DerivativeThreshold */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionChoice */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionChoice /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ __fastcall get_TransitionChoice()
  {
    _TDispID _dispid(/* TransitionChoice */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrTransitionChoice /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TransitionHysteresis(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionHysteresis */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionHysteresis()
  {
    _TDispID _dispid(/* TransitionHysteresis */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionMinGreyStep(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionMinGreyStep */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionMinGreyStep()
  {
    _TDispID _dispid(/* TransitionMinGreyStep */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TransitionNumber(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TransitionNumber */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TransitionNumber()
  {
    _TDispID _dispid(/* TransitionNumber */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredX */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredX()
  {
    _TDispID _dispid(/* MeasuredX */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredY */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredY()
  {
    _TDispID _dispid(/* MeasuredY */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SamplingStep(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SamplingStep */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SamplingStep()
  {
    _TDispID _dispid(/* SamplingStep */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FilteringCount(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* FilteringCount */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_FilteringCount()
  {
    _TDispID _dispid(/* FilteringCount */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PointCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PointCount */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PointCount()
  {
    _TDispID _dispid(/* PointCount */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PointValidCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PointValidCount */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PointValidCount()
  {
    _TDispID _dispid(/* PointValidCount */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OutlineTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* OutlineTolerance */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_OutlineTolerance()
  {
    _TDispID _dispid(/* OutlineTolerance */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FilteringThreshold(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* FilteringThreshold */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_FilteringThreshold()
  {
    _TDispID _dispid(/* FilteringThreshold */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NominalX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* NominalX */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_NominalX()
  {
    _TDispID _dispid(/* NominalX */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NominalY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* NominalY */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_NominalY()
  {
    _TDispID _dispid(/* NominalY */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Centering(Evision_tlb::enumMsrCircleCentering /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Centering */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrCircleCentering /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrCircleCentering /*[VT_USERDEFINED:0]*/ __fastcall get_Centering()
  {
    _TDispID _dispid(/* Centering */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrCircleCentering /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Isotropic(Evision_tlb::enumMsrCircleIsotropic /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Isotropic */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrCircleIsotropic /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrCircleIsotropic /*[VT_USERDEFINED:0]*/ __fastcall get_Isotropic()
  {
    _TDispID _dispid(/* Isotropic */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrCircleIsotropic /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_IterationCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* IterationCount */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_IterationCount()
  {
    _TDispID _dispid(/* IterationCount */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NormalPoint(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NormalPoint */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NormalPoint()
  {
    _TDispID _dispid(/* NormalPoint */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AutomaticStop(Evision_tlb::enumMsrCircleAutomaticStop /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* AutomaticStop */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrCircleAutomaticStop /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMsrCircleAutomaticStop /*[VT_USERDEFINED:0]*/ __fastcall get_AutomaticStop()
  {
    _TDispID _dispid(/* AutomaticStop */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMsrCircleAutomaticStop /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_NominalRadius(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* NominalRadius */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_NominalRadius()
  {
    _TDispID _dispid(/* NominalRadius */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SectorAxe(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SectorAxe */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SectorAxe()
  {
    _TDispID _dispid(/* SectorAxe */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SectorExcursion(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SectorExcursion */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SectorExcursion()
  {
    _TDispID _dispid(/* SectorExcursion */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxDisplacement(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxDisplacement */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MaxDisplacement()
  {
    _TDispID _dispid(/* MaxDisplacement */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredRadius(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredRadius */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredRadius()
  {
    _TDispID _dispid(/* MeasuredRadius */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* FillColor */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_FillColor()
  {
    _TDispID _dispid(/* FillColor */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* FillStyle */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall get_FillStyle()
  {
    _TDispID _dispid(/* FillStyle */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredDeviation */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredDeviation()
  {
    _TDispID _dispid(/* MeasuredDeviation */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelWidth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelWidth()
  {
    _TDispID _dispid(/* PixelWidth */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelHeight(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PixelHeight()
  {
    _TDispID _dispid(/* PixelHeight */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall get_PixelUnit()
  {
    _TDispID _dispid(/* PixelUnit */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(40));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumPoints(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumPoints */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumPoints()
  {
    _TDispID _dispid(/* NumPoints */ DISPID(41));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumValidPoints(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumValidPoints */ DISPID(42));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumValidPoints()
  {
    _TDispID _dispid(/* NumValidPoints */ DISPID(42));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall FitCircle(LPDISPATCH BW8SrcImage)
  {
    _TDispID _dispid(/* FitCircle */ DISPID(43));
    TAutoArgs<1> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                       TOLEBOOL DrawHandles)
  {
    _TDispID _dispid(/* Draw */ DISPID(44));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)DrawingMode /*[VT_USERDEFINED:0]*/;
    _args[3] = DrawHandles /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumMsrHandleNames __fastcall HitTest(LPDISPATCH Image, long X, long Y)
  {
    _TDispID _dispid(/* HitTest */ DISPID(45));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = X /*[VT_I4:0]*/;
    _args[3] = Y /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumMsrHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, long Y)
  {
    _TDispID _dispid(/* Drag */ DISPID(46));
    TAutoArgs<4> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)Handle /*[VT_USERDEFINED:0]*/;
    _args[3] = X /*[VT_I4:0]*/;
    _args[4] = Y /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  float __fastcall get_PointX(short Indice)
  {
    _TDispID _dispid(/* PointX */ DISPID(47));
    TAutoArgs<1> _args;
    _args[1] = Indice /*[VT_I2:0]*/;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall get_PointY(short Indice)
  {
    _TDispID _dispid(/* PointY */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = Indice /*[VT_I2:0]*/;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  TOLEBOOL __fastcall get_PointValid(short Indice)
  {
    _TDispID _dispid(/* PointValid */ DISPID(49));
    TAutoArgs<1> _args;
    _args[1] = Indice /*[VT_I2:0]*/;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumMsrTransitionType TransitionType = {read = get_TransitionType, write = set_TransitionType};
  __property   long            ProjectionThickness = {read = get_ProjectionThickness, write = set_ProjectionThickness};
  __property   Evision_tlb::enumMsrTransitionSmoothing TransitionSmoothing = {read = get_TransitionSmoothing, write = set_TransitionSmoothing};
  __property   long            DerivativeThreshold = {read = get_DerivativeThreshold, write = set_DerivativeThreshold};
  __property   Evision_tlb::enumMsrTransitionChoice TransitionChoice = {read = get_TransitionChoice, write = set_TransitionChoice};
  __property   long            TransitionHysteresis = {read = get_TransitionHysteresis, write = set_TransitionHysteresis};
  __property   long            TransitionMinGreyStep = {read = get_TransitionMinGreyStep, write = set_TransitionMinGreyStep};
  __property   long            TransitionNumber = {read = get_TransitionNumber, write = set_TransitionNumber};
  __property   float           MeasuredX = {read = get_MeasuredX, write = set_MeasuredX};
  __property   float           MeasuredY = {read = get_MeasuredY, write = set_MeasuredY};
  __property   float           SamplingStep = {read = get_SamplingStep, write = set_SamplingStep};
  __property   float           FilteringCount = {read = get_FilteringCount, write = set_FilteringCount};
  __property   long            PointCount = {read = get_PointCount, write = set_PointCount};
  __property   long            PointValidCount = {read = get_PointValidCount, write = set_PointValidCount};
  __property   float           OutlineTolerance = {read = get_OutlineTolerance, write = set_OutlineTolerance};
  __property   float           FilteringThreshold = {read = get_FilteringThreshold, write = set_FilteringThreshold};
  __property   float           NominalX = {read = get_NominalX, write = set_NominalX};
  __property   float           NominalY = {read = get_NominalY, write = set_NominalY};
  __property   Evision_tlb::enumMsrCircleCentering Centering = {read = get_Centering, write = set_Centering};
  __property   Evision_tlb::enumMsrCircleIsotropic Isotropic = {read = get_Isotropic, write = set_Isotropic};
  __property   long            IterationCount = {read = get_IterationCount, write = set_IterationCount};
  __property   long            NormalPoint = {read = get_NormalPoint, write = set_NormalPoint};
  __property   Evision_tlb::enumMsrCircleAutomaticStop AutomaticStop = {read = get_AutomaticStop, write = set_AutomaticStop};
  __property   float           NominalRadius = {read = get_NominalRadius, write = set_NominalRadius};
  __property   float           SectorAxe = {read = get_SectorAxe, write = set_SectorAxe};
  __property   float           SectorExcursion = {read = get_SectorExcursion, write = set_SectorExcursion};
  __property   float           MaxDisplacement = {read = get_MaxDisplacement, write = set_MaxDisplacement};
  __property   float           MeasuredRadius = {read = get_MeasuredRadius, write = set_MeasuredRadius};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   float           MeasuredDeviation = {read = get_MeasuredDeviation, write = set_MeasuredDeviation};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   long            NumPoints = {read = get_NumPoints, write = set_NumPoints};
  __property   long            NumValidPoints = {read = get_NumValidPoints, write = set_NumValidPoints};
};
// *********************************************************************//
// Interface: _DECircleMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DECircleMeasureEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEOCR
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCR : public TDispWrapper<IDispatch>
{
  void __fastcall set_TextColor(Evision_tlb::enumOcrColor /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TextColor */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrColor /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumOcrColor /*[VT_USERDEFINED:0]*/ __fastcall get_TextColor()
  {
    _TDispID _dispid(/* TextColor */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumOcrColor /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Threshold(Evision_tlb::enumImgThresholdModes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Threshold */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumImgThresholdModes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumImgThresholdModes /*[VT_USERDEFINED:0]*/ __fastcall get_Threshold()
  {
    _TDispID _dispid(/* Threshold */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumImgThresholdModes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_MinCharWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MinCharWidth */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MinCharWidth()
  {
    _TDispID _dispid(/* MinCharWidth */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxCharWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxCharWidth */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MaxCharWidth()
  {
    _TDispID _dispid(/* MaxCharWidth */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinCharHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MinCharHeight */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MinCharHeight()
  {
    _TDispID _dispid(/* MinCharHeight */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxCharHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxCharHeight */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MaxCharHeight()
  {
    _TDispID _dispid(/* MaxCharHeight */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CharSpacing(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* CharSpacing */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_CharSpacing()
  {
    _TDispID _dispid(/* CharSpacing */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NoiseArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NoiseArea */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NoiseArea()
  {
    _TDispID _dispid(/* NoiseArea */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SegmentationMode(Evision_tlb::enumOcrSegmentationMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* SegmentationMode */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrSegmentationMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumOcrSegmentationMode /*[VT_USERDEFINED:0]*/ __fastcall get_SegmentationMode()
  {
    _TDispID _dispid(/* SegmentationMode */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumOcrSegmentationMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_NumChars(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumChars */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumChars()
  {
    _TDispID _dispid(/* NumChars */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumPatterns(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumPatterns */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumPatterns()
  {
    _TDispID _dispid(/* NumPatterns */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PatternWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PatternWidth */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PatternWidth()
  {
    _TDispID _dispid(/* PatternWidth */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PatternHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PatternHeight */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PatternHeight()
  {
    _TDispID _dispid(/* PatternHeight */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CutLargeCharacters(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* CutLargeCharacters */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_CutLargeCharacters()
  {
    _TDispID _dispid(/* CutLargeCharacters */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CompareAspectRatio(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* CompareAspectRatio */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_CompareAspectRatio()
  {
    _TDispID _dispid(/* CompareAspectRatio */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_RemoveNarrowOrFlat(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* RemoveNarrowOrFlat */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_RemoveNarrowOrFlat()
  {
    _TDispID _dispid(/* RemoveNarrowOrFlat */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_RemoveBorder(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* RemoveBorder */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_RemoveBorder()
  {
    _TDispID _dispid(/* RemoveBorder */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_RelativeSpacing(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* RelativeSpacing */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_RelativeSpacing()
  {
    _TDispID _dispid(/* RelativeSpacing */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AverageFirstCharDistance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* AverageFirstCharDistance */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_AverageFirstCharDistance()
  {
    _TDispID _dispid(/* AverageFirstCharDistance */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftToleranceX(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftToleranceX */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ShiftToleranceX()
  {
    _TDispID _dispid(/* ShiftToleranceX */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MatchingMode(Evision_tlb::enumOcrMatchingMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* MatchingMode */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrMatchingMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumOcrMatchingMode /*[VT_USERDEFINED:0]*/ __fastcall get_MatchingMode()
  {
    _TDispID _dispid(/* MatchingMode */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumOcrMatchingMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ShiftingMode(Evision_tlb::enumOcrShiftingMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftingMode */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrShiftingMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumOcrShiftingMode /*[VT_USERDEFINED:0]*/ __fastcall get_ShiftingMode()
  {
    _TDispID _dispid(/* ShiftingMode */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumOcrShiftingMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ShiftToleranceY(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftToleranceY */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ShiftToleranceY()
  {
    _TDispID _dispid(/* ShiftToleranceY */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall GetFirstCharCode(long Index)
  {
    _TDispID _dispid(/* GetFirstCharCode */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall GetSecondCharCode(long Index)
  {
    _TDispID _dispid(/* GetSecondCharCode */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall GetFirstCharDistance(long Index)
  {
    _TDispID _dispid(/* GetFirstCharDistance */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall GetSecondCharDistance(long Index)
  {
    _TDispID _dispid(/* GetSecondCharDistance */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharOrgX(long Index)
  {
    _TDispID _dispid(/* CharOrgX */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharOrgY(long Index)
  {
    _TDispID _dispid(/* CharOrgY */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharDstX(long Index)
  {
    _TDispID _dispid(/* CharDstX */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharDstY(long Index)
  {
    _TDispID _dispid(/* CharDstY */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharTotalOrgX(long Index)
  {
    _TDispID _dispid(/* CharTotalOrgX */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharTotalOrgY(long Index)
  {
    _TDispID _dispid(/* CharTotalOrgY */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharTotalDstX(long Index)
  {
    _TDispID _dispid(/* CharTotalDstX */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharTotalDstY(long Index)
  {
    _TDispID _dispid(/* CharTotalDstY */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharWidth(long Index)
  {
    _TDispID _dispid(/* CharWidth */ DISPID(42));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall CharHeight(long Index)
  {
    _TDispID _dispid(/* CharHeight */ DISPID(43));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall AddClasses(long Classes)
  {
    _TDispID _dispid(/* AddClasses */ DISPID(44));
    TAutoArgs<1> _args;
    _args[1] = Classes /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall EmptyClasses()
  {
    _TDispID _dispid(/* EmptyClasses */ DISPID(45));
    OleProcedure(_dispid);
  }

  void __fastcall RecognizeClasses(LPDISPATCH BW8SrcImage, long MaxChars, BSTR* DstString)
  {
    _TDispID _dispid(/* RecognizeClasses */ DISPID(46));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = MaxChars /*[VT_I4:0]*/;
    _args[3] = DstString /*[VT_BSTR:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall RecognizeClass(LPDISPATCH BW8SrcImage, long MaxChars, 
                                 Evision_tlb::enumOcrClasses Classes, BSTR* DstString)
  {
    _TDispID _dispid(/* RecognizeClass */ DISPID(47));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = MaxChars /*[VT_I4:0]*/;
    _args[3] = (int)Classes /*[VT_USERDEFINED:0]*/;
    _args[4] = DstString /*[VT_BSTR:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LoadFont(BSTR PathName)
  {
    _TDispID _dispid(/* LoadFont */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SaveFont(BSTR PathName)
  {
    _TDispID _dispid(/* SaveFont */ DISPID(49));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall GetPatternCode(long Index)
  {
    _TDispID _dispid(/* GetPatternCode */ DISPID(50));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  long __fastcall GetPatternClass(long Index)
  {
    _TDispID _dispid(/* GetPatternClass */ DISPID(51));
    TAutoArgs<1> _args;
    _args[1] = Index /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall AddPatternFromImage(LPDISPATCH BW8SrcImage, long OriginX, long OriginY, long Width
                                      , long Height, long Code, Evision_tlb::enumOcrClasses Class)
  {
    _TDispID _dispid(/* AddPatternFromImage */ DISPID(52));
    TAutoArgs<7> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = OriginX /*[VT_I4:0]*/;
    _args[3] = OriginY /*[VT_I4:0]*/;
    _args[4] = Width /*[VT_I4:0]*/;
    _args[5] = Height /*[VT_I4:0]*/;
    _args[6] = Code /*[VT_I4:0]*/;
    _args[7] = (int)Class /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawChar(LPDISPATCH Image, long Index)
  {
    _TDispID _dispid(/* DrawChar */ DISPID(53));
    TAutoArgs<2> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = Index /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawChars(LPDISPATCH Image)
  {
    _TDispID _dispid(/* DrawChars */ DISPID(54));
    TAutoArgs<1> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall NewFont(long PatternWidth, long PatternHeight)
  {
    _TDispID _dispid(/* NewFont */ DISPID(55));
    TAutoArgs<2> _args;
    _args[1] = PatternWidth /*[VT_I4:0]*/;
    _args[2] = PatternHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BuildObjects(LPDISPATCH BW8SrcImage)
  {
    _TDispID _dispid(/* BuildObjects */ DISPID(56));
    TAutoArgs<1> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall FindAllChars(LPDISPATCH BW8SrcImage)
  {
    _TDispID _dispid(/* FindAllChars */ DISPID(57));
    TAutoArgs<1> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall EmptyChars()
  {
    _TDispID _dispid(/* EmptyChars */ DISPID(58));
    OleProcedure(_dispid);
  }

  short __fastcall AddChars(long OrgX, long OrgY, long EndX, long EndY)
  {
    _TDispID _dispid(/* AddChars */ DISPID(59));
    TAutoArgs<4> _args;
    _args[1] = OrgX /*[VT_I4:0]*/;
    _args[2] = OrgY /*[VT_I4:0]*/;
    _args[3] = EndX /*[VT_I4:0]*/;
    _args[4] = EndY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall ReadTextClass(LPDISPATCH BW8SrcImage, long MaxChars, 
                                Evision_tlb::enumOcrClasses Classes, BSTR* DstString)
  {
    _TDispID _dispid(/* ReadTextClass */ DISPID(60));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = MaxChars /*[VT_I4:0]*/;
    _args[3] = (int)Classes /*[VT_USERDEFINED:0]*/;
    _args[4] = DstString /*[VT_BSTR:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ReadTextClasses(LPDISPATCH BW8SrcImage, long MaxChars, BSTR* DstString)
  {
    _TDispID _dispid(/* ReadTextClasses */ DISPID(61));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = MaxChars /*[VT_I4:0]*/;
    _args[3] = DstString /*[VT_BSTR:1]*/;
    OleProcedure(_dispid, _args);
  }

  TOLEBOOL __fastcall HitChars(float CursorX, float CursorY, long CharIndex, float ZoomX, 
                               float ZoomY, float PanX, float PanY)
  {
    _TDispID _dispid(/* HitChars */ DISPID(62));
    TAutoArgs<7> _args;
    _args[1] = CursorX /*[VT_R4:0]*/;
    _args[2] = CursorY /*[VT_R4:0]*/;
    _args[3] = CharIndex /*[VT_I4:0]*/;
    _args[4] = ZoomX /*[VT_R4:0]*/;
    _args[5] = ZoomY /*[VT_R4:0]*/;
    _args[6] = PanX /*[VT_R4:0]*/;
    _args[7] = PanY /*[VT_R4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall LearnPattern(LPDISPATCH BW8SrcImg, long* CharIndex, long Code, 
                               Evision_tlb::enumOcrClasses Class)
  {
    _TDispID _dispid(/* LearnPattern */ DISPID(63));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImg /*[VT_DISPATCH:0]*/;
    _args[2] = CharIndex /*[VT_I4:1]*/;
    _args[3] = Code /*[VT_I4:0]*/;
    _args[4] = (int)Class /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumOcrColor TextColor = {read = get_TextColor, write = set_TextColor};
  __property   Evision_tlb::enumImgThresholdModes Threshold = {read = get_Threshold, write = set_Threshold};
  __property   long            MinCharWidth = {read = get_MinCharWidth, write = set_MinCharWidth};
  __property   long            MaxCharWidth = {read = get_MaxCharWidth, write = set_MaxCharWidth};
  __property   long            MinCharHeight = {read = get_MinCharHeight, write = set_MinCharHeight};
  __property   long            MaxCharHeight = {read = get_MaxCharHeight, write = set_MaxCharHeight};
  __property   long            CharSpacing = {read = get_CharSpacing, write = set_CharSpacing};
  __property   long            NoiseArea = {read = get_NoiseArea, write = set_NoiseArea};
  __property   Evision_tlb::enumOcrSegmentationMode SegmentationMode = {read = get_SegmentationMode, write = set_SegmentationMode};
  __property   long            NumChars = {read = get_NumChars, write = set_NumChars};
  __property   long            NumPatterns = {read = get_NumPatterns, write = set_NumPatterns};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            PatternWidth = {read = get_PatternWidth, write = set_PatternWidth};
  __property   long            PatternHeight = {read = get_PatternHeight, write = set_PatternHeight};
  __property   TOLEBOOL        CutLargeCharacters = {read = get_CutLargeCharacters, write = set_CutLargeCharacters};
  __property   TOLEBOOL        CompareAspectRatio = {read = get_CompareAspectRatio, write = set_CompareAspectRatio};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        RemoveNarrowOrFlat = {read = get_RemoveNarrowOrFlat, write = set_RemoveNarrowOrFlat};
  __property   TOLEBOOL        RemoveBorder = {read = get_RemoveBorder, write = set_RemoveBorder};
  __property   float           RelativeSpacing = {read = get_RelativeSpacing, write = set_RelativeSpacing};
  __property   float           AverageFirstCharDistance = {read = get_AverageFirstCharDistance, write = set_AverageFirstCharDistance};
  __property   long            ShiftToleranceX = {read = get_ShiftToleranceX, write = set_ShiftToleranceX};
  __property   Evision_tlb::enumOcrMatchingMode MatchingMode = {read = get_MatchingMode, write = set_MatchingMode};
  __property   Evision_tlb::enumOcrShiftingMode ShiftingMode = {read = get_ShiftingMode, write = set_ShiftingMode};
  __property   long            ShiftToleranceY = {read = get_ShiftToleranceY, write = set_ShiftToleranceY};
};
// *********************************************************************//
// Interface: _DEOCREvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCREvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEOCV
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCV : public TDispWrapper<IDispatch>
{
  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_QualityArea(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* QualityArea */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_QualityArea()
  {
    _TDispID _dispid(/* QualityArea */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_QualityCorrelation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* QualityCorrelation */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_QualityCorrelation()
  {
    _TDispID _dispid(/* QualityCorrelation */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_QualityLocation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* QualityLocation */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_QualityLocation()
  {
    _TDispID _dispid(/* QualityLocation */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_QualitySum(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* QualitySum */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_QualitySum()
  {
    _TDispID _dispid(/* QualitySum */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationMode(Evision_tlb::enumOcvLocationMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* LocationMode */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcvLocationMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumOcvLocationMode /*[VT_USERDEFINED:0]*/ __fastcall get_LocationMode()
  {
    _TDispID _dispid(/* LocationMode */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumOcvLocationMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_SampleThreshold(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* SampleThreshold */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_SampleThreshold()
  {
    _TDispID _dispid(/* SampleThreshold */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleBackground(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleBackground */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleBackground()
  {
    _TDispID _dispid(/* SampleBackground */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleForeground(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleForeground */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleForeground()
  {
    _TDispID _dispid(/* SampleForeground */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumTexts(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumTexts */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumTexts()
  {
    _TDispID _dispid(/* NumTexts */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ResampleChars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* ResampleChars */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_ResampleChars()
  {
    _TDispID _dispid(/* ResampleChars */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharNotFound */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharNotFound()
  {
    _TDispID _dispid(/* DiagnosticCharNotFound */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextNotFound */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextNotFound()
  {
    _TDispID _dispid(/* DiagnosticTextNotFound */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharOverprinting */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharOverprinting()
  {
    _TDispID _dispid(/* DiagnosticCharOverprinting */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextOverprinting */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextOverprinting()
  {
    _TDispID _dispid(/* DiagnosticTextOverprinting */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharUnderprinting */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharUnderprinting()
  {
    _TDispID _dispid(/* DiagnosticCharUnderprinting */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextUnderprinting */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextUnderprinting()
  {
    _TDispID _dispid(/* DiagnosticTextUnderprinting */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharMismatch */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharMismatch()
  {
    _TDispID _dispid(/* DiagnosticCharMismatch */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextMismatch */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextMismatch()
  {
    _TDispID _dispid(/* DiagnosticTextMismatch */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_StatisticsCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* StatisticsCount */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_StatisticsCount()
  {
    _TDispID _dispid(/* StatisticsCount */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_QualityContrast(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* QualityContrast */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_QualityContrast()
  {
    _TDispID _dispid(/* QualityContrast */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DiagnosticBadContrast(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticBadContrast */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticBadContrast()
  {
    _TDispID _dispid(/* DiagnosticBadContrast */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ReduceLocationScore(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* ReduceLocationScore */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_ReduceLocationScore()
  {
    _TDispID _dispid(/* ReduceLocationScore */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NormalizeLocationScore(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* NormalizeLocationScore */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_NormalizeLocationScore()
  {
    _TDispID _dispid(/* NormalizeLocationScore */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AccurateTextLocation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* AccurateTextLocation */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_AccurateTextLocation()
  {
    _TDispID _dispid(/* AccurateTextLocation */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateThreshold(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateThreshold */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_TemplateThreshold()
  {
    _TDispID _dispid(/* TemplateThreshold */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateBackground(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateBackground */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateBackground()
  {
    _TDispID _dispid(/* TemplateBackground */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateForeground(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateForeground */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateForeground()
  {
    _TDispID _dispid(/* TemplateForeground */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Load(BSTR PathName)
  {
    _TDispID _dispid(/* Load */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Save(BSTR PathName)
  {
    _TDispID _dispid(/* Save */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Inspect(LPDISPATCH BW8SampleImage, long Threshold)
  {
    _TDispID _dispid(/* Inspect */ DISPID(36));
    TAutoArgs<2> _args;
    _args[1] = BW8SampleImage /*[VT_DISPATCH:0]*/;
    _args[2] = Threshold /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawText(LPDISPATCH Image, LPDISPATCH OCVText)
  {
    _TDispID _dispid(/* DrawText */ DISPID(37));
    TAutoArgs<2> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = OCVText /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawTexts(LPDISPATCH Image, Evision_tlb::enumSelectionMode eTextsSelectionMode)
  {
    _TDispID _dispid(/* DrawTexts */ DISPID(38));
    TAutoArgs<2> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawTextChars(LPDISPATCH Image, LPDISPATCH OCVText, 
                                Evision_tlb::enumSelectionMode eCharsSelectionMode)
  {
    _TDispID _dispid(/* DrawTextChars */ DISPID(39));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = OCVText /*[VT_DISPATCH:0]*/;
    _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawTextsChars(LPDISPATCH Image, 
                                 Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                 Evision_tlb::enumSelectionMode eCharsSelectionMode)
  {
    _TDispID _dispid(/* DrawTextsChars */ DISPID(40));
    TAutoArgs<3> _args;
    _args[1] = Image /*[VT_DISPATCH:0]*/;
    _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetTextParameters(LPDISPATCH OCVText, long TextIndex)
  {
    _TDispID _dispid(/* GetTextParameters */ DISPID(41));
    TAutoArgs<2> _args;
    _args[1] = OCVText /*[VT_DISPATCH:0]*/;
    _args[2] = TextIndex /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetTextParameters(LPDISPATCH OCVText, long TextIndex)
  {
    _TDispID _dispid(/* SetTextParameters */ DISPID(42));
    TAutoArgs<2> _args;
    _args[1] = OCVText /*[VT_DISPATCH:0]*/;
    _args[2] = TextIndex /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GatherTextsParameters(LPDISPATCH OCVText, 
                                        Evision_tlb::enumSelectionMode eTextsSelectionMode)
  {
    _TDispID _dispid(/* GatherTextsParameters */ DISPID(43));
    TAutoArgs<2> _args;
    _args[1] = OCVText /*[VT_DISPATCH:0]*/;
    _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ScatterTextsParameters(LPDISPATCH OCVText, 
                                         Evision_tlb::enumSelectionMode eTextsSelectionMode)
  {
    _TDispID _dispid(/* ScatterTextsParameters */ DISPID(44));
    TAutoArgs<2> _args;
    _args[1] = OCVText /*[VT_DISPATCH:0]*/;
    _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetTextCharParameters(LPDISPATCH OCVChar, long TextIndex, long CharIndex)
  {
    _TDispID _dispid(/* GetTextCharParameters */ DISPID(45));
    TAutoArgs<3> _args;
    _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
    _args[2] = TextIndex /*[VT_I4:0]*/;
    _args[3] = CharIndex /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetTextCharParameters(LPDISPATCH OCVChar, long TextIndex, long CharIndex)
  {
    _TDispID _dispid(/* SetTextCharParameters */ DISPID(46));
    TAutoArgs<3> _args;
    _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
    _args[2] = TextIndex /*[VT_I4:0]*/;
    _args[3] = CharIndex /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GatherTextsCharsParameters(LPDISPATCH OCVChar, 
                                             Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                             Evision_tlb::enumSelectionMode eCharsSelectionMode)
  {
    _TDispID _dispid(/* GatherTextsCharsParameters */ DISPID(47));
    TAutoArgs<3> _args;
    _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
    _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ScatterTextsCharsParameters(LPDISPATCH OCVChar, 
                                              Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                              Evision_tlb::enumSelectionMode eCharsSelectionMode)
  {
    _TDispID _dispid(/* ScatterTextsCharsParameters */ DISPID(48));
    TAutoArgs<3> _args;
    _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
    _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  long __fastcall get_NumTextChars(long TextIndex)
  {
    _TDispID _dispid(/* NumTextChars */ DISPID(65));
    TAutoArgs<1> _args;
    _args[1] = TextIndex /*[VT_I4:0]*/;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SelectSampleTexts(long OriginX, long OriginY, long Width, long Height, 
                                    Evision_tlb::enumSelectionMode eTextsSelectionMode)
  {
    _TDispID _dispid(/* SelectSampleTexts */ DISPID(49));
    TAutoArgs<5> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    _args[3] = Width /*[VT_I4:0]*/;
    _args[4] = Height /*[VT_I4:0]*/;
    _args[5] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SelectSampleTextsChars(long OriginX, long OriginY, long Width, long Height, 
                                         Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                         Evision_tlb::enumSelectionMode eCharsSelectionMode)
  {
    _TDispID _dispid(/* SelectSampleTextsChars */ DISPID(50));
    TAutoArgs<6> _args;
    _args[1] = OriginX /*[VT_I4:0]*/;
    _args[2] = OriginY /*[VT_I4:0]*/;
    _args[3] = Width /*[VT_I4:0]*/;
    _args[4] = Height /*[VT_I4:0]*/;
    _args[5] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
    _args[6] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ClearStatistics()
  {
    _TDispID _dispid(/* ClearStatistics */ DISPID(51));
    OleProcedure(_dispid);
  }

  void __fastcall UpdateStatistics()
  {
    _TDispID _dispid(/* UpdateStatistics */ DISPID(52));
    OleProcedure(_dispid);
  }

  void __fastcall ComputeDefaultTolerances(LPDISPATCH BW8Image, long Threshold)
  {
    _TDispID _dispid(/* ComputeDefaultTolerances */ DISPID(53));
    TAutoArgs<2> _args;
    _args[1] = BW8Image /*[VT_DISPATCH:0]*/;
    _args[2] = Threshold /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  float __fastcall GetSampleContrast()
  {
    _TDispID _dispid(/* GetSampleContrast */ DISPID(54));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall GetContrastAverage()
  {
    _TDispID _dispid(/* GetContrastAverage */ DISPID(55));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall GetContrastDeviation()
  {
    _TDispID _dispid(/* GetContrastDeviation */ DISPID(56));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetContrastTolerance(float fNewValue)
  {
    _TDispID _dispid(/* SetContrastTolerance */ DISPID(57));
    TAutoArgs<1> _args;
    _args[1] = fNewValue /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  float __fastcall GetConstrastTolerance()
  {
    _TDispID _dispid(/* GetConstrastTolerance */ DISPID(58));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall GetTemplateContrast()
  {
    _TDispID _dispid(/* GetTemplateContrast */ DISPID(59));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall AdjustShiftTolerance(LPDISPATCH BW8Image)
  {
    _TDispID _dispid(/* AdjustShiftTolerance */ DISPID(60));
    TAutoArgs<1> _args;
    _args[1] = BW8Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AdjustTextsLocationRanges(float fFactor, Evision_tlb::enumSelectionMode eSelection)
  {
    _TDispID _dispid(/* AdjustTextsLocationRanges */ DISPID(61));
    TAutoArgs<2> _args;
    _args[1] = fFactor /*[VT_R4:0]*/;
    _args[2] = (int)eSelection /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AdjustTextsQualityRanges(float fFactor, 
                                           Evision_tlb::enumSelectionMode eModeSelection)
  {
    _TDispID _dispid(/* AdjustTextsQualityRanges */ DISPID(62));
    TAutoArgs<2> _args;
    _args[1] = fFactor /*[VT_R4:0]*/;
    _args[2] = (int)eModeSelection /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AdjustCharsLocationRanges(float fFactor, 
                                            Evision_tlb::enumSelectionMode eTextSelection, 
                                            Evision_tlb::enumSelectionMode eCharSelection)
  {
    _TDispID _dispid(/* AdjustCharsLocationRanges */ DISPID(63));
    TAutoArgs<3> _args;
    _args[1] = fFactor /*[VT_R4:0]*/;
    _args[2] = (int)eTextSelection /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)eCharSelection /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AdjustCharsQualityRanges(float fFacor, 
                                           Evision_tlb::enumSelectionMode eTextSelection, 
                                           Evision_tlb::enumSelectionMode eCharSelection)
  {
    _TDispID _dispid(/* AdjustCharsQualityRanges */ DISPID(64));
    TAutoArgs<3> _args;
    _args[1] = fFacor /*[VT_R4:0]*/;
    _args[2] = (int)eTextSelection /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)eCharSelection /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   TOLEBOOL        QualityArea = {read = get_QualityArea, write = set_QualityArea};
  __property   TOLEBOOL        QualityCorrelation = {read = get_QualityCorrelation, write = set_QualityCorrelation};
  __property   TOLEBOOL        QualityLocation = {read = get_QualityLocation, write = set_QualityLocation};
  __property   TOLEBOOL        QualitySum = {read = get_QualitySum, write = set_QualitySum};
  __property   Evision_tlb::enumOcvLocationMode LocationMode = {read = get_LocationMode, write = set_LocationMode};
  __property   short           SampleThreshold = {read = get_SampleThreshold, write = set_SampleThreshold};
  __property   float           SampleBackground = {read = get_SampleBackground, write = set_SampleBackground};
  __property   float           SampleForeground = {read = get_SampleForeground, write = set_SampleForeground};
  __property   long            NumTexts = {read = get_NumTexts, write = set_NumTexts};
  __property   TOLEBOOL        ResampleChars = {read = get_ResampleChars, write = set_ResampleChars};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharNotFound = {read = get_DiagnosticCharNotFound, write = set_DiagnosticCharNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextNotFound = {read = get_DiagnosticTextNotFound, write = set_DiagnosticTextNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharOverprinting = {read = get_DiagnosticCharOverprinting, write = set_DiagnosticCharOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextOverprinting = {read = get_DiagnosticTextOverprinting, write = set_DiagnosticTextOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharUnderprinting = {read = get_DiagnosticCharUnderprinting, write = set_DiagnosticCharUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextUnderprinting = {read = get_DiagnosticTextUnderprinting, write = set_DiagnosticTextUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharMismatch = {read = get_DiagnosticCharMismatch, write = set_DiagnosticCharMismatch};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextMismatch = {read = get_DiagnosticTextMismatch, write = set_DiagnosticTextMismatch};
  __property   long            StatisticsCount = {read = get_StatisticsCount, write = set_StatisticsCount};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        QualityContrast = {read = get_QualityContrast, write = set_QualityContrast};
  __property   Evision_tlb::enumBooleanValues DiagnosticBadContrast = {read = get_DiagnosticBadContrast, write = set_DiagnosticBadContrast};
  __property   TOLEBOOL        ReduceLocationScore = {read = get_ReduceLocationScore, write = set_ReduceLocationScore};
  __property   TOLEBOOL        NormalizeLocationScore = {read = get_NormalizeLocationScore, write = set_NormalizeLocationScore};
  __property   TOLEBOOL        AccurateTextLocation = {read = get_AccurateTextLocation, write = set_AccurateTextLocation};
  __property   short           TemplateThreshold = {read = get_TemplateThreshold, write = set_TemplateThreshold};
  __property   float           TemplateBackground = {read = get_TemplateBackground, write = set_TemplateBackground};
  __property   float           TemplateForeground = {read = get_TemplateForeground, write = set_TemplateForeground};
};
// *********************************************************************//
// Interface: _DEOCVEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCVEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEOCVChar
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCVChar : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumContourPoints(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumContourPoints */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumContourPoints()
  {
    _TDispID _dispid(/* NumContourPoints */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateLocationScore(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateLocationScore */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateLocationScore()
  {
    _TDispID _dispid(/* TemplateLocationScore */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleLocationScore(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleLocationScore */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleLocationScore()
  {
    _TDispID _dispid(/* SampleLocationScore */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationScoreTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* LocationScoreTolerance */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_LocationScoreTolerance()
  {
    _TDispID _dispid(/* LocationScoreTolerance */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftX */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftX()
  {
    _TDispID _dispid(/* ShiftX */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXBias */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXBias()
  {
    _TDispID _dispid(/* ShiftXBias */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXTolerance */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXTolerance()
  {
    _TDispID _dispid(/* ShiftXTolerance */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXStride(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXStride */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ShiftXStride()
  {
    _TDispID _dispid(/* ShiftXStride */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftY */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftY()
  {
    _TDispID _dispid(/* ShiftY */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYBias */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYBias()
  {
    _TDispID _dispid(/* ShiftYBias */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYTolerance */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYTolerance()
  {
    _TDispID _dispid(/* ShiftYTolerance */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYStride(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYStride */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ShiftYStride()
  {
    _TDispID _dispid(/* ShiftYStride */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharNotFound */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharNotFound()
  {
    _TDispID _dispid(/* DiagnosticCharNotFound */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharOverprinting */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharOverprinting()
  {
    _TDispID _dispid(/* DiagnosticCharOverprinting */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharUnderprinting */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharUnderprinting()
  {
    _TDispID _dispid(/* DiagnosticCharUnderprinting */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticCharMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticCharMismatch */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticCharMismatch()
  {
    _TDispID _dispid(/* DiagnosticCharMismatch */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TemplateForegroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateForegroundArea */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TemplateForegroundArea()
  {
    _TDispID _dispid(/* TemplateForegroundArea */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleForegroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleForegroundArea */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SampleForegroundArea()
  {
    _TDispID _dispid(/* SampleForegroundArea */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundAreaTolerance(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundAreaTolerance */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ForegroundAreaTolerance()
  {
    _TDispID _dispid(/* ForegroundAreaTolerance */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateBackgroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateBackgroundArea */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TemplateBackgroundArea()
  {
    _TDispID _dispid(/* TemplateBackgroundArea */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleBackgroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleBackgroundArea */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SampleBackgroundArea()
  {
    _TDispID _dispid(/* SampleBackgroundArea */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundAreaTolerance(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundAreaTolerance */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_BackgroundAreaTolerance()
  {
    _TDispID _dispid(/* BackgroundAreaTolerance */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateForegroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateForegroundSum */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateForegroundSum()
  {
    _TDispID _dispid(/* TemplateForegroundSum */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleForegroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleForegroundSum */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleForegroundSum()
  {
    _TDispID _dispid(/* SampleForegroundSum */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundSumTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundSumTolerance */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundSumTolerance()
  {
    _TDispID _dispid(/* ForegroundSumTolerance */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateBackgroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateBackgroundSum */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateBackgroundSum()
  {
    _TDispID _dispid(/* TemplateBackgroundSum */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleBackgroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleBackgroundSum */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleBackgroundSum()
  {
    _TDispID _dispid(/* SampleBackgroundSum */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundSumTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundSumTolerance */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundSumTolerance()
  {
    _TDispID _dispid(/* BackgroundSumTolerance */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Correlation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Correlation */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Correlation()
  {
    _TDispID _dispid(/* Correlation */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CorrelationTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CorrelationTolerance */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CorrelationTolerance()
  {
    _TDispID _dispid(/* CorrelationTolerance */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MarginWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MarginWidth */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MarginWidth()
  {
    _TDispID _dispid(/* MarginWidth */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationScoreAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* LocationScoreAverage */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_LocationScoreAverage()
  {
    _TDispID _dispid(/* LocationScoreAverage */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationScoreDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* LocationScoreDeviation */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_LocationScoreDeviation()
  {
    _TDispID _dispid(/* LocationScoreDeviation */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXAverage */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXAverage()
  {
    _TDispID _dispid(/* ShiftXAverage */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXDeviation */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXDeviation()
  {
    _TDispID _dispid(/* ShiftXDeviation */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYAverage */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYAverage()
  {
    _TDispID _dispid(/* ShiftYAverage */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYDeviation */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYDeviation()
  {
    _TDispID _dispid(/* ShiftYDeviation */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundAreaAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundAreaAverage */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundAreaAverage()
  {
    _TDispID _dispid(/* ForegroundAreaAverage */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundAreaDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundAreaDeviation */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundAreaDeviation()
  {
    _TDispID _dispid(/* ForegroundAreaDeviation */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundAreaAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundAreaAverage */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundAreaAverage()
  {
    _TDispID _dispid(/* BackgroundAreaAverage */ DISPID(40));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundAreaDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundAreaDeviation */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundAreaDeviation()
  {
    _TDispID _dispid(/* BackgroundAreaDeviation */ DISPID(41));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundSumAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundSumAverage */ DISPID(42));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundSumAverage()
  {
    _TDispID _dispid(/* ForegroundSumAverage */ DISPID(42));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundSumDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundSumDeviation */ DISPID(43));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundSumDeviation()
  {
    _TDispID _dispid(/* ForegroundSumDeviation */ DISPID(43));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundSumAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundSumAverage */ DISPID(44));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundSumAverage()
  {
    _TDispID _dispid(/* BackgroundSumAverage */ DISPID(44));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundSumDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundSumDeviation */ DISPID(45));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundSumDeviation()
  {
    _TDispID _dispid(/* BackgroundSumDeviation */ DISPID(45));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CorrelationAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CorrelationAverage */ DISPID(46));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CorrelationAverage()
  {
    _TDispID _dispid(/* CorrelationAverage */ DISPID(46));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CorrelationDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CorrelationDeviation */ DISPID(47));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CorrelationDeviation()
  {
    _TDispID _dispid(/* CorrelationDeviation */ DISPID(47));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Selected(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Selected */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_Selected()
  {
    _TDispID _dispid(/* Selected */ DISPID(48));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_WhiteOnBlack(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* WhiteOnBlack */ DISPID(49));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_WhiteOnBlack()
  {
    _TDispID _dispid(/* WhiteOnBlack */ DISPID(49));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(50));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(50));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(51));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(51));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXMax */ DISPID(52));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXMax()
  {
    _TDispID _dispid(/* ShiftXMax */ DISPID(52));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXMin */ DISPID(53));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXMin()
  {
    _TDispID _dispid(/* ShiftXMin */ DISPID(53));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYMax */ DISPID(54));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYMax()
  {
    _TDispID _dispid(/* ShiftYMax */ DISPID(54));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYMin */ DISPID(55));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYMin()
  {
    _TDispID _dispid(/* ShiftYMin */ DISPID(55));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LearntTemplateForegroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* LearntTemplateForegroundArea */ DISPID(56));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_LearntTemplateForegroundArea()
  {
    _TDispID _dispid(/* LearntTemplateForegroundArea */ DISPID(56));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LearntTemplateBackgroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* LearntTemplateBackgroundArea */ DISPID(57));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_LearntTemplateBackgroundArea()
  {
    _TDispID _dispid(/* LearntTemplateBackgroundArea */ DISPID(57));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall ResetParameters()
  {
    _TDispID _dispid(/* ResetParameters */ DISPID(58));
    OleProcedure(_dispid);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumContourPoints = {read = get_NumContourPoints, write = set_NumContourPoints};
  __property   float           TemplateLocationScore = {read = get_TemplateLocationScore, write = set_TemplateLocationScore};
  __property   float           SampleLocationScore = {read = get_SampleLocationScore, write = set_SampleLocationScore};
  __property   float           LocationScoreTolerance = {read = get_LocationScoreTolerance, write = set_LocationScoreTolerance};
  __property   float           ShiftX = {read = get_ShiftX, write = set_ShiftX};
  __property   float           ShiftXBias = {read = get_ShiftXBias, write = set_ShiftXBias};
  __property   float           ShiftXTolerance = {read = get_ShiftXTolerance, write = set_ShiftXTolerance};
  __property   long            ShiftXStride = {read = get_ShiftXStride, write = set_ShiftXStride};
  __property   float           ShiftY = {read = get_ShiftY, write = set_ShiftY};
  __property   float           ShiftYBias = {read = get_ShiftYBias, write = set_ShiftYBias};
  __property   float           ShiftYTolerance = {read = get_ShiftYTolerance, write = set_ShiftYTolerance};
  __property   long            ShiftYStride = {read = get_ShiftYStride, write = set_ShiftYStride};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharNotFound = {read = get_DiagnosticCharNotFound, write = set_DiagnosticCharNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharOverprinting = {read = get_DiagnosticCharOverprinting, write = set_DiagnosticCharOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharUnderprinting = {read = get_DiagnosticCharUnderprinting, write = set_DiagnosticCharUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharMismatch = {read = get_DiagnosticCharMismatch, write = set_DiagnosticCharMismatch};
  __property   long            TemplateForegroundArea = {read = get_TemplateForegroundArea, write = set_TemplateForegroundArea};
  __property   long            SampleForegroundArea = {read = get_SampleForegroundArea, write = set_SampleForegroundArea};
  __property   long            ForegroundAreaTolerance = {read = get_ForegroundAreaTolerance, write = set_ForegroundAreaTolerance};
  __property   long            TemplateBackgroundArea = {read = get_TemplateBackgroundArea, write = set_TemplateBackgroundArea};
  __property   long            SampleBackgroundArea = {read = get_SampleBackgroundArea, write = set_SampleBackgroundArea};
  __property   long            BackgroundAreaTolerance = {read = get_BackgroundAreaTolerance, write = set_BackgroundAreaTolerance};
  __property   float           TemplateForegroundSum = {read = get_TemplateForegroundSum, write = set_TemplateForegroundSum};
  __property   float           SampleForegroundSum = {read = get_SampleForegroundSum, write = set_SampleForegroundSum};
  __property   float           ForegroundSumTolerance = {read = get_ForegroundSumTolerance, write = set_ForegroundSumTolerance};
  __property   float           TemplateBackgroundSum = {read = get_TemplateBackgroundSum, write = set_TemplateBackgroundSum};
  __property   float           SampleBackgroundSum = {read = get_SampleBackgroundSum, write = set_SampleBackgroundSum};
  __property   float           BackgroundSumTolerance = {read = get_BackgroundSumTolerance, write = set_BackgroundSumTolerance};
  __property   float           Correlation = {read = get_Correlation, write = set_Correlation};
  __property   float           CorrelationTolerance = {read = get_CorrelationTolerance, write = set_CorrelationTolerance};
  __property   long            MarginWidth = {read = get_MarginWidth, write = set_MarginWidth};
  __property   float           LocationScoreAverage = {read = get_LocationScoreAverage, write = set_LocationScoreAverage};
  __property   float           LocationScoreDeviation = {read = get_LocationScoreDeviation, write = set_LocationScoreDeviation};
  __property   float           ShiftXAverage = {read = get_ShiftXAverage, write = set_ShiftXAverage};
  __property   float           ShiftXDeviation = {read = get_ShiftXDeviation, write = set_ShiftXDeviation};
  __property   float           ShiftYAverage = {read = get_ShiftYAverage, write = set_ShiftYAverage};
  __property   float           ShiftYDeviation = {read = get_ShiftYDeviation, write = set_ShiftYDeviation};
  __property   float           ForegroundAreaAverage = {read = get_ForegroundAreaAverage, write = set_ForegroundAreaAverage};
  __property   float           ForegroundAreaDeviation = {read = get_ForegroundAreaDeviation, write = set_ForegroundAreaDeviation};
  __property   float           BackgroundAreaAverage = {read = get_BackgroundAreaAverage, write = set_BackgroundAreaAverage};
  __property   float           BackgroundAreaDeviation = {read = get_BackgroundAreaDeviation, write = set_BackgroundAreaDeviation};
  __property   float           ForegroundSumAverage = {read = get_ForegroundSumAverage, write = set_ForegroundSumAverage};
  __property   float           ForegroundSumDeviation = {read = get_ForegroundSumDeviation, write = set_ForegroundSumDeviation};
  __property   float           BackgroundSumAverage = {read = get_BackgroundSumAverage, write = set_BackgroundSumAverage};
  __property   float           BackgroundSumDeviation = {read = get_BackgroundSumDeviation, write = set_BackgroundSumDeviation};
  __property   float           CorrelationAverage = {read = get_CorrelationAverage, write = set_CorrelationAverage};
  __property   float           CorrelationDeviation = {read = get_CorrelationDeviation, write = set_CorrelationDeviation};
  __property   Evision_tlb::enumBooleanValues Selected = {read = get_Selected, write = set_Selected};
  __property   Evision_tlb::enumBooleanValues WhiteOnBlack = {read = get_WhiteOnBlack, write = set_WhiteOnBlack};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   float           ShiftXMax = {read = get_ShiftXMax, write = set_ShiftXMax};
  __property   float           ShiftXMin = {read = get_ShiftXMin, write = set_ShiftXMin};
  __property   float           ShiftYMax = {read = get_ShiftYMax, write = set_ShiftYMax};
  __property   float           ShiftYMin = {read = get_ShiftYMin, write = set_ShiftYMin};
  __property   long            LearntTemplateForegroundArea = {read = get_LearntTemplateForegroundArea, write = set_LearntTemplateForegroundArea};
  __property   long            LearntTemplateBackgroundArea = {read = get_LearntTemplateBackgroundArea, write = set_LearntTemplateBackgroundArea};
};
// *********************************************************************//
// Interface: _DEOCVCharEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCVCharEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEOCVText
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCVText : public TDispWrapper<IDispatch>
{
  void __fastcall set_NumContourPoints(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumContourPoints */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumContourPoints()
  {
    _TDispID _dispid(/* NumContourPoints */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateLocationScore(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateLocationScore */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateLocationScore()
  {
    _TDispID _dispid(/* TemplateLocationScore */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleLocationScore(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleLocationScore */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleLocationScore()
  {
    _TDispID _dispid(/* SampleLocationScore */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationScoreTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* LocationScoreTolerance */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_LocationScoreTolerance()
  {
    _TDispID _dispid(/* LocationScoreTolerance */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftX */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftX()
  {
    _TDispID _dispid(/* ShiftX */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXBias */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXBias()
  {
    _TDispID _dispid(/* ShiftXBias */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXTolerance */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXTolerance()
  {
    _TDispID _dispid(/* ShiftXTolerance */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXStride(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXStride */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ShiftXStride()
  {
    _TDispID _dispid(/* ShiftXStride */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftY */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftY()
  {
    _TDispID _dispid(/* ShiftY */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYBias */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYBias()
  {
    _TDispID _dispid(/* ShiftYBias */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYTolerance */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYTolerance()
  {
    _TDispID _dispid(/* ShiftYTolerance */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYStride(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYStride */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ShiftYStride()
  {
    _TDispID _dispid(/* ShiftYStride */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Skew(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Skew */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Skew()
  {
    _TDispID _dispid(/* Skew */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewBias */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewBias()
  {
    _TDispID _dispid(/* SkewBias */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewTolerance */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewTolerance()
  {
    _TDispID _dispid(/* SkewTolerance */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewCount */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SkewCount()
  {
    _TDispID _dispid(/* SkewCount */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleX */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleX()
  {
    _TDispID _dispid(/* ScaleX */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleXBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleXBias */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleXBias()
  {
    _TDispID _dispid(/* ScaleXBias */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleXTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleXTolerance */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleXTolerance()
  {
    _TDispID _dispid(/* ScaleXTolerance */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleXCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleXCount */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ScaleXCount()
  {
    _TDispID _dispid(/* ScaleXCount */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleY */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleY()
  {
    _TDispID _dispid(/* ScaleY */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleYBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleYBias */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleYBias()
  {
    _TDispID _dispid(/* ScaleYBias */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleYTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleYTolerance */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleYTolerance()
  {
    _TDispID _dispid(/* ScaleYTolerance */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleYCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleYCount */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ScaleYCount()
  {
    _TDispID _dispid(/* ScaleYCount */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Shear(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Shear */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Shear()
  {
    _TDispID _dispid(/* Shear */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShearBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShearBias */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShearBias()
  {
    _TDispID _dispid(/* ShearBias */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShearTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShearTolerance */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShearTolerance()
  {
    _TDispID _dispid(/* ShearTolerance */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShearCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ShearCount */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ShearCount()
  {
    _TDispID _dispid(/* ShearCount */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextNotFound */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextNotFound()
  {
    _TDispID _dispid(/* DiagnosticTextNotFound */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextOverprinting */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextOverprinting()
  {
    _TDispID _dispid(/* DiagnosticTextOverprinting */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextUnderprinting */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextUnderprinting()
  {
    _TDispID _dispid(/* DiagnosticTextUnderprinting */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DiagnosticTextMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DiagnosticTextMismatch */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_DiagnosticTextMismatch()
  {
    _TDispID _dispid(/* DiagnosticTextMismatch */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_TemplateForegroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateForegroundArea */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TemplateForegroundArea()
  {
    _TDispID _dispid(/* TemplateForegroundArea */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleForegroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleForegroundArea */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SampleForegroundArea()
  {
    _TDispID _dispid(/* SampleForegroundArea */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundAreaTolerance(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundAreaTolerance */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ForegroundAreaTolerance()
  {
    _TDispID _dispid(/* ForegroundAreaTolerance */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateBackgroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateBackgroundArea */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TemplateBackgroundArea()
  {
    _TDispID _dispid(/* TemplateBackgroundArea */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleBackgroundArea(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleBackgroundArea */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SampleBackgroundArea()
  {
    _TDispID _dispid(/* SampleBackgroundArea */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundAreaTolerance(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundAreaTolerance */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_BackgroundAreaTolerance()
  {
    _TDispID _dispid(/* BackgroundAreaTolerance */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateForegroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateForegroundSum */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateForegroundSum()
  {
    _TDispID _dispid(/* TemplateForegroundSum */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleForegroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleForegroundSum */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleForegroundSum()
  {
    _TDispID _dispid(/* SampleForegroundSum */ DISPID(40));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundSumTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundSumTolerance */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundSumTolerance()
  {
    _TDispID _dispid(/* ForegroundSumTolerance */ DISPID(41));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TemplateBackgroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* TemplateBackgroundSum */ DISPID(42));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_TemplateBackgroundSum()
  {
    _TDispID _dispid(/* TemplateBackgroundSum */ DISPID(42));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SampleBackgroundSum(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SampleBackgroundSum */ DISPID(43));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SampleBackgroundSum()
  {
    _TDispID _dispid(/* SampleBackgroundSum */ DISPID(43));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundSumTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundSumTolerance */ DISPID(44));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundSumTolerance()
  {
    _TDispID _dispid(/* BackgroundSumTolerance */ DISPID(44));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Correlation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Correlation */ DISPID(45));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Correlation()
  {
    _TDispID _dispid(/* Correlation */ DISPID(45));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CorrelationTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CorrelationTolerance */ DISPID(46));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CorrelationTolerance()
  {
    _TDispID _dispid(/* CorrelationTolerance */ DISPID(46));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationScoreAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* LocationScoreAverage */ DISPID(47));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_LocationScoreAverage()
  {
    _TDispID _dispid(/* LocationScoreAverage */ DISPID(47));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationScoreDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* LocationScoreDeviation */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_LocationScoreDeviation()
  {
    _TDispID _dispid(/* LocationScoreDeviation */ DISPID(48));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXAverage */ DISPID(49));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXAverage()
  {
    _TDispID _dispid(/* ShiftXAverage */ DISPID(49));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXDeviation */ DISPID(50));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXDeviation()
  {
    _TDispID _dispid(/* ShiftXDeviation */ DISPID(50));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYAverage */ DISPID(51));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYAverage()
  {
    _TDispID _dispid(/* ShiftYAverage */ DISPID(51));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYDeviation */ DISPID(52));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYDeviation()
  {
    _TDispID _dispid(/* ShiftYDeviation */ DISPID(52));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShearAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShearAverage */ DISPID(53));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShearAverage()
  {
    _TDispID _dispid(/* ShearAverage */ DISPID(53));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShearDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShearDeviation */ DISPID(54));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShearDeviation()
  {
    _TDispID _dispid(/* ShearDeviation */ DISPID(54));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewAverage */ DISPID(55));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewAverage()
  {
    _TDispID _dispid(/* SkewAverage */ DISPID(55));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewDeviation */ DISPID(56));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewDeviation()
  {
    _TDispID _dispid(/* SkewDeviation */ DISPID(56));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleXAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleXAverage */ DISPID(57));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleXAverage()
  {
    _TDispID _dispid(/* ScaleXAverage */ DISPID(57));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleXDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleXDeviation */ DISPID(58));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleXDeviation()
  {
    _TDispID _dispid(/* ScaleXDeviation */ DISPID(58));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleYAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleYAverage */ DISPID(59));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleYAverage()
  {
    _TDispID _dispid(/* ScaleYAverage */ DISPID(59));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleYDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleYDeviation */ DISPID(60));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleYDeviation()
  {
    _TDispID _dispid(/* ScaleYDeviation */ DISPID(60));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundAreaAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundAreaAverage */ DISPID(61));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundAreaAverage()
  {
    _TDispID _dispid(/* ForegroundAreaAverage */ DISPID(61));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundAreaDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundAreaDeviation */ DISPID(62));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundAreaDeviation()
  {
    _TDispID _dispid(/* ForegroundAreaDeviation */ DISPID(62));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundAreaAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundAreaAverage */ DISPID(63));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundAreaAverage()
  {
    _TDispID _dispid(/* BackgroundAreaAverage */ DISPID(63));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundAreaDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundAreaDeviation */ DISPID(64));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundAreaDeviation()
  {
    _TDispID _dispid(/* BackgroundAreaDeviation */ DISPID(64));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundSumAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundSumAverage */ DISPID(65));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundSumAverage()
  {
    _TDispID _dispid(/* ForegroundSumAverage */ DISPID(65));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ForegroundSumDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ForegroundSumDeviation */ DISPID(66));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ForegroundSumDeviation()
  {
    _TDispID _dispid(/* ForegroundSumDeviation */ DISPID(66));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundSumAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundSumAverage */ DISPID(67));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundSumAverage()
  {
    _TDispID _dispid(/* BackgroundSumAverage */ DISPID(67));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_BackgroundSumDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* BackgroundSumDeviation */ DISPID(68));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_BackgroundSumDeviation()
  {
    _TDispID _dispid(/* BackgroundSumDeviation */ DISPID(68));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CorrelationAverage(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CorrelationAverage */ DISPID(69));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CorrelationAverage()
  {
    _TDispID _dispid(/* CorrelationAverage */ DISPID(69));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CorrelationDeviation(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CorrelationDeviation */ DISPID(70));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CorrelationDeviation()
  {
    _TDispID _dispid(/* CorrelationDeviation */ DISPID(70));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Selected(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Selected */ DISPID(71));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall get_Selected()
  {
    _TDispID _dispid(/* Selected */ DISPID(71));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(72));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(72));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(73));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(73));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXMin */ DISPID(74));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXMin()
  {
    _TDispID _dispid(/* ShiftXMin */ DISPID(74));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftXMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftXMax */ DISPID(75));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftXMax()
  {
    _TDispID _dispid(/* ShiftXMax */ DISPID(75));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYMin */ DISPID(76));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYMin()
  {
    _TDispID _dispid(/* ShiftYMin */ DISPID(76));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShiftYMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShiftYMax */ DISPID(77));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShiftYMax()
  {
    _TDispID _dispid(/* ShiftYMax */ DISPID(77));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_IsotropicScaling(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* IsotropicScaling */ DISPID(78));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_IsotropicScaling()
  {
    _TDispID _dispid(/* IsotropicScaling */ DISPID(78));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShearMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShearMin */ DISPID(79));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShearMin()
  {
    _TDispID _dispid(/* ShearMin */ DISPID(79));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ShearMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ShearMax */ DISPID(80));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ShearMax()
  {
    _TDispID _dispid(/* ShearMax */ DISPID(80));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewMin */ DISPID(81));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewMin()
  {
    _TDispID _dispid(/* SkewMin */ DISPID(81));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewMax */ DISPID(82));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewMax()
  {
    _TDispID _dispid(/* SkewMax */ DISPID(82));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleXMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleXMin */ DISPID(83));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleXMin()
  {
    _TDispID _dispid(/* ScaleXMin */ DISPID(83));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleXMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleXMax */ DISPID(84));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleXMax()
  {
    _TDispID _dispid(/* ScaleXMax */ DISPID(84));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleYMin(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleYMin */ DISPID(85));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleYMin()
  {
    _TDispID _dispid(/* ScaleYMin */ DISPID(85));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleYMax(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleYMax */ DISPID(86));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleYMax()
  {
    _TDispID _dispid(/* ScaleYMax */ DISPID(86));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall ResetParameters()
  {
    _TDispID _dispid(/* ResetParameters */ DISPID(87));
    OleProcedure(_dispid);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   long            NumContourPoints = {read = get_NumContourPoints, write = set_NumContourPoints};
  __property   float           TemplateLocationScore = {read = get_TemplateLocationScore, write = set_TemplateLocationScore};
  __property   float           SampleLocationScore = {read = get_SampleLocationScore, write = set_SampleLocationScore};
  __property   float           LocationScoreTolerance = {read = get_LocationScoreTolerance, write = set_LocationScoreTolerance};
  __property   float           ShiftX = {read = get_ShiftX, write = set_ShiftX};
  __property   float           ShiftXBias = {read = get_ShiftXBias, write = set_ShiftXBias};
  __property   float           ShiftXTolerance = {read = get_ShiftXTolerance, write = set_ShiftXTolerance};
  __property   long            ShiftXStride = {read = get_ShiftXStride, write = set_ShiftXStride};
  __property   float           ShiftY = {read = get_ShiftY, write = set_ShiftY};
  __property   float           ShiftYBias = {read = get_ShiftYBias, write = set_ShiftYBias};
  __property   float           ShiftYTolerance = {read = get_ShiftYTolerance, write = set_ShiftYTolerance};
  __property   long            ShiftYStride = {read = get_ShiftYStride, write = set_ShiftYStride};
  __property   float           Skew = {read = get_Skew, write = set_Skew};
  __property   float           SkewBias = {read = get_SkewBias, write = set_SkewBias};
  __property   float           SkewTolerance = {read = get_SkewTolerance, write = set_SkewTolerance};
  __property   long            SkewCount = {read = get_SkewCount, write = set_SkewCount};
  __property   float           ScaleX = {read = get_ScaleX, write = set_ScaleX};
  __property   float           ScaleXBias = {read = get_ScaleXBias, write = set_ScaleXBias};
  __property   float           ScaleXTolerance = {read = get_ScaleXTolerance, write = set_ScaleXTolerance};
  __property   long            ScaleXCount = {read = get_ScaleXCount, write = set_ScaleXCount};
  __property   float           ScaleY = {read = get_ScaleY, write = set_ScaleY};
  __property   float           ScaleYBias = {read = get_ScaleYBias, write = set_ScaleYBias};
  __property   float           ScaleYTolerance = {read = get_ScaleYTolerance, write = set_ScaleYTolerance};
  __property   long            ScaleYCount = {read = get_ScaleYCount, write = set_ScaleYCount};
  __property   float           Shear = {read = get_Shear, write = set_Shear};
  __property   float           ShearBias = {read = get_ShearBias, write = set_ShearBias};
  __property   float           ShearTolerance = {read = get_ShearTolerance, write = set_ShearTolerance};
  __property   long            ShearCount = {read = get_ShearCount, write = set_ShearCount};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextNotFound = {read = get_DiagnosticTextNotFound, write = set_DiagnosticTextNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextOverprinting = {read = get_DiagnosticTextOverprinting, write = set_DiagnosticTextOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextUnderprinting = {read = get_DiagnosticTextUnderprinting, write = set_DiagnosticTextUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextMismatch = {read = get_DiagnosticTextMismatch, write = set_DiagnosticTextMismatch};
  __property   long            TemplateForegroundArea = {read = get_TemplateForegroundArea, write = set_TemplateForegroundArea};
  __property   long            SampleForegroundArea = {read = get_SampleForegroundArea, write = set_SampleForegroundArea};
  __property   long            ForegroundAreaTolerance = {read = get_ForegroundAreaTolerance, write = set_ForegroundAreaTolerance};
  __property   long            TemplateBackgroundArea = {read = get_TemplateBackgroundArea, write = set_TemplateBackgroundArea};
  __property   long            SampleBackgroundArea = {read = get_SampleBackgroundArea, write = set_SampleBackgroundArea};
  __property   long            BackgroundAreaTolerance = {read = get_BackgroundAreaTolerance, write = set_BackgroundAreaTolerance};
  __property   float           TemplateForegroundSum = {read = get_TemplateForegroundSum, write = set_TemplateForegroundSum};
  __property   float           SampleForegroundSum = {read = get_SampleForegroundSum, write = set_SampleForegroundSum};
  __property   float           ForegroundSumTolerance = {read = get_ForegroundSumTolerance, write = set_ForegroundSumTolerance};
  __property   float           TemplateBackgroundSum = {read = get_TemplateBackgroundSum, write = set_TemplateBackgroundSum};
  __property   float           SampleBackgroundSum = {read = get_SampleBackgroundSum, write = set_SampleBackgroundSum};
  __property   float           BackgroundSumTolerance = {read = get_BackgroundSumTolerance, write = set_BackgroundSumTolerance};
  __property   float           Correlation = {read = get_Correlation, write = set_Correlation};
  __property   float           CorrelationTolerance = {read = get_CorrelationTolerance, write = set_CorrelationTolerance};
  __property   float           LocationScoreAverage = {read = get_LocationScoreAverage, write = set_LocationScoreAverage};
  __property   float           LocationScoreDeviation = {read = get_LocationScoreDeviation, write = set_LocationScoreDeviation};
  __property   float           ShiftXAverage = {read = get_ShiftXAverage, write = set_ShiftXAverage};
  __property   float           ShiftXDeviation = {read = get_ShiftXDeviation, write = set_ShiftXDeviation};
  __property   float           ShiftYAverage = {read = get_ShiftYAverage, write = set_ShiftYAverage};
  __property   float           ShiftYDeviation = {read = get_ShiftYDeviation, write = set_ShiftYDeviation};
  __property   float           ShearAverage = {read = get_ShearAverage, write = set_ShearAverage};
  __property   float           ShearDeviation = {read = get_ShearDeviation, write = set_ShearDeviation};
  __property   float           SkewAverage = {read = get_SkewAverage, write = set_SkewAverage};
  __property   float           SkewDeviation = {read = get_SkewDeviation, write = set_SkewDeviation};
  __property   float           ScaleXAverage = {read = get_ScaleXAverage, write = set_ScaleXAverage};
  __property   float           ScaleXDeviation = {read = get_ScaleXDeviation, write = set_ScaleXDeviation};
  __property   float           ScaleYAverage = {read = get_ScaleYAverage, write = set_ScaleYAverage};
  __property   float           ScaleYDeviation = {read = get_ScaleYDeviation, write = set_ScaleYDeviation};
  __property   float           ForegroundAreaAverage = {read = get_ForegroundAreaAverage, write = set_ForegroundAreaAverage};
  __property   float           ForegroundAreaDeviation = {read = get_ForegroundAreaDeviation, write = set_ForegroundAreaDeviation};
  __property   float           BackgroundAreaAverage = {read = get_BackgroundAreaAverage, write = set_BackgroundAreaAverage};
  __property   float           BackgroundAreaDeviation = {read = get_BackgroundAreaDeviation, write = set_BackgroundAreaDeviation};
  __property   float           ForegroundSumAverage = {read = get_ForegroundSumAverage, write = set_ForegroundSumAverage};
  __property   float           ForegroundSumDeviation = {read = get_ForegroundSumDeviation, write = set_ForegroundSumDeviation};
  __property   float           BackgroundSumAverage = {read = get_BackgroundSumAverage, write = set_BackgroundSumAverage};
  __property   float           BackgroundSumDeviation = {read = get_BackgroundSumDeviation, write = set_BackgroundSumDeviation};
  __property   float           CorrelationAverage = {read = get_CorrelationAverage, write = set_CorrelationAverage};
  __property   float           CorrelationDeviation = {read = get_CorrelationDeviation, write = set_CorrelationDeviation};
  __property   Evision_tlb::enumBooleanValues Selected = {read = get_Selected, write = set_Selected};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   float           ShiftXMin = {read = get_ShiftXMin, write = set_ShiftXMin};
  __property   float           ShiftXMax = {read = get_ShiftXMax, write = set_ShiftXMax};
  __property   float           ShiftYMin = {read = get_ShiftYMin, write = set_ShiftYMin};
  __property   float           ShiftYMax = {read = get_ShiftYMax, write = set_ShiftYMax};
  __property   TOLEBOOL        IsotropicScaling = {read = get_IsotropicScaling, write = set_IsotropicScaling};
  __property   float           ShearMin = {read = get_ShearMin, write = set_ShearMin};
  __property   float           ShearMax = {read = get_ShearMax, write = set_ShearMax};
  __property   float           SkewMin = {read = get_SkewMin, write = set_SkewMin};
  __property   float           SkewMax = {read = get_SkewMax, write = set_SkewMax};
  __property   float           ScaleXMin = {read = get_ScaleXMin, write = set_ScaleXMin};
  __property   float           ScaleXMax = {read = get_ScaleXMax, write = set_ScaleXMax};
  __property   float           ScaleYMin = {read = get_ScaleYMin, write = set_ScaleYMin};
  __property   float           ScaleYMax = {read = get_ScaleYMax, write = set_ScaleYMax};
};
// *********************************************************************//
// Interface: _DEOCVTextEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEOCVTextEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEasyMain
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EAC-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEasyMain : public TDispWrapper<IDispatch>
{
  void __fastcall set_TraceMode(Evision_tlb::enumTraceModes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* TraceMode */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumTraceModes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumTraceModes /*[VT_USERDEFINED:0]*/ __fastcall get_TraceMode()
  {
    _TDispID _dispid(/* TraceMode */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumTraceModes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Version(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* Version */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_Version()
  {
    _TDispID _dispid(/* Version */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Error(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* Error */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_Error()
  {
    _TDispID _dispid(/* Error */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ErrorText(BSTR /*[VT_BSTR:0]*/ Value)
  {
    _TDispID _dispid(/* ErrorText */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  BSTR /*[VT_BSTR:0]*/ __fastcall get_ErrorText()
  {
    _TDispID _dispid(/* ErrorText */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_JpegQuality(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* JpegQuality */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_JpegQuality()
  {
    _TDispID _dispid(/* JpegQuality */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TiffThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TiffThreshold */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TiffThreshold()
  {
    _TDispID _dispid(/* TiffThreshold */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AngleUnit(Evision_tlb::enumAngleUnits /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* AngleUnit */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumAngleUnits /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumAngleUnits /*[VT_USERDEFINED:0]*/ __fastcall get_AngleUnit()
  {
    _TDispID _dispid(/* AngleUnit */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumAngleUnits /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_MMX(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* MMX */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_MMX()
  {
    _TDispID _dispid(/* MMX */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_TrueTimingResolution(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* TrueTimingResolution */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_TrueTimingResolution()
  {
    _TDispID _dispid(/* TrueTimingResolution */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EnableExceptions(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* EnableExceptions */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_EnableExceptions()
  {
    _TDispID _dispid(/* EnableExceptions */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Render3DBW8(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float Phi, float Psi, 
                              float XScale, float YScale, float ZScale, long PixelSize)
  {
    _TDispID _dispid(/* Render3DBW8 */ DISPID(12));
    TAutoArgs<8> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Phi /*[VT_R4:0]*/;
    _args[4] = Psi /*[VT_R4:0]*/;
    _args[5] = XScale /*[VT_R4:0]*/;
    _args[6] = YScale /*[VT_R4:0]*/;
    _args[7] = ZScale /*[VT_R4:0]*/;
    _args[8] = PixelSize /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Render3DC24(LPDISPATCH C24SrcImage, LPDISPATCH BW8ZImage, LPDISPATCH C24DstImage, 
                              float Phi, float Psi, float XScale, float YScale, float ZScale, 
                              long PixelSize)
  {
    _TDispID _dispid(/* Render3DC24 */ DISPID(13));
    TAutoArgs<9> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8ZImage /*[VT_DISPATCH:0]*/;
    _args[3] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[4] = Phi /*[VT_R4:0]*/;
    _args[5] = Psi /*[VT_R4:0]*/;
    _args[6] = XScale /*[VT_R4:0]*/;
    _args[7] = YScale /*[VT_R4:0]*/;
    _args[8] = ZScale /*[VT_R4:0]*/;
    _args[9] = PixelSize /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall RenderColorHistogram(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, float Phi, 
                                       float Psi, float XScale, float YScale, float ZScale)
  {
    _TDispID _dispid(/* RenderColorHistogram */ DISPID(14));
    TAutoArgs<7> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Phi /*[VT_R4:0]*/;
    _args[4] = Psi /*[VT_R4:0]*/;
    _args[5] = XScale /*[VT_R4:0]*/;
    _args[6] = YScale /*[VT_R4:0]*/;
    _args[7] = ZScale /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall OpBW8Cst2(Evision_tlb::enumImgOperators Operation, short GrayCst, 
                            LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* OpBW8Cst2 */ DISPID(15));
    TAutoArgs<3> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = GrayCst /*[VT_I2:0]*/;
    _args[3] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall OpBW8Cst23(Evision_tlb::enumImgOperators Operation, short GrayCst, 
                             LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* OpBW8Cst23 */ DISPID(16));
    TAutoArgs<4> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = GrayCst /*[VT_I2:0]*/;
    _args[3] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[4] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Op1BW8Cst3(Evision_tlb::enumImgOperators Operation, LPDISPATCH BW8SrcImage, 
                             short GrayCst, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* Op1BW8Cst3 */ DISPID(17));
    TAutoArgs<4> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[3] = GrayCst /*[VT_I2:0]*/;
    _args[4] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall OpC24Cst2(Evision_tlb::enumImgOperators Operation, short RedCst, short GreenCst, 
                            short BlueCst, LPDISPATCH C24DstImage)
  {
    _TDispID _dispid(/* OpC24Cst2 */ DISPID(18));
    TAutoArgs<5> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = RedCst /*[VT_I2:0]*/;
    _args[3] = GreenCst /*[VT_I2:0]*/;
    _args[4] = BlueCst /*[VT_I2:0]*/;
    _args[5] = C24DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall OpC24Cst23(Evision_tlb::enumImgOperators Operation, short RedCst, short GreenCst, 
                             short BlueCst, LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage)
  {
    _TDispID _dispid(/* OpC24Cst23 */ DISPID(19));
    TAutoArgs<6> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = RedCst /*[VT_I2:0]*/;
    _args[3] = GreenCst /*[VT_I2:0]*/;
    _args[4] = BlueCst /*[VT_I2:0]*/;
    _args[5] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[6] = C24DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Op1C24Cst3(Evision_tlb::enumImgOperators Operation, LPDISPATCH C24SrcImage, 
                             short RedCst, short GreenCst, short BlueCst, LPDISPATCH C24DstImage)
  {
    _TDispID _dispid(/* Op1C24Cst3 */ DISPID(20));
    TAutoArgs<6> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[3] = RedCst /*[VT_I2:0]*/;
    _args[4] = GreenCst /*[VT_I2:0]*/;
    _args[5] = BlueCst /*[VT_I2:0]*/;
    _args[6] = C24DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Op12(Evision_tlb::enumImgOperators Operation, LPDISPATCH SrcImage, 
                       LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Op12 */ DISPID(21));
    TAutoArgs<3> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[3] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Op123(Evision_tlb::enumImgOperators Operation, LPDISPATCH SrcImage1, 
                        LPDISPATCH SrcImage2, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Op123 */ DISPID(22));
    TAutoArgs<4> _args;
    _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
    _args[2] = SrcImage1 /*[VT_DISPATCH:0]*/;
    _args[3] = SrcImage2 /*[VT_DISPATCH:0]*/;
    _args[4] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Convert(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Convert */ DISPID(23));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GainOffset(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float Gain, 
                             float Offset)
  {
    _TDispID _dispid(/* GainOffset */ DISPID(24));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Gain /*[VT_R4:0]*/;
    _args[4] = Offset /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Transform(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long Transformation, 
                            TOLEBOOL UseLUT)
  {
    _TDispID _dispid(/* Transform */ DISPID(25));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Transformation /*[VT_I4:0]*/;
    _args[4] = UseLUT /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Lut(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, LPDISPATCH BW8LUTVector)
  {
    _TDispID _dispid(/* Lut */ DISPID(26));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = BW8LUTVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Normalize(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float NewAverage, 
                            float NewStdDev)
  {
    _TDispID _dispid(/* Normalize */ DISPID(27));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = NewAverage /*[VT_R4:0]*/;
    _args[4] = NewStdDev /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Uniformize1(LPDISPATCH BW8SrcImage, short Light, 
                              LPDISPATCH BW8LightBackgroundImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* Uniformize1 */ DISPID(28));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Light /*[VT_I2:0]*/;
    _args[3] = BW8LightBackgroundImage /*[VT_DISPATCH:0]*/;
    _args[4] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Uniformize2(LPDISPATCH BW8SrcImage, short Light, 
                              LPDISPATCH BW8LightBackgroundImage, short Dark, 
                              LPDISPATCH BW8DarkBackgroundImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* Uniformize2 */ DISPID(29));
    TAutoArgs<6> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Light /*[VT_I2:0]*/;
    _args[3] = BW8LightBackgroundImage /*[VT_DISPATCH:0]*/;
    _args[4] = Dark /*[VT_I2:0]*/;
    _args[5] = BW8DarkBackgroundImage /*[VT_DISPATCH:0]*/;
    _args[6] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetRecursiveAverageLUT(LPDISPATCH BW16LUTVector, float Reduction, float Width)
  {
    _TDispID _dispid(/* SetRecursiveAverageLUT */ DISPID(30));
    TAutoArgs<3> _args;
    _args[1] = BW16LUTVector /*[VT_DISPATCH:0]*/;
    _args[2] = Reduction /*[VT_R4:0]*/;
    _args[3] = Width /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall RecursiveAverage(LPDISPATCH BW8SrcImage, LPDISPATCH BW16StoreImage, 
                                   LPDISPATCH BW8DstImage, LPDISPATCH BW16LUTVector)
  {
    _TDispID _dispid(/* RecursiveAverage */ DISPID(31));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW16StoreImage /*[VT_DISPATCH:0]*/;
    _args[3] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[4] = BW16LUTVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ThresholdBW8(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long Threshold, 
                               short LowValue, short HighValue)
  {
    _TDispID _dispid(/* ThresholdBW8 */ DISPID(32));
    TAutoArgs<5> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Threshold /*[VT_I4:0]*/;
    _args[4] = LowValue /*[VT_I2:0]*/;
    _args[5] = HighValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DoubleThreshold(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long LowThreshold
                                  , long HighThreshold, short LowValue, short MidValue, 
                                  short HighValue)
  {
    _TDispID _dispid(/* DoubleThreshold */ DISPID(33));
    TAutoArgs<7> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = LowThreshold /*[VT_I4:0]*/;
    _args[4] = HighThreshold /*[VT_I4:0]*/;
    _args[5] = LowValue /*[VT_I2:0]*/;
    _args[6] = MidValue /*[VT_I2:0]*/;
    _args[7] = HighValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ThresholdC24Lookup(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                     short MinRedValue, short MinGreenValue, short MinBlueValue, 
                                     short MaxRedValue, short MaxGreenValue, short MaxBlueValue, 
                                     LPDISPATCH ColorLookup, short RejectValue, short AcceptValue)
  {
    _TDispID _dispid(/* ThresholdC24Lookup */ DISPID(34));
    TAutoArgs<11> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = MinRedValue /*[VT_I2:0]*/;
    _args[4] = MinGreenValue /*[VT_I2:0]*/;
    _args[5] = MinBlueValue /*[VT_I2:0]*/;
    _args[6] = MaxRedValue /*[VT_I2:0]*/;
    _args[7] = MaxGreenValue /*[VT_I2:0]*/;
    _args[8] = MaxBlueValue /*[VT_I2:0]*/;
    _args[9] = ColorLookup /*[VT_DISPATCH:0]*/;
    _args[10] = RejectValue /*[VT_I2:0]*/;
    _args[11] = AcceptValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ThresholdC24(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, short MinRedValue, 
                               short MinGreenValue, short MinBlueValue, short MaxRedValue, 
                               short MaxGreenValue, short MaxBlueValue, short RejectValue, 
                               short AcceptValue)
  {
    _TDispID _dispid(/* ThresholdC24 */ DISPID(35));
    TAutoArgs<10> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = MinRedValue /*[VT_I2:0]*/;
    _args[4] = MinGreenValue /*[VT_I2:0]*/;
    _args[5] = MinBlueValue /*[VT_I2:0]*/;
    _args[6] = MaxRedValue /*[VT_I2:0]*/;
    _args[7] = MaxGreenValue /*[VT_I2:0]*/;
    _args[8] = MaxBlueValue /*[VT_I2:0]*/;
    _args[9] = RejectValue /*[VT_I2:0]*/;
    _args[10] = AcceptValue /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall IsodataThreshold(LPDISPATCH BW8HistogramVector, long From, long To, 
                                   long* Threshold)
  {
    _TDispID _dispid(/* IsodataThreshold */ DISPID(36));
    TAutoArgs<4> _args;
    _args[1] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
    _args[2] = From /*[VT_I4:0]*/;
    _args[3] = To /*[VT_I4:0]*/;
    _args[4] = Threshold /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Convolution(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH Kernel)
  {
    _TDispID _dispid(/* Convolution */ DISPID(37));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Kernel /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Highpass1(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Highpass1 */ DISPID(38));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Highpass2(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Highpass2 */ DISPID(39));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Lowpass1(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Lowpass1 */ DISPID(40));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Lowpass2(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Lowpass2 */ DISPID(41));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Lowpass3(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Lowpass3 */ DISPID(42));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SobelX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* SobelX */ DISPID(43));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SobelY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* SobelY */ DISPID(44));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Sobel(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Sobel */ DISPID(45));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PrewittX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* PrewittX */ DISPID(46));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PrewittY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* PrewittY */ DISPID(47));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Prewitt(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Prewitt */ DISPID(48));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Laplacian4(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Laplacian4 */ DISPID(49));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Laplacian8(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Laplacian8 */ DISPID(50));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Open(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
  {
    _TDispID _dispid(/* Open */ DISPID(51));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Passes /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Close(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
  {
    _TDispID _dispid(/* Close */ DISPID(52));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Passes /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Erode(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
  {
    _TDispID _dispid(/* Erode */ DISPID(53));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Passes /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Dilate(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
  {
    _TDispID _dispid(/* Dilate */ DISPID(54));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Passes /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BlackTopHat(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
  {
    _TDispID _dispid(/* BlackTopHat */ DISPID(55));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Passes /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall WhiteTopHat(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
  {
    _TDispID _dispid(/* WhiteTopHat */ DISPID(56));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Passes /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Median(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Median */ DISPID(57));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Thin(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH ThinKernel, 
                       Evision_tlb::enumImgKernelRotationModes KernelRotationMode, short Iterations)
  {
    _TDispID _dispid(/* Thin */ DISPID(58));
    TAutoArgs<5> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = ThinKernel /*[VT_DISPATCH:0]*/;
    _args[4] = (int)KernelRotationMode /*[VT_USERDEFINED:0]*/;
    _args[5] = Iterations /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Thick(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH ThickKernel, 
                        Evision_tlb::enumImgKernelRotationModes KernelRotationMode, short Iterations)
  {
    _TDispID _dispid(/* Thick */ DISPID(59));
    TAutoArgs<5> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = ThickKernel /*[VT_DISPATCH:0]*/;
    _args[4] = (int)KernelRotationMode /*[VT_USERDEFINED:0]*/;
    _args[5] = Iterations /*[VT_I2:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Histogram(LPDISPATCH BW8SrcImage, LPDISPATCH BW8HistogramVector)
  {
    _TDispID _dispid(/* Histogram */ DISPID(60));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  float __fastcall AnalyseHistogram(LPDISPATCH BW8HistogramVector, 
                                    Evision_tlb::enumImgHistogramFeatures HistogramFeature, 
                                    long MinIndex, long MaxIndex)
  {
    _TDispID _dispid(/* AnalyseHistogram */ DISPID(61));
    TAutoArgs<4> _args;
    _args[1] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
    _args[2] = (int)HistogramFeature /*[VT_USERDEFINED:0]*/;
    _args[3] = MinIndex /*[VT_I4:0]*/;
    _args[4] = MaxIndex /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Equalize(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* Equalize */ DISPID(62));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ProjectOnARow(LPDISPATCH BW8SrcImage, LPDISPATCH BW32ProjectionVector)
  {
    _TDispID _dispid(/* ProjectOnARow */ DISPID(63));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW32ProjectionVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ProjectOnAColumn(LPDISPATCH BW8SrcImage, LPDISPATCH BW32ProjectionVector)
  {
    _TDispID _dispid(/* ProjectOnAColumn */ DISPID(64));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW32ProjectionVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall RebuildFrame(LPDISPATCH SrcImage, LPDISPATCH DstImage, long FixedRow)
  {
    _TDispID _dispid(/* RebuildFrame */ DISPID(65));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = FixedRow /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall RealignFrame(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Offset, long FixedRow)
  {
    _TDispID _dispid(/* RealignFrame */ DISPID(66));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Offset /*[VT_I4:0]*/;
    _args[4] = FixedRow /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall MatchFrames(LPDISPATCH SrcImage, long FixedRow, long MinOffset, long MaxOffset, 
                              long* BestOffset)
  {
    _TDispID _dispid(/* MatchFrames */ DISPID(67));
    TAutoArgs<5> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = FixedRow /*[VT_I4:0]*/;
    _args[3] = MinOffset /*[VT_I4:0]*/;
    _args[4] = MaxOffset /*[VT_I4:0]*/;
    _args[5] = BestOffset /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetupEqualize(LPDISPATCH BW8HistogramVector, LPDISPATCH BW8VectorLookupTable)
  {
    _TDispID _dispid(/* SetupEqualize */ DISPID(68));
    TAutoArgs<2> _args;
    _args[1] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
    _args[2] = BW8VectorLookupTable /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ImageToLineSegment(LPDISPATCH SrcImage, LPDISPATCH Vector, long X0, long Y0, 
                                     long X1, long Y1)
  {
    _TDispID _dispid(/* ImageToLineSegment */ DISPID(69));
    TAutoArgs<6> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Vector /*[VT_DISPATCH:0]*/;
    _args[3] = X0 /*[VT_I4:0]*/;
    _args[4] = Y0 /*[VT_I4:0]*/;
    _args[5] = X1 /*[VT_I4:0]*/;
    _args[6] = Y1 /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LineSegmentToImage(LPDISPATCH DstImage, LPDISPATCH Vector, long X0, long Y0, 
                                     long X1, long Y1)
  {
    _TDispID _dispid(/* LineSegmentToImage */ DISPID(70));
    TAutoArgs<6> _args;
    _args[1] = DstImage /*[VT_DISPATCH:0]*/;
    _args[2] = Vector /*[VT_DISPATCH:0]*/;
    _args[3] = X0 /*[VT_I4:0]*/;
    _args[4] = Y0 /*[VT_I4:0]*/;
    _args[5] = X1 /*[VT_I4:0]*/;
    _args[6] = Y1 /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ImageToPath(LPDISPATCH SrcImage, LPDISPATCH PathVector)
  {
    _TDispID _dispid(/* ImageToPath */ DISPID(71));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = PathVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PathToImage(LPDISPATCH DstImage, LPDISPATCH PathVector)
  {
    _TDispID _dispid(/* PathToImage */ DISPID(72));
    TAutoArgs<2> _args;
    _args[1] = DstImage /*[VT_DISPATCH:0]*/;
    _args[2] = PathVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ProfileDerivative(LPDISPATCH BW8SrcVector, LPDISPATCH BW8DstVector)
  {
    _TDispID _dispid(/* ProfileDerivative */ DISPID(73));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcVector /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetProfilePeaks(LPDISPATCH BW8VectorProfile, LPDISPATCH PeaksVector, 
                                  long LowThreshold, long HighThreshold, long MinAmplitude, 
                                  long MinArea)
  {
    _TDispID _dispid(/* GetProfilePeaks */ DISPID(74));
    TAutoArgs<6> _args;
    _args[1] = BW8VectorProfile /*[VT_DISPATCH:0]*/;
    _args[2] = PeaksVector /*[VT_DISPATCH:0]*/;
    _args[3] = LowThreshold /*[VT_I4:0]*/;
    _args[4] = HighThreshold /*[VT_I4:0]*/;
    _args[5] = MinAmplitude /*[VT_I4:0]*/;
    _args[6] = MinArea /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelMin(LPDISPATCH BW8SrcImage, short* MinPixelValue)
  {
    _TDispID _dispid(/* PixelMin */ DISPID(75));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = MinPixelValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelMax(LPDISPATCH BW8SrcImage, short* MaxPixelValue)
  {
    _TDispID _dispid(/* PixelMax */ DISPID(76));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = MaxPixelValue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelAverageBW8(LPDISPATCH BW8SrcImage, float* Average)
  {
    _TDispID _dispid(/* PixelAverageBW8 */ DISPID(77));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Average /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelAverageC24(LPDISPATCH C24SrcImage, float* Mean0, float* Mean1, float* Mean2)
  {
    _TDispID _dispid(/* PixelAverageC24 */ DISPID(78));
    TAutoArgs<4> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Mean0 /*[VT_R4:1]*/;
    _args[3] = Mean1 /*[VT_R4:1]*/;
    _args[4] = Mean2 /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelStat(LPDISPATCH BW8SrcImage, short* MinPixelValue, short* MaxPixelValue, 
                            float* Average)
  {
    _TDispID _dispid(/* PixelStat */ DISPID(79));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = MinPixelValue /*[VT_I2:1]*/;
    _args[3] = MaxPixelValue /*[VT_I2:1]*/;
    _args[4] = Average /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelStdDevBW8(LPDISPATCH BW8SrcImage, float* StdDev, float* Average)
  {
    _TDispID _dispid(/* PixelStdDevBW8 */ DISPID(80));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = StdDev /*[VT_R4:1]*/;
    _args[3] = Average /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelStdDevC24(LPDISPATCH C24SrcImage, float* StdDev0, float* StdDev1, 
                                 float* StdDev2, float* Correlation01, float* Correlation12, 
                                 float* Correlation20, float* Mean0, float* Mean1, float* Mean2)
  {
    _TDispID _dispid(/* PixelStdDevC24 */ DISPID(81));
    TAutoArgs<10> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = StdDev0 /*[VT_R4:1]*/;
    _args[3] = StdDev1 /*[VT_R4:1]*/;
    _args[4] = StdDev2 /*[VT_R4:1]*/;
    _args[5] = Correlation01 /*[VT_R4:1]*/;
    _args[6] = Correlation12 /*[VT_R4:1]*/;
    _args[7] = Correlation20 /*[VT_R4:1]*/;
    _args[8] = Mean0 /*[VT_R4:1]*/;
    _args[9] = Mean1 /*[VT_R4:1]*/;
    _args[10] = Mean2 /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelCount(LPDISPATCH BW8SrcImage, short LowThreshold, short HighThreshold, 
                             long* PixelsBelow, long* PixelsBetween, long* PixelsAbove)
  {
    _TDispID _dispid(/* PixelCount */ DISPID(82));
    TAutoArgs<6> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = LowThreshold /*[VT_I2:0]*/;
    _args[3] = HighThreshold /*[VT_I2:0]*/;
    _args[4] = PixelsBelow /*[VT_I4:1]*/;
    _args[5] = PixelsBetween /*[VT_I4:1]*/;
    _args[6] = PixelsAbove /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Area(LPDISPATCH BW8SrcImage, short Threshold, long* PixelsAbove)
  {
    _TDispID _dispid(/* Area */ DISPID(83));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Threshold /*[VT_I2:0]*/;
    _args[3] = PixelsAbove /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AreaDoubleThreshold(LPDISPATCH BW8SrcImage, short LowThreshold, 
                                      short HighThreshold, long* PixelsBetween)
  {
    _TDispID _dispid(/* AreaDoubleThreshold */ DISPID(84));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = LowThreshold /*[VT_I2:0]*/;
    _args[3] = HighThreshold /*[VT_I2:0]*/;
    _args[4] = PixelsBetween /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelVarianceBW8(LPDISPATCH BW8SrcImage, float* Variance, float* Mean)
  {
    _TDispID _dispid(/* PixelVarianceBW8 */ DISPID(85));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Variance /*[VT_R4:1]*/;
    _args[3] = Mean /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PixelVarianceC24(LPDISPATCH C24SrcImage, float* Variance0, float* Variance1, 
                                   float* Variance2, float* Covariance01, float* Covariance12, 
                                   float* Covariance20, float* Mean0, float* Mean1, float* Mean2)
  {
    _TDispID _dispid(/* PixelVarianceC24 */ DISPID(86));
    TAutoArgs<10> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Variance0 /*[VT_R4:1]*/;
    _args[3] = Variance1 /*[VT_R4:1]*/;
    _args[4] = Variance2 /*[VT_R4:1]*/;
    _args[5] = Covariance01 /*[VT_R4:1]*/;
    _args[6] = Covariance12 /*[VT_R4:1]*/;
    _args[7] = Covariance20 /*[VT_R4:1]*/;
    _args[8] = Mean0 /*[VT_R4:1]*/;
    _args[9] = Mean1 /*[VT_R4:1]*/;
    _args[10] = Mean2 /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GravityCenter(LPDISPATCH BW8SrcImage, long Threshold, float* GravityX, 
                                float* GravityY)
  {
    _TDispID _dispid(/* GravityCenter */ DISPID(87));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Threshold /*[VT_I4:0]*/;
    _args[3] = GravityX /*[VT_R4:1]*/;
    _args[4] = GravityY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BinaryMoments1(LPDISPATCH BW8SrcImage, long Threshold, float* M, float* Mx, 
                                 float* My)
  {
    _TDispID _dispid(/* BinaryMoments1 */ DISPID(88));
    TAutoArgs<5> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Threshold /*[VT_I4:0]*/;
    _args[3] = M /*[VT_R4:1]*/;
    _args[4] = Mx /*[VT_R4:1]*/;
    _args[5] = My /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BinaryMoments2(LPDISPATCH BW8SrcImage, long Threshold, float* M, float* Mx, 
                                 float* My, float* Mxx, float* Mxy, float* Myy)
  {
    _TDispID _dispid(/* BinaryMoments2 */ DISPID(89));
    TAutoArgs<8> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = Threshold /*[VT_I4:0]*/;
    _args[3] = M /*[VT_R4:1]*/;
    _args[4] = Mx /*[VT_R4:1]*/;
    _args[5] = My /*[VT_R4:1]*/;
    _args[6] = Mxx /*[VT_R4:1]*/;
    _args[7] = Mxy /*[VT_R4:1]*/;
    _args[8] = Myy /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall WeighedMoments1(LPDISPATCH BW8SrcImage, float* M, float* Mx, float* My)
  {
    _TDispID _dispid(/* WeighedMoments1 */ DISPID(90));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = M /*[VT_R4:1]*/;
    _args[3] = Mx /*[VT_R4:1]*/;
    _args[4] = My /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall WeighedMoments2(LPDISPATCH BW8SrcImage, float* M, float* Mx, float* My, float* Mxx
                                  , float* Mxy, float* Myy)
  {
    _TDispID _dispid(/* WeighedMoments2 */ DISPID(91));
    TAutoArgs<7> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = M /*[VT_R4:1]*/;
    _args[3] = Mx /*[VT_R4:1]*/;
    _args[4] = My /*[VT_R4:1]*/;
    _args[5] = Mxx /*[VT_R4:1]*/;
    _args[6] = Mxy /*[VT_R4:1]*/;
    _args[7] = Myy /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ContourBW8(LPDISPATCH BW8SrcImage, Evision_tlb::enumImgContourMode ContourMode, 
                             long StartX, long StartY, 
                             Evision_tlb::enumImgContourThreshold ThresholdMode, long Threshold, 
                             Evision_tlb::enumImgContourConnexity ConnexityMode, 
                             LPDISPATCH BW8PathVector)
  {
    _TDispID _dispid(/* ContourBW8 */ DISPID(92));
    TAutoArgs<8> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = (int)ContourMode /*[VT_USERDEFINED:0]*/;
    _args[3] = StartX /*[VT_I4:0]*/;
    _args[4] = StartY /*[VT_I4:0]*/;
    _args[5] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
    _args[6] = Threshold /*[VT_I4:0]*/;
    _args[7] = (int)ConnexityMode /*[VT_USERDEFINED:0]*/;
    _args[8] = BW8PathVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall VerticalMirror(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* VerticalMirror */ DISPID(93));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall HorizontalMirror(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* HorizontalMirror */ DISPID(94));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ScaleRotate(LPDISPATCH SrcImage, float SrcPivotX, float SrcPivotY, float DstPivotX
                              , float DstPivotY, float ScaleX, float ScaleY, float Rotation, 
                              LPDISPATCH DstImage, long InterpolationBits)
  {
    _TDispID _dispid(/* ScaleRotate */ DISPID(95));
    TAutoArgs<10> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = SrcPivotX /*[VT_R4:0]*/;
    _args[3] = SrcPivotY /*[VT_R4:0]*/;
    _args[4] = DstPivotX /*[VT_R4:0]*/;
    _args[5] = DstPivotY /*[VT_R4:0]*/;
    _args[6] = ScaleX /*[VT_R4:0]*/;
    _args[7] = ScaleY /*[VT_R4:0]*/;
    _args[8] = Rotation /*[VT_R4:0]*/;
    _args[9] = DstImage /*[VT_DISPATCH:0]*/;
    _args[10] = InterpolationBits /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Shrink(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Shrink */ DISPID(96));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeRGB(short SrcRed, short SrcGreen, short SrcBlue, float* DstRed, 
                                float* DstGreen, float* DstBlue)
  {
    _TDispID _dispid(/* DequantizeRGB */ DISPID(97));
    TAutoArgs<6> _args;
    _args[1] = SrcRed /*[VT_I2:0]*/;
    _args[2] = SrcGreen /*[VT_I2:0]*/;
    _args[3] = SrcBlue /*[VT_I2:0]*/;
    _args[4] = DstRed /*[VT_R4:1]*/;
    _args[5] = DstGreen /*[VT_R4:1]*/;
    _args[6] = DstBlue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeRGB(float SrcRed, float SrcGreen, float SrcBlue, short* DstRed, 
                              short* DstGreen, short* DstBlue)
  {
    _TDispID _dispid(/* QuantizeRGB */ DISPID(98));
    TAutoArgs<6> _args;
    _args[1] = SrcRed /*[VT_R4:0]*/;
    _args[2] = SrcGreen /*[VT_R4:0]*/;
    _args[3] = SrcBlue /*[VT_R4:0]*/;
    _args[4] = DstRed /*[VT_I2:1]*/;
    _args[5] = DstGreen /*[VT_I2:1]*/;
    _args[6] = DstBlue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeXYZ(short Red, short Green, short Blue, float* X, float* Y, float* Z)
  {
    _TDispID _dispid(/* DequantizeXYZ */ DISPID(99));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = X /*[VT_R4:1]*/;
    _args[5] = Y /*[VT_R4:1]*/;
    _args[6] = Z /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeXYZ(float X, float Y, float Z, short* Red, short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizeXYZ */ DISPID(100));
    TAutoArgs<6> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Z /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToXYZ(float Red, float Green, float Blue, float* X, float* Y, 
                                      float* Z)
  {
    _TDispID _dispid(/* UnquantizedRGBToXYZ */ DISPID(101));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = X /*[VT_R4:1]*/;
    _args[5] = Y /*[VT_R4:1]*/;
    _args[6] = Z /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedXYZToRGB(float X, float Y, float Z, float* Red, float* Green, 
                                      float* Blue)
  {
    _TDispID _dispid(/* UnquantizedXYZToRGB */ DISPID(102));
    TAutoArgs<6> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Z /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToReducedXYZ(float Red, float Green, float Blue, float* X, float* Y
                                             , float* Z)
  {
    _TDispID _dispid(/* UnquantizedRGBToReducedXYZ */ DISPID(103));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = X /*[VT_R4:1]*/;
    _args[5] = Y /*[VT_R4:1]*/;
    _args[6] = Z /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeYUV(short Red, short Green, short Blue, float* YLuma, float* UChroma, 
                                float* VChroma)
  {
    _TDispID _dispid(/* DequantizeYUV */ DISPID(104));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = YLuma /*[VT_R4:1]*/;
    _args[5] = UChroma /*[VT_R4:1]*/;
    _args[6] = VChroma /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeYUV(float YLuma, float UChroma, float VChroma, short* Red, short* Green, 
                              short* Blue)
  {
    _TDispID _dispid(/* QuantizeYUV */ DISPID(105));
    TAutoArgs<6> _args;
    _args[1] = YLuma /*[VT_R4:0]*/;
    _args[2] = UChroma /*[VT_R4:0]*/;
    _args[3] = VChroma /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToYUV(float Red, float Green, float Blue, float* YLuma, 
                                      float* UChroma, float* VChroma)
  {
    _TDispID _dispid(/* UnquantizedRGBToYUV */ DISPID(106));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = YLuma /*[VT_R4:1]*/;
    _args[5] = UChroma /*[VT_R4:1]*/;
    _args[6] = VChroma /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedYUVToRGB(float YLuma, float UChroma, float VChroma, float* Red, 
                                      float* Green, float* Blue)
  {
    _TDispID _dispid(/* UnquantizedYUVToRGB */ DISPID(107));
    TAutoArgs<6> _args;
    _args[1] = YLuma /*[VT_R4:0]*/;
    _args[2] = UChroma /*[VT_R4:0]*/;
    _args[3] = VChroma /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeYIQ(short Red, short Green, short Blue, float* YLuma, float* Inphase, 
                                float* Quadrature)
  {
    _TDispID _dispid(/* DequantizeYIQ */ DISPID(108));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = YLuma /*[VT_R4:1]*/;
    _args[5] = Inphase /*[VT_R4:1]*/;
    _args[6] = Quadrature /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeYIQ(float YLuma, float Inphase, float Quadrature, short* Red, short* Green
                              , short* Blue)
  {
    _TDispID _dispid(/* QuantizeYIQ */ DISPID(109));
    TAutoArgs<6> _args;
    _args[1] = YLuma /*[VT_R4:0]*/;
    _args[2] = Inphase /*[VT_R4:0]*/;
    _args[3] = Quadrature /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToYIQ(float Red, float Green, float Blue, float* YLuma, 
                                      float* Inphase, float* Quadrature)
  {
    _TDispID _dispid(/* UnquantizedRGBToYIQ */ DISPID(110));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = YLuma /*[VT_R4:1]*/;
    _args[5] = Inphase /*[VT_R4:1]*/;
    _args[6] = Quadrature /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedYIQToRGB(float YLuma, float Inphase, float Quadrature, float* Red, 
                                      float* Green, float* Blue)
  {
    _TDispID _dispid(/* UnquantizedYIQToRGB */ DISPID(111));
    TAutoArgs<6> _args;
    _args[1] = YLuma /*[VT_R4:0]*/;
    _args[2] = Inphase /*[VT_R4:0]*/;
    _args[3] = Quadrature /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeLSH(short Red, short Green, short Blue, float* Lightness, 
                                float* Saturation, float* Hue)
  {
    _TDispID _dispid(/* DequantizeLSH */ DISPID(112));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeLSH(float Lightness, float Saturation, float Hue, short* Red, short* Green
                              , short* Blue)
  {
    _TDispID _dispid(/* QuantizeLSH */ DISPID(113));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToLSH(float Red, float Green, float Blue, float* Lightness, 
                                      float* Saturation, float* Hue)
  {
    _TDispID _dispid(/* UnquantizedRGBToLSH */ DISPID(114));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedLSHToRGB(float Lightness, float Saturation, float Hue, float* Red, 
                                      float* Green, float* Blue)
  {
    _TDispID _dispid(/* UnquantizedLSHToRGB */ DISPID(115));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeVSH(short Red, short Green, short Blue, float* Value, float* Saturation
                                , float* Hue)
  {
    _TDispID _dispid(/* DequantizeVSH */ DISPID(116));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Value /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeVSH(float Value, float Saturation, float Hue, short* Red, short* Green, 
                              short* Blue)
  {
    _TDispID _dispid(/* QuantizeVSH */ DISPID(117));
    TAutoArgs<6> _args;
    _args[1] = Value /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToVSH(float Red, float Green, float Blue, float* Value, 
                                      float* Saturation, float* Hue)
  {
    _TDispID _dispid(/* UnquantizedRGBToVSH */ DISPID(118));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = Value /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedVSHToRGB(float Value, float Saturation, float Hue, float* Red, 
                                      float* Green, float* Blue)
  {
    _TDispID _dispid(/* UnquantizedVSHToRGB */ DISPID(119));
    TAutoArgs<6> _args;
    _args[1] = Value /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeISH(short Red, short Green, short Blue, float* Intensity, 
                                float* Saturation, float* Hue)
  {
    _TDispID _dispid(/* DequantizeISH */ DISPID(120));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Intensity /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeISH(float Intensity, float Saturation, float Hue, short* Red, short* Green
                              , short* Blue)
  {
    _TDispID _dispid(/* QuantizeISH */ DISPID(121));
    TAutoArgs<6> _args;
    _args[1] = Intensity /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToISH(float Red, float Green, float Blue, float* Intensity, 
                                      float* Saturation, float* Hue)
  {
    _TDispID _dispid(/* UnquantizedRGBToISH */ DISPID(122));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = Intensity /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedISHToRGB(float Intensity, float Saturation, float Hue, float* Red, 
                                      float* Green, float* Blue)
  {
    _TDispID _dispid(/* UnquantizedISHToRGB */ DISPID(123));
    TAutoArgs<6> _args;
    _args[1] = Intensity /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeYSH(short Red, short Green, short Blue, float* Brightness, 
                                float* Saturation, float* Hue)
  {
    _TDispID _dispid(/* DequantizeYSH */ DISPID(124));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Brightness /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeYSH(float Brightness, float Saturation, float Hue, short* Red, 
                              short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizeYSH */ DISPID(125));
    TAutoArgs<6> _args;
    _args[1] = Brightness /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToYSH(float Red, float Green, float Blue, float* Brightness, 
                                      float* Saturation, float* Hue)
  {
    _TDispID _dispid(/* UnquantizedRGBToYSH */ DISPID(126));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = Brightness /*[VT_R4:1]*/;
    _args[5] = Saturation /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedYSHToRGB(float Brightness, float Saturation, float Hue, float* Red, 
                                      float* Green, float* Blue)
  {
    _TDispID _dispid(/* UnquantizedYSHToRGB */ DISPID(127));
    TAutoArgs<6> _args;
    _args[1] = Brightness /*[VT_R4:0]*/;
    _args[2] = Saturation /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeLAB(short Red, short Green, short Blue, float* Lightness, float* A, 
                                float* B)
  {
    _TDispID _dispid(/* DequantizeLAB */ DISPID(128));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = A /*[VT_R4:1]*/;
    _args[6] = B /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeLAB(float Lightness, float A, float B, short* Red, short* Green, 
                              short* Blue)
  {
    _TDispID _dispid(/* QuantizeLAB */ DISPID(129));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = A /*[VT_R4:0]*/;
    _args[3] = B /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToLAB(float Red, float Green, float Blue, float* Lightness, float* A
                                      , float* B)
  {
    _TDispID _dispid(/* UnquantizedRGBToLAB */ DISPID(130));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = A /*[VT_R4:1]*/;
    _args[6] = B /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedLABToRGB(float Lightness, float A, float B, float* Red, float* Green, 
                                      float* Blue)
  {
    _TDispID _dispid(/* UnquantizedLABToRGB */ DISPID(131));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = A /*[VT_R4:0]*/;
    _args[3] = B /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedXYZToLAB(float X, float Y, float Z, float* Lightness, float* A, 
                                      float* B)
  {
    _TDispID _dispid(/* UnquantizedXYZToLAB */ DISPID(132));
    TAutoArgs<6> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Z /*[VT_R4:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = A /*[VT_R4:1]*/;
    _args[6] = B /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedLABToXYZ(float Lightness, float A, float B, float* X, float* Y, 
                                      float* Z)
  {
    _TDispID _dispid(/* UnquantizedLABToXYZ */ DISPID(133));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = A /*[VT_R4:0]*/;
    _args[3] = B /*[VT_R4:0]*/;
    _args[4] = X /*[VT_R4:1]*/;
    _args[5] = Y /*[VT_R4:1]*/;
    _args[6] = Z /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeLCH(short Red, short Green, short Blue, float* Lightness, float* Chroma
                                , float* Hue)
  {
    _TDispID _dispid(/* DequantizeLCH */ DISPID(134));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = Chroma /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeLCH(float Lightness, float Chroma, float Hue, short* Red, short* Green, 
                              short* Blue)
  {
    _TDispID _dispid(/* QuantizeLCH */ DISPID(135));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = Chroma /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToLCH(float Red, float Green, float Blue, float* Lightness, 
                                      float* Chroma, float* Hue)
  {
    _TDispID _dispid(/* UnquantizedRGBToLCH */ DISPID(136));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = Chroma /*[VT_R4:1]*/;
    _args[6] = Hue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedLCHToRGB(float Lightness, float Chroma, float Hue, float* Red, 
                                      float* Green, float* Blue)
  {
    _TDispID _dispid(/* UnquantizedLCHToRGB */ DISPID(137));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = Chroma /*[VT_R4:0]*/;
    _args[3] = Hue /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DequantizeLUV(short Red, short Green, short Blue, float* Lightness, float* U, 
                                float* V)
  {
    _TDispID _dispid(/* DequantizeLUV */ DISPID(138));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = U /*[VT_R4:1]*/;
    _args[6] = V /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizeLUV(float Lightness, float U, float V, short* Red, short* Green, 
                              short* Blue)
  {
    _TDispID _dispid(/* QuantizeLUV */ DISPID(139));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = U /*[VT_R4:0]*/;
    _args[3] = V /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedRGBToLUV(float Red, float Green, float Blue, float* Lightness, float* U
                                      , float* V)
  {
    _TDispID _dispid(/* UnquantizedRGBToLUV */ DISPID(140));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_R4:0]*/;
    _args[2] = Green /*[VT_R4:0]*/;
    _args[3] = Blue /*[VT_R4:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = U /*[VT_R4:1]*/;
    _args[6] = V /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedLUVToRGB(float Lightness, float U, float V, float* Red, float* Green, 
                                      float* Blue)
  {
    _TDispID _dispid(/* UnquantizedLUVToRGB */ DISPID(141));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = U /*[VT_R4:0]*/;
    _args[3] = V /*[VT_R4:0]*/;
    _args[4] = Red /*[VT_R4:1]*/;
    _args[5] = Green /*[VT_R4:1]*/;
    _args[6] = Blue /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedXYZToLUV(float X, float Y, float Z, float* Lightness, float* U, 
                                      float* V)
  {
    _TDispID _dispid(/* UnquantizedXYZToLUV */ DISPID(142));
    TAutoArgs<6> _args;
    _args[1] = X /*[VT_R4:0]*/;
    _args[2] = Y /*[VT_R4:0]*/;
    _args[3] = Z /*[VT_R4:0]*/;
    _args[4] = Lightness /*[VT_R4:1]*/;
    _args[5] = U /*[VT_R4:1]*/;
    _args[6] = V /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall UnquantizedLUVToXYZ(float Lightness, float U, float V, float* X, float* Y, 
                                      float* Z)
  {
    _TDispID _dispid(/* UnquantizedLUVToXYZ */ DISPID(143));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_R4:0]*/;
    _args[2] = U /*[VT_R4:0]*/;
    _args[3] = V /*[VT_R4:0]*/;
    _args[4] = X /*[VT_R4:1]*/;
    _args[5] = Y /*[VT_R4:1]*/;
    _args[6] = Z /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToXYZ(short Red, short Green, short Blue, short* X, short* Y, short* Z)
  {
    _TDispID _dispid(/* QuantizedRGBToXYZ */ DISPID(144));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = X /*[VT_I2:1]*/;
    _args[5] = Y /*[VT_I2:1]*/;
    _args[6] = Z /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedXYZToRGB(short X, short Y, short Z, short* Red, short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedXYZToRGB */ DISPID(145));
    TAutoArgs<6> _args;
    _args[1] = X /*[VT_I2:0]*/;
    _args[2] = Y /*[VT_I2:0]*/;
    _args[3] = Z /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToReducedXYZ(short Red, short Green, short Blue, short* X, short* Y, 
                                           short* Z)
  {
    _TDispID _dispid(/* QuantizedRGBToReducedXYZ */ DISPID(146));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = X /*[VT_I2:1]*/;
    _args[5] = Y /*[VT_I2:1]*/;
    _args[6] = Z /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToYUV(short Red, short Green, short Blue, short* YLuma, short* UChroma
                                    , short* VChroma)
  {
    _TDispID _dispid(/* QuantizedRGBToYUV */ DISPID(147));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = YLuma /*[VT_I2:1]*/;
    _args[5] = UChroma /*[VT_I2:1]*/;
    _args[6] = VChroma /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedYUVToRGB(short YLuma, short UChroma, short VChroma, short* Red, 
                                    short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedYUVToRGB */ DISPID(148));
    TAutoArgs<6> _args;
    _args[1] = YLuma /*[VT_I2:0]*/;
    _args[2] = UChroma /*[VT_I2:0]*/;
    _args[3] = VChroma /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToYIQ(short Red, short Green, short Blue, short* YLuma, short* Inphase
                                    , short* Quadrature)
  {
    _TDispID _dispid(/* QuantizedRGBToYIQ */ DISPID(149));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = YLuma /*[VT_I2:1]*/;
    _args[5] = Inphase /*[VT_I2:1]*/;
    _args[6] = Quadrature /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedYIQToRGB(short YLuma, short Inphase, short Quadrature, short* Red, 
                                    short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedYIQToRGB */ DISPID(150));
    TAutoArgs<6> _args;
    _args[1] = YLuma /*[VT_I2:0]*/;
    _args[2] = Inphase /*[VT_I2:0]*/;
    _args[3] = Quadrature /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToLSH(short Red, short Green, short Blue, short* Lightness, 
                                    short* Saturation, short* Hue)
  {
    _TDispID _dispid(/* QuantizedRGBToLSH */ DISPID(151));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Lightness /*[VT_I2:1]*/;
    _args[5] = Saturation /*[VT_I2:1]*/;
    _args[6] = Hue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedLSHToRGB(short Lightness, short Saturation, short Hue, short* Red, 
                                    short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedLSHToRGB */ DISPID(152));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_I2:0]*/;
    _args[2] = Saturation /*[VT_I2:0]*/;
    _args[3] = Hue /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToVSH(short Red, short Green, short Blue, short* Value, 
                                    short* Saturation, short* Hue)
  {
    _TDispID _dispid(/* QuantizedRGBToVSH */ DISPID(153));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Value /*[VT_I2:1]*/;
    _args[5] = Saturation /*[VT_I2:1]*/;
    _args[6] = Hue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedVSHToRGB(short Value, short Saturation, short Hue, short* Red, 
                                    short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedVSHToRGB */ DISPID(154));
    TAutoArgs<6> _args;
    _args[1] = Value /*[VT_I2:0]*/;
    _args[2] = Saturation /*[VT_I2:0]*/;
    _args[3] = Hue /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToISH(short Red, short Green, short Blue, short* Intensity, 
                                    short* Saturation, short* Hue)
  {
    _TDispID _dispid(/* QuantizedRGBToISH */ DISPID(155));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Intensity /*[VT_I2:1]*/;
    _args[5] = Saturation /*[VT_I2:1]*/;
    _args[6] = Hue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedISHToRGB(short Intensity, short Saturation, short Hue, short* Red, 
                                    short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedISHToRGB */ DISPID(156));
    TAutoArgs<6> _args;
    _args[1] = Intensity /*[VT_I2:0]*/;
    _args[2] = Saturation /*[VT_I2:0]*/;
    _args[3] = Hue /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToYSH(short Red, short Green, short Blue, short* Brightness, 
                                    short* Saturation, short* Hue)
  {
    _TDispID _dispid(/* QuantizedRGBToYSH */ DISPID(157));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Brightness /*[VT_I2:1]*/;
    _args[5] = Saturation /*[VT_I2:1]*/;
    _args[6] = Hue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedYSHToRGB(short Brightness, short Saturation, short Hue, short* Red, 
                                    short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedYSHToRGB */ DISPID(158));
    TAutoArgs<6> _args;
    _args[1] = Brightness /*[VT_I2:0]*/;
    _args[2] = Saturation /*[VT_I2:0]*/;
    _args[3] = Hue /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToLAB(short Red, short Green, short Blue, short* Luminance, short* A, 
                                    short* B)
  {
    _TDispID _dispid(/* QuantizedRGBToLAB */ DISPID(159));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Luminance /*[VT_I2:1]*/;
    _args[5] = A /*[VT_I2:1]*/;
    _args[6] = B /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedLABToRGB(short Luminance, short A, short B, short* Red, short* Green, 
                                    short* Blue)
  {
    _TDispID _dispid(/* QuantizedLABToRGB */ DISPID(160));
    TAutoArgs<6> _args;
    _args[1] = Luminance /*[VT_I2:0]*/;
    _args[2] = A /*[VT_I2:0]*/;
    _args[3] = B /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedXYZToLAB(short X, short Y, short Z, short* Luminance, short* A, short* B)
  {
    _TDispID _dispid(/* QuantizedXYZToLAB */ DISPID(161));
    TAutoArgs<6> _args;
    _args[1] = X /*[VT_I2:0]*/;
    _args[2] = Y /*[VT_I2:0]*/;
    _args[3] = Z /*[VT_I2:0]*/;
    _args[4] = Luminance /*[VT_I2:1]*/;
    _args[5] = A /*[VT_I2:1]*/;
    _args[6] = B /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedLABToXYZ(short Luminance, short A, short B, short* X, short* Y, short* Z)
  {
    _TDispID _dispid(/* QuantizedLABToXYZ */ DISPID(162));
    TAutoArgs<6> _args;
    _args[1] = Luminance /*[VT_I2:0]*/;
    _args[2] = A /*[VT_I2:0]*/;
    _args[3] = B /*[VT_I2:0]*/;
    _args[4] = X /*[VT_I2:1]*/;
    _args[5] = Y /*[VT_I2:1]*/;
    _args[6] = Z /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToLCH(short Red, short Green, short Blue, short* Lightness, 
                                    short* Chroma, short* Hue)
  {
    _TDispID _dispid(/* QuantizedRGBToLCH */ DISPID(163));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Lightness /*[VT_I2:1]*/;
    _args[5] = Chroma /*[VT_I2:1]*/;
    _args[6] = Hue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedLCHToRGB(short Lightness, short Chroma, short Hue, short* Red, 
                                    short* Green, short* Blue)
  {
    _TDispID _dispid(/* QuantizedLCHToRGB */ DISPID(164));
    TAutoArgs<6> _args;
    _args[1] = Lightness /*[VT_I2:0]*/;
    _args[2] = Chroma /*[VT_I2:0]*/;
    _args[3] = Hue /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedRGBToLUV(short Red, short Green, short Blue, short* Luminance, short* U, 
                                    short* V)
  {
    _TDispID _dispid(/* QuantizedRGBToLUV */ DISPID(165));
    TAutoArgs<6> _args;
    _args[1] = Red /*[VT_I2:0]*/;
    _args[2] = Green /*[VT_I2:0]*/;
    _args[3] = Blue /*[VT_I2:0]*/;
    _args[4] = Luminance /*[VT_I2:1]*/;
    _args[5] = U /*[VT_I2:1]*/;
    _args[6] = V /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedLUVToRGB(short Luminance, short U, short V, short* Red, short* Green, 
                                    short* Blue)
  {
    _TDispID _dispid(/* QuantizedLUVToRGB */ DISPID(166));
    TAutoArgs<6> _args;
    _args[1] = Luminance /*[VT_I2:0]*/;
    _args[2] = U /*[VT_I2:0]*/;
    _args[3] = V /*[VT_I2:0]*/;
    _args[4] = Red /*[VT_I2:1]*/;
    _args[5] = Green /*[VT_I2:1]*/;
    _args[6] = Blue /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedXYZToLUV(short X, short Y, short Z, short* Luminance, short* U, short* V)
  {
    _TDispID _dispid(/* QuantizedXYZToLUV */ DISPID(167));
    TAutoArgs<6> _args;
    _args[1] = X /*[VT_I2:0]*/;
    _args[2] = Y /*[VT_I2:0]*/;
    _args[3] = Z /*[VT_I2:0]*/;
    _args[4] = Luminance /*[VT_I2:1]*/;
    _args[5] = U /*[VT_I2:1]*/;
    _args[6] = V /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall QuantizedLUVToXYZ(short Luminance, short U, short V, short* X, short* Y, short* Z)
  {
    _TDispID _dispid(/* QuantizedLUVToXYZ */ DISPID(168));
    TAutoArgs<6> _args;
    _args[1] = Luminance /*[VT_I2:0]*/;
    _args[2] = U /*[VT_I2:0]*/;
    _args[3] = V /*[VT_I2:0]*/;
    _args[4] = X /*[VT_I2:1]*/;
    _args[5] = Y /*[VT_I2:1]*/;
    _args[6] = Z /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Compose(LPDISPATCH BW8SrcC0Image, LPDISPATCH BW8SrcC1Image, 
                          LPDISPATCH BW8SrcC2Image, LPDISPATCH C24DstImage, LPDISPATCH ColorLookup)
  {
    _TDispID _dispid(/* Compose */ DISPID(169));
    TAutoArgs<5> _args;
    _args[1] = BW8SrcC0Image /*[VT_DISPATCH:0]*/;
    _args[2] = BW8SrcC1Image /*[VT_DISPATCH:0]*/;
    _args[3] = BW8SrcC2Image /*[VT_DISPATCH:0]*/;
    _args[4] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[5] = ColorLookup /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Decompose(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstC0Image, 
                            LPDISPATCH BW8DstC1Image, LPDISPATCH BW8DstC2Image, 
                            LPDISPATCH ColorLookup)
  {
    _TDispID _dispid(/* Decompose */ DISPID(170));
    TAutoArgs<5> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstC0Image /*[VT_DISPATCH:0]*/;
    _args[3] = BW8DstC1Image /*[VT_DISPATCH:0]*/;
    _args[4] = BW8DstC2Image /*[VT_DISPATCH:0]*/;
    _args[5] = ColorLookup /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetComponent(LPDISPATCH BW8SrcImage, LPDISPATCH C24DstImage, long Component)
  {
    _TDispID _dispid(/* SetComponent */ DISPID(171));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Component /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall TransformLookup(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                  LPDISPATCH ColorLookup)
  {
    _TDispID _dispid(/* TransformLookup */ DISPID(172));
    TAutoArgs<3> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = ColorLookup /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall TransformQuantized(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                     long Transformation, 
                                     Evision_tlb::enumColorSystems ColorSystemIn, 
                                     Evision_tlb::enumColorSystems ColorSystemOut)
  {
    _TDispID _dispid(/* TransformQuantized */ DISPID(173));
    TAutoArgs<5> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Transformation /*[VT_I4:0]*/;
    _args[4] = (int)ColorSystemIn /*[VT_USERDEFINED:0]*/;
    _args[5] = (int)ColorSystemOut /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall TransformUnquantized(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                       long Transformation, 
                                       Evision_tlb::enumColorSystems ColorSystemIn, 
                                       Evision_tlb::enumColorSystems ColorSystemOut)
  {
    _TDispID _dispid(/* TransformUnquantized */ DISPID(174));
    TAutoArgs<5> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Transformation /*[VT_I4:0]*/;
    _args[4] = (int)ColorSystemIn /*[VT_USERDEFINED:0]*/;
    _args[5] = (int)ColorSystemOut /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetComponent(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, long Component)
  {
    _TDispID _dispid(/* GetComponent */ DISPID(175));
    TAutoArgs<3> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Component /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetComponentLookup(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, long Component
                                     , LPDISPATCH ColorLookup)
  {
    _TDispID _dispid(/* GetComponentLookup */ DISPID(176));
    TAutoArgs<4> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Component /*[VT_I4:0]*/;
    _args[4] = ColorLookup /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall StartTiming()
  {
    _TDispID _dispid(/* StartTiming */ DISPID(177));
    OleProcedure(_dispid);
  }

  long __fastcall StopTiming()
  {
    _TDispID _dispid(/* StopTiming */ DISPID(178));
    TAutoArgs<0> _args;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall FromRadians(float* Angle)
  {
    _TDispID _dispid(/* FromRadians */ DISPID(179));
    TAutoArgs<1> _args;
    _args[1] = Angle /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ToRadians(float* Angle)
  {
    _TDispID _dispid(/* ToRadians */ DISPID(180));
    TAutoArgs<1> _args;
    _args[1] = Angle /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ContourArea(LPDISPATCH PathVector, long* Area)
  {
    _TDispID _dispid(/* ContourArea */ DISPID(181));
    TAutoArgs<2> _args;
    _args[1] = PathVector /*[VT_DISPATCH:0]*/;
    _args[2] = Area /*[VT_I4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ContourGravityCenter(LPDISPATCH PathVector, long* Area, float* GravityCenterX, 
                                       float* GravityCenterY)
  {
    _TDispID _dispid(/* ContourGravityCenter */ DISPID(182));
    TAutoArgs<4> _args;
    _args[1] = PathVector /*[VT_DISPATCH:0]*/;
    _args[2] = Area /*[VT_I4:1]*/;
    _args[3] = GravityCenterX /*[VT_R4:1]*/;
    _args[4] = GravityCenterY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ContourInertia(LPDISPATCH PathVector, long* Area, float* GravityCenterX, 
                                 float* GravityCenterY, float* SigmaX, float* SigmaY, float* sigmaXY)
  {
    _TDispID _dispid(/* ContourInertia */ DISPID(183));
    TAutoArgs<7> _args;
    _args[1] = PathVector /*[VT_DISPATCH:0]*/;
    _args[2] = Area /*[VT_I4:1]*/;
    _args[3] = GravityCenterX /*[VT_R4:1]*/;
    _args[4] = GravityCenterY /*[VT_R4:1]*/;
    _args[5] = SigmaX /*[VT_R4:1]*/;
    _args[6] = SigmaY /*[VT_R4:1]*/;
    _args[7] = sigmaXY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Contour(LPDISPATCH BW8SrcImage, Evision_tlb::enumImgContourMode ContourMode, 
                          long StartX, long StartY, 
                          Evision_tlb::enumImgContourThreshold ThresholdMode, long Threshold, 
                          Evision_tlb::enumImgContourConnexity ConnexityMode, LPDISPATCH PathVector)
  {
    _TDispID _dispid(/* Contour */ DISPID(184));
    TAutoArgs<8> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = (int)ContourMode /*[VT_USERDEFINED:0]*/;
    _args[3] = StartX /*[VT_I4:0]*/;
    _args[4] = StartY /*[VT_I4:0]*/;
    _args[5] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
    _args[6] = Threshold /*[VT_I4:0]*/;
    _args[7] = (int)ConnexityMode /*[VT_USERDEFINED:0]*/;
    _args[8] = PathVector /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Roberts(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Roberts */ DISPID(185));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Distance(LPDISPATCH BW8SrcImage, LPDISPATCH BW16DstImage, long ValOut)
  {
    _TDispID _dispid(/* Distance */ DISPID(186));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW16DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = ValOut /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ConvertBW16(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Shift)
  {
    _TDispID _dispid(/* ConvertBW16 */ DISPID(187));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Shift /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GainOffsetC24(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, float RedGain, 
                                float GreenGain, float BlueGain, float RedOffset, float GreenOffset
                                , float BlueOffset)
  {
    _TDispID _dispid(/* GainOffsetC24 */ DISPID(188));
    TAutoArgs<8> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = RedGain /*[VT_R4:0]*/;
    _args[4] = GreenGain /*[VT_R4:0]*/;
    _args[5] = BlueGain /*[VT_R4:0]*/;
    _args[6] = RedOffset /*[VT_R4:0]*/;
    _args[7] = GreenOffset /*[VT_R4:0]*/;
    _args[8] = BlueOffset /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  short __fastcall AutoThresholdLevel(LPDISPATCH BW8SrcImage, 
                                      Evision_tlb::enumImgThresholdModes ThresholdMode, 
                                      float RelativeThreshold)
  {
    _TDispID _dispid(/* AutoThresholdLevel */ DISPID(189));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
    _args[3] = RelativeThreshold /*[VT_R4:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall AutoThreshold(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                Evision_tlb::enumImgThresholdModes ThresholdMode, 
                                float RelativeThreshold)
  {
    _TDispID _dispid(/* AutoThreshold */ DISPID(190));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
    _args[4] = RelativeThreshold /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Uniform(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, long HalfHeight)
  {
    _TDispID _dispid(/* Uniform */ DISPID(191));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall VectorUniform(LPDISPATCH BW8SrcVector, LPDISPATCH BW8DstVector, long HalfWidth)
  {
    _TDispID _dispid(/* VectorUniform */ DISPID(192));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcVector /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstVector /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  float __fastcall Focusing(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* Focusing */ DISPID(193));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall RmsNoise(LPDISPATCH BW8SrcImage, LPDISPATCH BW8RefImage, 
                            Evision_tlb::enumImgReferenceNoise ReferenceNoise)
  {
    _TDispID _dispid(/* RmsNoise */ DISPID(194));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8RefImage /*[VT_DISPATCH:0]*/;
    _args[3] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  float __fastcall RmsNoiseAveraged(LPDISPATCH BW8SrcImage, LPDISPATCH BW16RefImage, long Count, 
                                    Evision_tlb::enumImgReferenceNoise ReferenceNoise)
  {
    _TDispID _dispid(/* RmsNoiseAveraged */ DISPID(195));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW16RefImage /*[VT_DISPATCH:0]*/;
    _args[3] = Count /*[VT_I4:0]*/;
    _args[4] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SignalNoiseRatio(LPDISPATCH BW8SrcImage, LPDISPATCH BW8RefImage, 
                                   Evision_tlb::enumImgReferenceNoise ReferenceNoise)
  {
    _TDispID _dispid(/* SignalNoiseRatio */ DISPID(196));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8RefImage /*[VT_DISPATCH:0]*/;
    _args[3] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SignalNoiseRatioAveraged(LPDISPATCH BW8SrcImage, LPDISPATCH BW16RefImage, 
                                           long Count, 
                                           Evision_tlb::enumImgReferenceNoise ReferenceNoise)
  {
    _TDispID _dispid(/* SignalNoiseRatioAveraged */ DISPID(197));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW16RefImage /*[VT_DISPATCH:0]*/;
    _args[3] = Count /*[VT_I4:0]*/;
    _args[4] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall RegisterTranslate(LPDISPATCH SrcImage, LPDISPATCH DstImage, float SrcPivot0X, 
                                    float SrcPivot0Y, float DstPivot0X, float DstPivot0Y, 
                                    long InterpolationBits)
  {
    _TDispID _dispid(/* RegisterTranslate */ DISPID(198));
    TAutoArgs<7> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = SrcPivot0X /*[VT_R4:0]*/;
    _args[4] = SrcPivot0Y /*[VT_R4:0]*/;
    _args[5] = DstPivot0X /*[VT_R4:0]*/;
    _args[6] = DstPivot0Y /*[VT_R4:0]*/;
    _args[7] = InterpolationBits /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Register(LPDISPATCH SrcImage, LPDISPATCH DstImage, float SrcPivot0X, 
                           float SrcPivot0Y, float SrcPivot1X, float SrcPivot1Y, float DstPivot0X, 
                           float DstPivot0Y, float DstPivot1X, float DstPivot1Y, 
                           long InterpolationBits, TOLEBOOL Resize)
  {
    _TDispID _dispid(/* Register */ DISPID(199));
    TAutoArgs<12> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = SrcPivot0X /*[VT_R4:0]*/;
    _args[4] = SrcPivot0Y /*[VT_R4:0]*/;
    _args[5] = SrcPivot1X /*[VT_R4:0]*/;
    _args[6] = SrcPivot1Y /*[VT_R4:0]*/;
    _args[7] = DstPivot0X /*[VT_R4:0]*/;
    _args[8] = DstPivot0Y /*[VT_R4:0]*/;
    _args[9] = DstPivot1X /*[VT_R4:0]*/;
    _args[10] = DstPivot1Y /*[VT_R4:0]*/;
    _args[11] = InterpolationBits /*[VT_I4:0]*/;
    _args[12] = Resize /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall EmptyCalibrationPointPairs()
  {
    _TDispID _dispid(/* EmptyCalibrationPointPairs */ DISPID(200));
    OleProcedure(_dispid);
  }

  void __fastcall AddCalibrationPointPair(float WorldX, float WorldY, float ImageX, float ImageY)
  {
    _TDispID _dispid(/* AddCalibrationPointPair */ DISPID(201));
    TAutoArgs<4> _args;
    _args[1] = WorldX /*[VT_R4:0]*/;
    _args[2] = WorldY /*[VT_R4:0]*/;
    _args[3] = ImageX /*[VT_R4:0]*/;
    _args[4] = ImageY /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetupLinearCalibration()
  {
    _TDispID _dispid(/* SetupLinearCalibration */ DISPID(202));
    OleProcedure(_dispid);
  }

  void __fastcall SetupPerspectiveCalibration()
  {
    _TDispID _dispid(/* SetupPerspectiveCalibration */ DISPID(203));
    OleProcedure(_dispid);
  }

  void __fastcall GetCalibration(float* Axx, float* Axy, float* Ax, float* Ayx, float* Ayy, 
                                 float* Ay, float* Bx, float* By)
  {
    _TDispID _dispid(/* GetCalibration */ DISPID(204));
    TAutoArgs<8> _args;
    _args[1] = Axx /*[VT_R4:1]*/;
    _args[2] = Axy /*[VT_R4:1]*/;
    _args[3] = Ax /*[VT_R4:1]*/;
    _args[4] = Ayx /*[VT_R4:1]*/;
    _args[5] = Ayy /*[VT_R4:1]*/;
    _args[6] = Ay /*[VT_R4:1]*/;
    _args[7] = Bx /*[VT_R4:1]*/;
    _args[8] = By /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetInvCalibration(float* Axx, float* Axy, float* Ax, float* Ayx, float* Ayy, 
                                    float* Ay, float* Bx, float* By)
  {
    _TDispID _dispid(/* GetInvCalibration */ DISPID(205));
    TAutoArgs<8> _args;
    _args[1] = Axx /*[VT_R4:1]*/;
    _args[2] = Axy /*[VT_R4:1]*/;
    _args[3] = Ax /*[VT_R4:1]*/;
    _args[4] = Ayx /*[VT_R4:1]*/;
    _args[5] = Ayy /*[VT_R4:1]*/;
    _args[6] = Ay /*[VT_R4:1]*/;
    _args[7] = Bx /*[VT_R4:1]*/;
    _args[8] = By /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetCalibrationAngles(float* AngleX, float* AngleY, float* AngleZ)
  {
    _TDispID _dispid(/* GetCalibrationAngles */ DISPID(206));
    TAutoArgs<3> _args;
    _args[1] = AngleX /*[VT_R4:1]*/;
    _args[2] = AngleY /*[VT_R4:1]*/;
    _args[3] = AngleZ /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LinearCalibration(float WorldX, float WorldY, float* ImageX, float* ImageY)
  {
    _TDispID _dispid(/* LinearCalibration */ DISPID(207));
    TAutoArgs<4> _args;
    _args[1] = WorldX /*[VT_R4:0]*/;
    _args[2] = WorldY /*[VT_R4:0]*/;
    _args[3] = ImageX /*[VT_R4:1]*/;
    _args[4] = ImageY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall InvLinearCalibration(float ImageX, float ImageY, float* WorldX, float* WorldY)
  {
    _TDispID _dispid(/* InvLinearCalibration */ DISPID(208));
    TAutoArgs<4> _args;
    _args[1] = ImageX /*[VT_R4:0]*/;
    _args[2] = ImageY /*[VT_R4:0]*/;
    _args[3] = WorldX /*[VT_R4:1]*/;
    _args[4] = WorldY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PerspectiveCalibration(float WorldX, float WorldY, float* ImageX, float* ImageY)
  {
    _TDispID _dispid(/* PerspectiveCalibration */ DISPID(209));
    TAutoArgs<4> _args;
    _args[1] = WorldX /*[VT_R4:0]*/;
    _args[2] = WorldY /*[VT_R4:0]*/;
    _args[3] = ImageX /*[VT_R4:1]*/;
    _args[4] = ImageY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall InvPerspectiveCalibration(float ImageX, float ImageY, float* WorldX, float* WorldY)
  {
    _TDispID _dispid(/* InvPerspectiveCalibration */ DISPID(210));
    TAutoArgs<4> _args;
    _args[1] = ImageX /*[VT_R4:0]*/;
    _args[2] = ImageY /*[VT_R4:0]*/;
    _args[3] = WorldX /*[VT_R4:1]*/;
    _args[4] = WorldY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LinearCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* LinearCalibrationImg */ DISPID(211));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall InvLinearCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* InvLinearCalibrationImg */ DISPID(212));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall PerspectiveCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* PerspectiveCalibrationImg */ DISPID(213));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall InvPerspectiveCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* InvPerspectiveCalibrationImg */ DISPID(214));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ConvolSymmetric(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, LPDISPATCH Kernel)
  {
    _TDispID _dispid(/* ConvolSymmetric */ DISPID(215));
    TAutoArgs<3> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = Kernel /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Uniform3x3(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Uniform3x3 */ DISPID(216));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Uniform5x5(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Uniform5x5 */ DISPID(217));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Uniform7x7(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Uniform7x7 */ DISPID(218));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Gaussian3x3(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Gaussian3x3 */ DISPID(219));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Gaussian5x5(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Gaussian5x5 */ DISPID(220));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Gaussian7x7(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Gaussian7x7 */ DISPID(221));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LocalAverage(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long HalfWidth, 
                               long HalfHeight)
  {
    _TDispID _dispid(/* LocalAverage */ DISPID(222));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LocalDeviation(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long HalfWidth, 
                                 long HalfHeight)
  {
    _TDispID _dispid(/* LocalDeviation */ DISPID(223));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DilateBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                            long HalfHeight)
  {
    _TDispID _dispid(/* DilateBox */ DISPID(224));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ErodeBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, long HalfHeight)
  {
    _TDispID _dispid(/* ErodeBox */ DISPID(225));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall OpenBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, long HalfHeight)
  {
    _TDispID _dispid(/* OpenBox */ DISPID(226));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall CloseBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, long HalfHeight)
  {
    _TDispID _dispid(/* CloseBox */ DISPID(227));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall WhiteTopHatBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                 long HalfHeight)
  {
    _TDispID _dispid(/* WhiteTopHatBox */ DISPID(228));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BlackTopHatBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                 long HalfHeight)
  {
    _TDispID _dispid(/* BlackTopHatBox */ DISPID(229));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DilateDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
  {
    _TDispID _dispid(/* DilateDisk */ DISPID(230));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ErodeDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
  {
    _TDispID _dispid(/* ErodeDisk */ DISPID(231));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall OpenDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
  {
    _TDispID _dispid(/* OpenDisk */ DISPID(232));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall CloseDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
  {
    _TDispID _dispid(/* CloseDisk */ DISPID(233));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall WhiteTopHatDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
  {
    _TDispID _dispid(/* WhiteTopHatDisk */ DISPID(234));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BlackTopHatDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
  {
    _TDispID _dispid(/* BlackTopHatDisk */ DISPID(235));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetCircleWarp(float XCenter, float YCenter, long NumCircles, float MinRadius, 
                                float MaxRadius, long NumRadii, float MinAngle, float MaxAngle, 
                                LPDISPATCH BW16XImage, LPDISPATCH BW16YImage)
  {
    _TDispID _dispid(/* SetCircleWarp */ DISPID(236));
    TAutoArgs<10> _args;
    _args[1] = XCenter /*[VT_R4:0]*/;
    _args[2] = YCenter /*[VT_R4:0]*/;
    _args[3] = NumCircles /*[VT_I4:0]*/;
    _args[4] = MinRadius /*[VT_R4:0]*/;
    _args[5] = MaxRadius /*[VT_R4:0]*/;
    _args[6] = NumRadii /*[VT_I4:0]*/;
    _args[7] = MinAngle /*[VT_R4:0]*/;
    _args[8] = MaxAngle /*[VT_R4:0]*/;
    _args[9] = BW16XImage /*[VT_DISPATCH:0]*/;
    _args[10] = BW16YImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ComposeRGB(LPDISPATCH BW8SrcC0Image, LPDISPATCH BW8SrcC1Image, 
                             LPDISPATCH BW8SrcC2Image, LPDISPATCH C24DstImage)
  {
    _TDispID _dispid(/* ComposeRGB */ DISPID(237));
    TAutoArgs<4> _args;
    _args[1] = BW8SrcC0Image /*[VT_DISPATCH:0]*/;
    _args[2] = BW8SrcC1Image /*[VT_DISPATCH:0]*/;
    _args[3] = BW8SrcC2Image /*[VT_DISPATCH:0]*/;
    _args[4] = C24DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DecomposeRGB(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstC0Image, 
                               LPDISPATCH BW8DstC1Image, LPDISPATCH BW8DstC2Image)
  {
    _TDispID _dispid(/* DecomposeRGB */ DISPID(238));
    TAutoArgs<4> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstC0Image /*[VT_DISPATCH:0]*/;
    _args[3] = BW8DstC1Image /*[VT_DISPATCH:0]*/;
    _args[4] = BW8DstC2Image /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Warp(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH BW16WarpXImage, 
                       LPDISPATCH BW16WarpYImage, long ShiftX, long ShiftY)
  {
    _TDispID _dispid(/* Warp */ DISPID(239));
    TAutoArgs<6> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = BW16WarpXImage /*[VT_DISPATCH:0]*/;
    _args[4] = BW16WarpYImage /*[VT_DISPATCH:0]*/;
    _args[5] = ShiftX /*[VT_I4:0]*/;
    _args[6] = ShiftY /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  OLE_HANDLE __fastcall OpenImageBW8DC(LPDISPATCH ImageBW8)
  {
    _TDispID _dispid(/* OpenImageBW8DC */ DISPID(240));
    TAutoArgs<1> _args;
    _args[1] = ImageBW8 /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  OLE_HANDLE __fastcall OpenImageC24DC(LPDISPATCH ImageC24)
  {
    _TDispID _dispid(/* OpenImageC24DC */ DISPID(241));
    TAutoArgs<1> _args;
    _args[1] = ImageC24 /*[VT_DISPATCH:0]*/;
    OleFunction(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall CloseImageBW8DC(LPDISPATCH ImageBW8)
  {
    _TDispID _dispid(/* CloseImageBW8DC */ DISPID(242));
    TAutoArgs<1> _args;
    _args[1] = ImageBW8 /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall CloseImageC24DC(LPDISPATCH ImageC24)
  {
    _TDispID _dispid(/* CloseImageC24DC */ DISPID(243));
    TAutoArgs<1> _args;
    _args[1] = ImageC24 /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Gaussian(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, long HalfHeight)
  {
    _TDispID _dispid(/* Gaussian */ DISPID(244));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LaplacianX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* LaplacianX */ DISPID(245));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LaplacianY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* LaplacianY */ DISPID(246));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Gradient(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* Gradient */ DISPID(247));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GradientX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* GradientX */ DISPID(248));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GradientY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* GradientY */ DISPID(249));
    TAutoArgs<2> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall C24ToBayer(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, TOLEBOOL EvenCol, 
                             TOLEBOOL EvenRow)
  {
    _TDispID _dispid(/* C24ToBayer */ DISPID(250));
    TAutoArgs<4> _args;
    _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = EvenCol /*[VT_BOOL:0]*/;
    _args[4] = EvenRow /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall BayerToC24(LPDISPATCH BW8SrcImage, LPDISPATCH C24DstImage, TOLEBOOL EvenCol, 
                             TOLEBOOL EvenRow, TOLEBOOL Interpolate, TOLEBOOL Improved)
  {
    _TDispID _dispid(/* BayerToC24 */ DISPID(251));
    TAutoArgs<6> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = EvenCol /*[VT_BOOL:0]*/;
    _args[4] = EvenRow /*[VT_BOOL:0]*/;
    _args[5] = Interpolate /*[VT_BOOL:0]*/;
    _args[6] = Improved /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall TransformBayer(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                 LPDISPATCH ColorLookup, TOLEBOOL EvenCol, TOLEBOOL EvenRow)
  {
    _TDispID _dispid(/* TransformBayer */ DISPID(252));
    TAutoArgs<5> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = ColorLookup /*[VT_DISPATCH:0]*/;
    _args[4] = EvenCol /*[VT_BOOL:0]*/;
    _args[5] = EvenRow /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall MorphoGradientBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                    long HalfHeight)
  {
    _TDispID _dispid(/* MorphoGradientBox */ DISPID(253));
    TAutoArgs<4> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    _args[4] = HalfHeight /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall MorphoGradientDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
  {
    _TDispID _dispid(/* MorphoGradientDisk */ DISPID(254));
    TAutoArgs<3> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstImage /*[VT_DISPATCH:0]*/;
    _args[3] = HalfWidth /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumTraceModes TraceMode = {read = get_TraceMode, write = set_TraceMode};
  __property   BSTR            Version = {read = get_Version, write = set_Version};
  __property   short           Error = {read = get_Error, write = set_Error};
  __property   BSTR            ErrorText = {read = get_ErrorText, write = set_ErrorText};
  __property   long            JpegQuality = {read = get_JpegQuality, write = set_JpegQuality};
  __property   long            TiffThreshold = {read = get_TiffThreshold, write = set_TiffThreshold};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   Evision_tlb::enumAngleUnits AngleUnit = {read = get_AngleUnit, write = set_AngleUnit};
  __property   TOLEBOOL        MMX = {read = get_MMX, write = set_MMX};
  __property   long            TrueTimingResolution = {read = get_TrueTimingResolution, write = set_TrueTimingResolution};
  __property   TOLEBOOL        EnableExceptions = {read = get_EnableExceptions, write = set_EnableExceptions};
};
// *********************************************************************//
// Interface: _DEasyMainEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EAD-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEasyMainEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEMovingAverage
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EBC-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEMovingAverage : public TDispWrapper<IDispatch>
{
  void __fastcall set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* Obj */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_Obj()
  {
    _TDispID _dispid(/* Obj */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SourcePointer(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SourcePointer */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SourcePointer()
  {
    _TDispID _dispid(/* SourcePointer */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_EmbeddedObject()
  {
    _TDispID _dispid(/* EmbeddedObject */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall SetSize(long Period, long Width, long Height, TOLEBOOL Internal)
  {
    _TDispID _dispid(/* SetSize */ DISPID(4));
    TAutoArgs<4> _args;
    _args[1] = Period /*[VT_I4:0]*/;
    _args[2] = Width /*[VT_I4:0]*/;
    _args[3] = Height /*[VT_I4:0]*/;
    _args[4] = Internal /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetSize(long* Period, long* Width, long* Height, TOLEBOOL* Internal)
  {
    _TDispID _dispid(/* GetSize */ DISPID(5));
    TAutoArgs<4> _args;
    _args[1] = Period /*[VT_I4:1]*/;
    _args[2] = Width /*[VT_I4:1]*/;
    _args[3] = Height /*[VT_I4:1]*/;
    _args[4] = Internal /*[VT_BOOL:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Average(LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* Average */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AverageSrc(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
  {
    _TDispID _dispid(/* AverageSrc */ DISPID(7));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Reset()
  {
    _TDispID _dispid(/* Reset */ DISPID(8));
    OleProcedure(_dispid);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            SourcePointer = {read = get_SourcePointer, write = set_SourcePointer};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
// *********************************************************************//
// Interface: _DEMovingAverageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EBD-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEMovingAverageEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEMatrixCode
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEMatrixCode : public TDispWrapper<IDispatch>
{
  void __fastcall set_EccFamily(Evision_tlb::enumMxcECCFamily /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* EccFamily */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcECCFamily /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMxcECCFamily /*[VT_USERDEFINED:0]*/ __fastcall get_EccFamily()
  {
    _TDispID _dispid(/* EccFamily */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMxcECCFamily /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_SymbolSize(Evision_tlb::enumMxcSymbolSize /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* SymbolSize */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcSymbolSize /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMxcSymbolSize /*[VT_USERDEFINED:0]*/ __fastcall get_SymbolSize()
  {
    _TDispID _dispid(/* SymbolSize */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMxcSymbolSize /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_SymbolWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SymbolWidth */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SymbolWidth()
  {
    _TDispID _dispid(/* SymbolWidth */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SymbolHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SymbolHeight */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SymbolHeight()
  {
    _TDispID _dispid(/* SymbolHeight */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Contrast(Evision_tlb::enumMxcSymbolContrast /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* Contrast */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcSymbolContrast /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMxcSymbolContrast /*[VT_USERDEFINED:0]*/ __fastcall get_Contrast()
  {
    _TDispID _dispid(/* Contrast */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMxcSymbolContrast /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ScaleTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleTolerance */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleTolerance()
  {
    _TDispID _dispid(/* ScaleTolerance */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleBias */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleBias()
  {
    _TDispID _dispid(/* ScaleBias */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleStep(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleStep */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleStep()
  {
    _TDispID _dispid(/* ScaleStep */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleCount */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ScaleCount()
  {
    _TDispID _dispid(/* ScaleCount */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewTolerance */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewTolerance()
  {
    _TDispID _dispid(/* SkewTolerance */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewBias */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewBias()
  {
    _TDispID _dispid(/* SkewBias */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewStep(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewStep */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SkewStep()
  {
    _TDispID _dispid(/* SkewStep */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SkewCount(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SkewCount */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SkewCount()
  {
    _TDispID _dispid(/* SkewCount */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ReadingThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ReadingThreshold */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ReadingThreshold()
  {
    _TDispID _dispid(/* ReadingThreshold */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ReadingThresholdMode(Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ReadingThresholdMode */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcThresholdModes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ __fastcall get_ReadingThresholdMode()
  {
    _TDispID _dispid(/* ReadingThresholdMode */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMxcThresholdModes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_NumErrors(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumErrors */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumErrors()
  {
    _TDispID _dispid(/* NumErrors */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CellFilling(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CellFilling */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CellFilling()
  {
    _TDispID _dispid(/* CellFilling */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SourceImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
  {
    _TDispID _dispid(/* SourceImage */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall get_SourceImage()
  {
    _TDispID _dispid(/* SourceImage */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_LocationThresholdMode(Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* LocationThresholdMode */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcThresholdModes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ __fastcall get_LocationThresholdMode()
  {
    _TDispID _dispid(/* LocationThresholdMode */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMxcThresholdModes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_LocationThreshold(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* LocationThreshold */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_LocationThreshold()
  {
    _TDispID _dispid(/* LocationThreshold */ DISPID(20));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(21));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(22));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(23));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(23));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(24));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(24));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_ImproveConnexity(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* ImproveConnexity */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_ImproveConnexity()
  {
    _TDispID _dispid(/* ImproveConnexity */ DISPID(25));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CheckPrintQuality(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* CheckPrintQuality */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_CheckPrintQuality()
  {
    _TDispID _dispid(/* CheckPrintQuality */ DISPID(26));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SymbolContrast(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* SymbolContrast */ DISPID(27));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_SymbolContrast()
  {
    _TDispID _dispid(/* SymbolContrast */ DISPID(27));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PrintGrowth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* PrintGrowth */ DISPID(28));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_PrintGrowth()
  {
    _TDispID _dispid(/* PrintGrowth */ DISPID(28));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AxialNonuniformity(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* AxialNonuniformity */ DISPID(29));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_AxialNonuniformity()
  {
    _TDispID _dispid(/* AxialNonuniformity */ DISPID(29));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_UnusedErrorCorrection(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* UnusedErrorCorrection */ DISPID(30));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_UnusedErrorCorrection()
  {
    _TDispID _dispid(/* UnusedErrorCorrection */ DISPID(30));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinimumPrintGrowth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MinimumPrintGrowth */ DISPID(31));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MinimumPrintGrowth()
  {
    _TDispID _dispid(/* MinimumPrintGrowth */ DISPID(31));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NominalPrintGrowth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* NominalPrintGrowth */ DISPID(32));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_NominalPrintGrowth()
  {
    _TDispID _dispid(/* NominalPrintGrowth */ DISPID(32));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaximumPrintGrowth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MaximumPrintGrowth */ DISPID(33));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MaximumPrintGrowth()
  {
    _TDispID _dispid(/* MaximumPrintGrowth */ DISPID(33));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MeasuredPrintGrowth(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MeasuredPrintGrowth */ DISPID(34));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MeasuredPrintGrowth()
  {
    _TDispID _dispid(/* MeasuredPrintGrowth */ DISPID(34));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SymbolContrastGrade(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* SymbolContrastGrade */ DISPID(35));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_SymbolContrastGrade()
  {
    _TDispID _dispid(/* SymbolContrastGrade */ DISPID(35));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_PrintGrowthGrade(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* PrintGrowthGrade */ DISPID(36));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_PrintGrowthGrade()
  {
    _TDispID _dispid(/* PrintGrowthGrade */ DISPID(36));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AxialNonuniformityGrade(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* AxialNonuniformityGrade */ DISPID(37));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_AxialNonuniformityGrade()
  {
    _TDispID _dispid(/* AxialNonuniformityGrade */ DISPID(37));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_OverallGrade(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* OverallGrade */ DISPID(38));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_OverallGrade()
  {
    _TDispID _dispid(/* OverallGrade */ DISPID(38));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_UnusedErrorCorrectionGrade(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* UnusedErrorCorrectionGrade */ DISPID(39));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_UnusedErrorCorrectionGrade()
  {
    _TDispID _dispid(/* UnusedErrorCorrectionGrade */ DISPID(39));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_SymbolFlipping(Evision_tlb::enumMxcSymbolFlipping /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* SymbolFlipping */ DISPID(40));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcSymbolFlipping /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumMxcSymbolFlipping /*[VT_USERDEFINED:0]*/ __fastcall get_SymbolFlipping()
  {
    _TDispID _dispid(/* SymbolFlipping */ DISPID(40));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumMxcSymbolFlipping /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall Load(BSTR PathName)
  {
    _TDispID _dispid(/* Load */ DISPID(41));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetCellPitch(float PitchX, float PitchY)
  {
    _TDispID _dispid(/* SetCellPitch */ DISPID(42));
    TAutoArgs<2> _args;
    _args[1] = PitchX /*[VT_R4:0]*/;
    _args[2] = PitchY /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ResetCorners()
  {
    _TDispID _dispid(/* ResetCorners */ DISPID(43));
    OleProcedure(_dispid);
  }

  void __fastcall DrawCorners(LPDISPATCH EImageBW8)
  {
    _TDispID _dispid(/* DrawCorners */ DISPID(44));
    TAutoArgs<1> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  Evision_tlb::enumMxcHandles __fastcall HitTest(LPDISPATCH EImageBW8, long CursorX, long CursorY)
  {
    _TDispID _dispid(/* HitTest */ DISPID(45));
    TAutoArgs<3> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    _args[2] = CursorX /*[VT_I4:0]*/;
    _args[3] = CursorY /*[VT_I4:0]*/;
    OleFunction(_dispid, _args);
    return (Evision_tlb::enumMxcHandles /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
  }

  void __fastcall Drag(LPDISPATCH EImageBW8, Evision_tlb::enumMxcHandles EHandle, long CursorX, 
                       long CursorY)
  {
    _TDispID _dispid(/* Drag */ DISPID(46));
    TAutoArgs<4> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    _args[2] = (int)EHandle /*[VT_USERDEFINED:0]*/;
    _args[3] = CursorX /*[VT_I4:0]*/;
    _args[4] = CursorY /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Draw(LPDISPATCH EImageBW8)
  {
    _TDispID _dispid(/* Draw */ DISPID(47));
    TAutoArgs<1> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Save(BSTR PathName)
  {
    _TDispID _dispid(/* Save */ DISPID(48));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AutoDetect(LPDISPATCH BW8SrcImage, Evision_tlb::enumMxcSymbolSize SymbolSize, 
                             Evision_tlb::enumMxcSymbolOrientation SymbolOrientation, 
                             Evision_tlb::enumMxcSymbolContrast Contrast, BSTR* DstString)
  {
    _TDispID _dispid(/* AutoDetect */ DISPID(49));
    TAutoArgs<5> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = (int)SymbolSize /*[VT_USERDEFINED:0]*/;
    _args[3] = (int)SymbolOrientation /*[VT_USERDEFINED:0]*/;
    _args[4] = (int)Contrast /*[VT_USERDEFINED:0]*/;
    _args[5] = DstString /*[VT_BSTR:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ReadSymbol(LPDISPATCH BW8SrcImage, BSTR* DstString)
  {
    _TDispID _dispid(/* ReadSymbol */ DISPID(50));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstString /*[VT_BSTR:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetCellPitch(float* PitchX, float* PitchY)
  {
    _TDispID _dispid(/* GetCellPitch */ DISPID(51));
    TAutoArgs<2> _args;
    _args[1] = PitchX /*[VT_R4:1]*/;
    _args[2] = PitchY /*[VT_R4:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetPrintGrowthRange(float f32Minimum, float f32Nominal, float f32Maximum)
  {
    _TDispID _dispid(/* SetPrintGrowthRange */ DISPID(52));
    TAutoArgs<3> _args;
    _args[1] = f32Minimum /*[VT_R4:0]*/;
    _args[2] = f32Nominal /*[VT_R4:0]*/;
    _args[3] = f32Maximum /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawErrors(LPDISPATCH EImageBW8)
  {
    _TDispID _dispid(/* DrawErrors */ DISPID(53));
    TAutoArgs<1> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawCornersErrors(LPDISPATCH EImageBW8)
  {
    _TDispID _dispid(/* DrawCornersErrors */ DISPID(54));
    TAutoArgs<1> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AutoReadSymbol(LPDISPATCH BW8SrcImage, BSTR* DstString)
  {
    _TDispID _dispid(/* AutoReadSymbol */ DISPID(55));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
    _args[2] = DstString /*[VT_BSTR:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumMxcECCFamily EccFamily = {read = get_EccFamily, write = set_EccFamily};
  __property   Evision_tlb::enumMxcSymbolSize SymbolSize = {read = get_SymbolSize, write = set_SymbolSize};
  __property   long            SymbolWidth = {read = get_SymbolWidth, write = set_SymbolWidth};
  __property   long            SymbolHeight = {read = get_SymbolHeight, write = set_SymbolHeight};
  __property   Evision_tlb::enumMxcSymbolContrast Contrast = {read = get_Contrast, write = set_Contrast};
  __property   float           ScaleTolerance = {read = get_ScaleTolerance, write = set_ScaleTolerance};
  __property   float           ScaleBias = {read = get_ScaleBias, write = set_ScaleBias};
  __property   float           ScaleStep = {read = get_ScaleStep, write = set_ScaleStep};
  __property   long            ScaleCount = {read = get_ScaleCount, write = set_ScaleCount};
  __property   float           SkewTolerance = {read = get_SkewTolerance, write = set_SkewTolerance};
  __property   float           SkewBias = {read = get_SkewBias, write = set_SkewBias};
  __property   float           SkewStep = {read = get_SkewStep, write = set_SkewStep};
  __property   long            SkewCount = {read = get_SkewCount, write = set_SkewCount};
  __property   long            ReadingThreshold = {read = get_ReadingThreshold, write = set_ReadingThreshold};
  __property   Evision_tlb::enumMxcThresholdModes ReadingThresholdMode = {read = get_ReadingThresholdMode, write = set_ReadingThresholdMode};
  __property   long            NumErrors = {read = get_NumErrors, write = set_NumErrors};
  __property   float           CellFilling = {read = get_CellFilling, write = set_CellFilling};
  __property   LPDISPATCH      SourceImage = {read = get_SourceImage, write = set_SourceImage};
  __property   Evision_tlb::enumMxcThresholdModes LocationThresholdMode = {read = get_LocationThresholdMode, write = set_LocationThresholdMode};
  __property   long            LocationThreshold = {read = get_LocationThreshold, write = set_LocationThreshold};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   TOLEBOOL        ImproveConnexity = {read = get_ImproveConnexity, write = set_ImproveConnexity};
  __property   TOLEBOOL        CheckPrintQuality = {read = get_CheckPrintQuality, write = set_CheckPrintQuality};
  __property   float           SymbolContrast = {read = get_SymbolContrast, write = set_SymbolContrast};
  __property   float           PrintGrowth = {read = get_PrintGrowth, write = set_PrintGrowth};
  __property   float           AxialNonuniformity = {read = get_AxialNonuniformity, write = set_AxialNonuniformity};
  __property   float           UnusedErrorCorrection = {read = get_UnusedErrorCorrection, write = set_UnusedErrorCorrection};
  __property   float           MinimumPrintGrowth = {read = get_MinimumPrintGrowth, write = set_MinimumPrintGrowth};
  __property   float           NominalPrintGrowth = {read = get_NominalPrintGrowth, write = set_NominalPrintGrowth};
  __property   float           MaximumPrintGrowth = {read = get_MaximumPrintGrowth, write = set_MaximumPrintGrowth};
  __property   float           MeasuredPrintGrowth = {read = get_MeasuredPrintGrowth, write = set_MeasuredPrintGrowth};
  __property   long            SymbolContrastGrade = {read = get_SymbolContrastGrade, write = set_SymbolContrastGrade};
  __property   long            PrintGrowthGrade = {read = get_PrintGrowthGrade, write = set_PrintGrowthGrade};
  __property   long            AxialNonuniformityGrade = {read = get_AxialNonuniformityGrade, write = set_AxialNonuniformityGrade};
  __property   long            OverallGrade = {read = get_OverallGrade, write = set_OverallGrade};
  __property   long            UnusedErrorCorrectionGrade = {read = get_UnusedErrorCorrectionGrade, write = set_UnusedErrorCorrectionGrade};
  __property   Evision_tlb::enumMxcSymbolFlipping SymbolFlipping = {read = get_SymbolFlipping, write = set_SymbolFlipping};
};
// *********************************************************************//
// Interface: _DEMatrixCodeEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEMatrixCodeEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEImageSequence
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEImageSequence : public TDispWrapper<IDispatch>
{
  void __fastcall set_ImageType(Evision_tlb::enumImageTypes /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ImageType */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumImageTypes /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumImageTypes /*[VT_USERDEFINED:0]*/ __fastcall get_ImageType()
  {
    _TDispID _dispid(/* ImageType */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumImageTypes /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_Count(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* Count */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_Count()
  {
    _TDispID _dispid(/* Count */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_State(Evision_tlb::enumState /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* State */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumState /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumState /*[VT_USERDEFINED:0]*/ __fastcall get_State()
  {
    _TDispID _dispid(/* State */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumState /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall set_FlipImage(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* FlipImage */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_FlipImage()
  {
    _TDispID _dispid(/* FlipImage */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CodecFourcc(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* CodecFourcc */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_CodecFourcc()
  {
    _TDispID _dispid(/* CodecFourcc */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumRate(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumRate */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumRate()
  {
    _TDispID _dispid(/* NumRate */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DenomRate(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* DenomRate */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_DenomRate()
  {
    _TDispID _dispid(/* DenomRate */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DataRate(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* DataRate */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_DataRate()
  {
    _TDispID _dispid(/* DataRate */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_KeyFrameRate(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* KeyFrameRate */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_KeyFrameRate()
  {
    _TDispID _dispid(/* KeyFrameRate */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CompressionQuality(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* CompressionQuality */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_CompressionQuality()
  {
    _TDispID _dispid(/* CompressionQuality */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Position(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* Position */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_Position()
  {
    _TDispID _dispid(/* Position */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageWidth(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageWidth()
  {
    _TDispID _dispid(/* ImageWidth */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ImageHeight(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_ImageHeight()
  {
    _TDispID _dispid(/* ImageHeight */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall Seek(long lngDelta)
  {
    _TDispID _dispid(/* Seek */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = lngDelta /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AddImage(LPDISPATCH SrcImage)
  {
    _TDispID _dispid(/* AddImage */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall GetImage(LPDISPATCH DstImage)
  {
    _TDispID _dispid(/* GetImage */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = DstImage /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall CloseFile()
  {
    _TDispID _dispid(/* CloseFile */ DISPID(17));
    OleProcedure(_dispid);
  }

  void __fastcall StartLoading(BSTR pszFileName)
  {
    _TDispID _dispid(/* StartLoading */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = pszFileName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall StartSaving(BSTR pszFileName, long hwndDialogParent)
  {
    _TDispID _dispid(/* StartSaving */ DISPID(19));
    TAutoArgs<2> _args;
    _args[1] = pszFileName /*[VT_BSTR:0]*/;
    _args[2] = hwndDialogParent /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AddImageData(short* pImgData)
  {
    _TDispID _dispid(/* AddImageData */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = pImgData /*[VT_I2:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   Evision_tlb::enumImageTypes ImageType = {read = get_ImageType, write = set_ImageType};
  __property   long            Count = {read = get_Count, write = set_Count};
  __property   Evision_tlb::enumState State = {read = get_State, write = set_State};
  __property   TOLEBOOL        FlipImage = {read = get_FlipImage, write = set_FlipImage};
  __property   long            CodecFourcc = {read = get_CodecFourcc, write = set_CodecFourcc};
  __property   long            NumRate = {read = get_NumRate, write = set_NumRate};
  __property   long            DenomRate = {read = get_DenomRate, write = set_DenomRate};
  __property   long            DataRate = {read = get_DataRate, write = set_DataRate};
  __property   long            KeyFrameRate = {read = get_KeyFrameRate, write = set_KeyFrameRate};
  __property   long            CompressionQuality = {read = get_CompressionQuality, write = set_CompressionQuality};
  __property   long            Position = {read = get_Position, write = set_Position};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
};
// *********************************************************************//
// Interface: _DEImageSequenceEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEImageSequenceEvents : public TDispWrapper<IDispatch>
{

};
// *********************************************************************//
// Interface: _DEFind
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEFind : public TDispWrapper<IDispatch>
{
  void __fastcall set_Angle(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Angle */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Angle()
  {
    _TDispID _dispid(/* Angle */ DISPID(1));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AngleBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* AngleBias */ DISPID(2));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_AngleBias()
  {
    _TDispID _dispid(/* AngleBias */ DISPID(2));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_AngleTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* AngleTolerance */ DISPID(3));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_AngleTolerance()
  {
    _TDispID _dispid(/* AngleTolerance */ DISPID(3));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CenterX(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CenterX */ DISPID(4));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CenterX()
  {
    _TDispID _dispid(/* CenterX */ DISPID(4));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_CenterY(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* CenterY */ DISPID(5));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_CenterY()
  {
    _TDispID _dispid(/* CenterY */ DISPID(5));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Interpolate(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* Interpolate */ DISPID(6));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_Interpolate()
  {
    _TDispID _dispid(/* Interpolate */ DISPID(6));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MaxInstances(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* MaxInstances */ DISPID(7));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_MaxInstances()
  {
    _TDispID _dispid(/* MaxInstances */ DISPID(7));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_MinScore(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* MinScore */ DISPID(8));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_MinScore()
  {
    _TDispID _dispid(/* MinScore */ DISPID(8));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_NumInstances(long /*[VT_I4:0]*/ Value)
  {
    _TDispID _dispid(/* NumInstances */ DISPID(9));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  long /*[VT_I4:0]*/ __fastcall get_NumInstances()
  {
    _TDispID _dispid(/* NumInstances */ DISPID(9));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Scale(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Scale */ DISPID(10));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Scale()
  {
    _TDispID _dispid(/* Scale */ DISPID(10));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleBias(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleBias */ DISPID(11));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleBias()
  {
    _TDispID _dispid(/* ScaleBias */ DISPID(11));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ScaleTolerance(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* ScaleTolerance */ DISPID(12));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_ScaleTolerance()
  {
    _TDispID _dispid(/* ScaleTolerance */ DISPID(12));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Score(float /*[VT_R4:0]*/ Value)
  {
    _TDispID _dispid(/* Score */ DISPID(13));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  float /*[VT_R4:0]*/ __fastcall get_Score()
  {
    _TDispID _dispid(/* Score */ DISPID(13));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_Learnt(TOLEBOOL /*[VT_BOOL:0]*/ Value)
  {
    _TDispID _dispid(/* Learnt */ DISPID(14));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  TOLEBOOL /*[VT_BOOL:0]*/ __fastcall get_Learnt()
  {
    _TDispID _dispid(/* Learnt */ DISPID(14));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
  {
    _TDispID _dispid(/* DrawColor */ DISPID(15));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall get_DrawColor()
  {
    _TDispID _dispid(/* DrawColor */ DISPID(15));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawStyle(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(16));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawStyle()
  {
    _TDispID _dispid(/* DrawStyle */ DISPID(16));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawWidth(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(17));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawWidth()
  {
    _TDispID _dispid(/* DrawWidth */ DISPID(17));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_DrawMode(short /*[VT_I2:0]*/ Value)
  {
    _TDispID _dispid(/* DrawMode */ DISPID(18));
    TAutoArgs<1> _args;
    _args[1] = Value;
    OlePropertyPut(_dispid, _args);
  }

  short /*[VT_I2:0]*/ __fastcall get_DrawMode()
  {
    _TDispID _dispid(/* DrawMode */ DISPID(18));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return _args.GetRetVariant();
  }

  void __fastcall set_ContrastMode(Evision_tlb::enumFndContrastMode /*[VT_USERDEFINED:0]*/ Value)
  {
    _TDispID _dispid(/* ContrastMode */ DISPID(19));
    TAutoArgs<1> _args;
    _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFndContrastMode /*[C2]*/)Value;
    OlePropertyPut(_dispid, _args);
  }

  Evision_tlb::enumFndContrastMode /*[VT_USERDEFINED:0]*/ __fastcall get_ContrastMode()
  {
    _TDispID _dispid(/* ContrastMode */ DISPID(19));
    TAutoArgs<0> _args;
    OlePropertyGet(_dispid, _args);
    return (Evision_tlb::enumFndContrastMode /*[C3]*/)(int)_args.GetRetVariant();
  }

  void __fastcall Find(LPDISPATCH BW8SrcRoi)
  {
    _TDispID _dispid(/* Find */ DISPID(20));
    TAutoArgs<1> _args;
    _args[1] = BW8SrcRoi /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Learn(LPDISPATCH BW8SrcRoi)
  {
    _TDispID _dispid(/* Learn */ DISPID(21));
    TAutoArgs<1> _args;
    _args[1] = BW8SrcRoi /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SelectInstance(long lngIndex)
  {
    _TDispID _dispid(/* SelectInstance */ DISPID(22));
    TAutoArgs<1> _args;
    _args[1] = lngIndex /*[VT_I4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall SetCenter(float f32CenterX, float f32CenterY)
  {
    _TDispID _dispid(/* SetCenter */ DISPID(23));
    TAutoArgs<2> _args;
    _args[1] = f32CenterX /*[VT_R4:0]*/;
    _args[2] = f32CenterY /*[VT_R4:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall LearnWithMask(LPDISPATCH BW8SrcRoi, LPDISPATCH pDontCare)
  {
    _TDispID _dispid(/* LearnWithMask */ DISPID(24));
    TAutoArgs<2> _args;
    _args[1] = BW8SrcRoi /*[VT_DISPATCH:0]*/;
    _args[2] = pDontCare /*[VT_DISPATCH:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Load(BSTR PathName)
  {
    _TDispID _dispid(/* Load */ DISPID(25));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall Save(BSTR PathName)
  {
    _TDispID _dispid(/* Save */ DISPID(26));
    TAutoArgs<1> _args;
    _args[1] = PathName /*[VT_BSTR:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawInstances(LPDISPATCH EImageBW8, TOLEBOOL bEdge)
  {
    _TDispID _dispid(/* DrawInstances */ DISPID(27));
    TAutoArgs<2> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    _args[2] = bEdge /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall DrawInstance(LPDISPATCH EImageBW8, TOLEBOOL bEdge)
  {
    _TDispID _dispid(/* DrawInstance */ DISPID(28));
    TAutoArgs<2> _args;
    _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
    _args[2] = bEdge /*[VT_BOOL:0]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall AboutBox()
  {
    _TDispID _dispid(/* AboutBox */ DISPID(-552));
    OleProcedure(_dispid);
  }


  __property   float           Angle = {read = get_Angle, write = set_Angle};
  __property   float           AngleBias = {read = get_AngleBias, write = set_AngleBias};
  __property   float           AngleTolerance = {read = get_AngleTolerance, write = set_AngleTolerance};
  __property   float           CenterX = {read = get_CenterX, write = set_CenterX};
  __property   float           CenterY = {read = get_CenterY, write = set_CenterY};
  __property   TOLEBOOL        Interpolate = {read = get_Interpolate, write = set_Interpolate};
  __property   long            MaxInstances = {read = get_MaxInstances, write = set_MaxInstances};
  __property   float           MinScore = {read = get_MinScore, write = set_MinScore};
  __property   long            NumInstances = {read = get_NumInstances, write = set_NumInstances};
  __property   float           Scale = {read = get_Scale, write = set_Scale};
  __property   float           ScaleBias = {read = get_ScaleBias, write = set_ScaleBias};
  __property   float           ScaleTolerance = {read = get_ScaleTolerance, write = set_ScaleTolerance};
  __property   float           Score = {read = get_Score, write = set_Score};
  __property   TOLEBOOL        Learnt = {read = get_Learnt, write = set_Learnt};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   short           DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   Evision_tlb::enumFndContrastMode ContrastMode = {read = get_ContrastMode, write = set_ContrastMode};
};
// *********************************************************************//
// Interface: _DEFindEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
interface _DEFindEvents : public TDispWrapper<IDispatch>
{

};
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
// *********************************************************************//
// DispIntf:  _DEBW8Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E08-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW8ImageDispT : public TAutoDriver<_DEBW8Image>
{
public:
  _DEBW8ImageDispT(){}

  _DEBW8ImageDispT(_DEBW8Image *pintf)
  {
    TAutoDriver<_DEBW8Image>::Bind(pintf, false);
  }

  _DEBW8ImageDispT(_DEBW8ImagePtr pintf)
  {
    TAutoDriver<_DEBW8Image>::Bind(pintf, true);
  }

  _DEBW8ImageDispT& operator=(_DEBW8Image *pintf)
  {
    TAutoDriver<_DEBW8Image>::Bind(pintf, false);
    return *this;
  }

  _DEBW8ImageDispT& operator=(_DEBW8ImagePtr pintf)
  {
    TAutoDriver<_DEBW8Image>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW8Image));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW8Image);
  }

  void            __fastcall set_Title(BSTR Value);
  BSTR            __fastcall get_Title();
  void            __fastcall set_ImageOrgX(long Value);
  long            __fastcall get_ImageOrgX();
  void            __fastcall set_ImageOrgY(long Value);
  long            __fastcall get_ImageOrgY();
  void            __fastcall set_ImageWidth(long Value);
  long            __fastcall get_ImageWidth();
  void            __fastcall set_ImageHeight(long Value);
  long            __fastcall get_ImageHeight();
  void            __fastcall set_BitsPerPixel(long Value);
  long            __fastcall get_BitsPerPixel();
  void            __fastcall set_PlanesPerPixel(long Value);
  long            __fastcall get_PlanesPerPixel();
  void            __fastcall set_DataType(Evision_tlb::enumDataTypes Value);
  Evision_tlb::enumDataTypes __fastcall get_DataType();
  void            __fastcall set_TotalOrgX(long Value);
  long            __fastcall get_TotalOrgX();
  void            __fastcall set_TotalOrgY(long Value);
  long            __fastcall get_TotalOrgY();
  void            __fastcall set_TotalWidth(long Value);
  long            __fastcall get_TotalWidth();
  void            __fastcall set_TotalHeight(long Value);
  long            __fastcall get_TotalHeight();
  void            __fastcall set_PixelWidth(float Value);
  float           __fastcall get_PixelWidth();
  void            __fastcall set_PixelHeight(float Value);
  float           __fastcall get_PixelHeight();
  void            __fastcall set_PixelUnit(Evision_tlb::enumUnits Value);
  Evision_tlb::enumUnits __fastcall get_PixelUnit();
  void            __fastcall set_HorizontalPixelsPerUnit(float Value);
  float           __fastcall get_HorizontalPixelsPerUnit();
  void            __fastcall set_VerticalPixelsPerUnit(float Value);
  float           __fastcall get_VerticalPixelsPerUnit();
  void            __fastcall set_ColorSystem(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystem();
  void            __fastcall set_hWnd(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hWnd();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_ZoomX(float Value);
  float           __fastcall get_ZoomX();
  void            __fastcall set_ZoomY(float Value);
  float           __fastcall get_ZoomY();
  void            __fastcall set_PanX(float Value);
  float           __fastcall get_PanX();
  void            __fastcall set_PanY(float Value);
  float           __fastcall get_PanY();
  void            __fastcall set_hDC(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hDC();
  void            __fastcall set_RowPitch(long Value);
  long            __fastcall get_RowPitch();
  void            __fastcall set_ColPitch(long Value);
  long            __fastcall get_ColPitch();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_EnableContextualMenu(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_EnableContextualMenu();
  void            __fastcall set_OverlayMode(Evision_tlb::enumOverlayMode Value);
  Evision_tlb::enumOverlayMode __fastcall get_OverlayMode();
  void            __fastcall set_EnableScrollBars(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_EnableScrollBars();
  void            __fastcall set_TextColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_TextColor();
  void            __fastcall set_TextBold(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextBold();
  void            __fastcall set_TextItalic(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextItalic();
  void            __fastcall set_TextStrikeout(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextStrikeout();
  void            __fastcall set_TextUnderline(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextUnderline();
  void            __fastcall set_TextBackColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_TextBackColor();
  void            __fastcall set_TextAlignV(Evision_tlb::enumTextAlignV Value);
  Evision_tlb::enumTextAlignV __fastcall get_TextAlignV();
  void            __fastcall set_TextAlignH(Evision_tlb::enumTextAlignH Value);
  Evision_tlb::enumTextAlignH __fastcall get_TextAlignH();
  void            __fastcall set_TextTransparent(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextTransparent();
  void            __fastcall set_TextFont(IFontDispPtr Value);
  IFontDispPtr    __fastcall get_TextFont();
  void            __fastcall set_TextSize(CURRENCY Value);
  CURRENCY        __fastcall get_TextSize();
  void            __fastcall set_CursorMode(Evision_tlb::enumCursorMode Value);
  Evision_tlb::enumCursorMode __fastcall get_CursorMode();
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall SetSize(long Width, long Height);
  long            __fastcall GetImagePointer(long OriginX, long OriginY);
  void            __fastcall SetImagePointer(long NewValue);
  void            __fastcall GetPixel(long X, long Y, short* GrayValue);
  void            __fastcall SetPixel(long X, long Y, short GrayValue);
  TOLEBOOL        __fastcall Void();
  void            __fastcall SaveFile(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  Evision_tlb::enumFileFormats __fastcall LoadFile(BSTR FileName);
  void            __fastcall Refresh();
  void            __fastcall DrawToDC(OLE_HANDLE hDC);
  void            __fastcall DrawLine(float X1, float Y1, float X2, float Y2);
  void            __fastcall DrawBox(float X1, float Y1, float X2, float Y2);
  void            __fastcall DrawCircle(float X, float Y, float Radius);
  void            __fastcall DrawArc(float X, float Y, float Radius, float Start, float End);
  void            __fastcall DrawText(long X, long Y, BSTR TextOut);
  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName);
  void            __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  void            __fastcall AboutBox();

  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ImageOrgX = {read = get_ImageOrgX, write = set_ImageOrgX};
  __property   long            ImageOrgY = {read = get_ImageOrgY, write = set_ImageOrgY};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            BitsPerPixel = {read = get_BitsPerPixel, write = set_BitsPerPixel};
  __property   long            PlanesPerPixel = {read = get_PlanesPerPixel, write = set_PlanesPerPixel};
  __property   Evision_tlb::enumDataTypes DataType = {read = get_DataType, write = set_DataType};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           HorizontalPixelsPerUnit = {read = get_HorizontalPixelsPerUnit, write = set_HorizontalPixelsPerUnit};
  __property   float           VerticalPixelsPerUnit = {read = get_VerticalPixelsPerUnit, write = set_VerticalPixelsPerUnit};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   float           ZoomX = {read = get_ZoomX, write = set_ZoomX};
  __property   float           ZoomY = {read = get_ZoomY, write = set_ZoomY};
  __property   float           PanX = {read = get_PanX, write = set_PanX};
  __property   float           PanY = {read = get_PanY, write = set_PanY};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        EnableContextualMenu = {read = get_EnableContextualMenu, write = set_EnableContextualMenu};
  __property   Evision_tlb::enumOverlayMode OverlayMode = {read = get_OverlayMode, write = set_OverlayMode};
  __property   TOLEBOOL        EnableScrollBars = {read = get_EnableScrollBars, write = set_EnableScrollBars};
  __property   ::OLE_COLOR     TextColor = {read = get_TextColor, write = set_TextColor};
  __property   TOLEBOOL        TextBold = {read = get_TextBold, write = set_TextBold};
  __property   TOLEBOOL        TextItalic = {read = get_TextItalic, write = set_TextItalic};
  __property   TOLEBOOL        TextStrikeout = {read = get_TextStrikeout, write = set_TextStrikeout};
  __property   TOLEBOOL        TextUnderline = {read = get_TextUnderline, write = set_TextUnderline};
  __property   ::OLE_COLOR     TextBackColor = {read = get_TextBackColor, write = set_TextBackColor};
  __property   Evision_tlb::enumTextAlignV TextAlignV = {read = get_TextAlignV, write = set_TextAlignV};
  __property   Evision_tlb::enumTextAlignH TextAlignH = {read = get_TextAlignH, write = set_TextAlignH};
  __property   TOLEBOOL        TextTransparent = {read = get_TextTransparent, write = set_TextTransparent};
  __property   IFontDispPtr    TextFont = {read = get_TextFont, write = set_TextFont};
  __property   CURRENCY        TextSize = {read = get_TextSize, write = set_TextSize};
  __property   Evision_tlb::enumCursorMode CursorMode = {read = get_CursorMode, write = set_CursorMode};
};
typedef _DEBW8ImageDispT<_DEBW8Image> _DEBW8ImageDisp;

// *********************************************************************//
// DispIntf:  _DEBW8ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E09-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW8ImageEventsDispT : public TAutoDriver<_DEBW8ImageEvents>
{
public:
  _DEBW8ImageEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }

  void            __fastcall Refreshed();
  void            __fastcall MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, 
                                       OLE_YPOS_PIXELS Y);
  void            __fastcall MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            __fastcall MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, 
                                       OLE_YPOS_PIXELS Y);
  void            __fastcall KeyPress(short* KeyAscii);
  void            __fastcall KeyDown(short* KeyCode, short Shift);

};
typedef _DEBW8ImageEventsDispT<_DEBW8ImageEvents> _DEBW8ImageEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW16Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E0C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW16ImageDispT : public TAutoDriver<_DEBW16Image>
{
public:
  _DEBW16ImageDispT(){}

  _DEBW16ImageDispT(_DEBW16Image *pintf)
  {
    TAutoDriver<_DEBW16Image>::Bind(pintf, false);
  }

  _DEBW16ImageDispT(_DEBW16ImagePtr pintf)
  {
    TAutoDriver<_DEBW16Image>::Bind(pintf, true);
  }

  _DEBW16ImageDispT& operator=(_DEBW16Image *pintf)
  {
    TAutoDriver<_DEBW16Image>::Bind(pintf, false);
    return *this;
  }

  _DEBW16ImageDispT& operator=(_DEBW16ImagePtr pintf)
  {
    TAutoDriver<_DEBW16Image>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW16Image));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW16Image);
  }

  void            __fastcall set_Title(BSTR Value);
  BSTR            __fastcall get_Title();
  void            __fastcall set_ImageOrgX(long Value);
  long            __fastcall get_ImageOrgX();
  void            __fastcall set_ImageOrgY(long Value);
  long            __fastcall get_ImageOrgY();
  void            __fastcall set_ImageWidth(long Value);
  long            __fastcall get_ImageWidth();
  void            __fastcall set_ImageHeight(long Value);
  long            __fastcall get_ImageHeight();
  void            __fastcall set_BitsPerPixel(long Value);
  long            __fastcall get_BitsPerPixel();
  void            __fastcall set_PlanesPerPixel(long Value);
  long            __fastcall get_PlanesPerPixel();
  void            __fastcall set_DataType(Evision_tlb::enumDataTypes Value);
  Evision_tlb::enumDataTypes __fastcall get_DataType();
  void            __fastcall set_TotalOrgX(long Value);
  long            __fastcall get_TotalOrgX();
  void            __fastcall set_TotalOrgY(long Value);
  long            __fastcall get_TotalOrgY();
  void            __fastcall set_TotalWidth(long Value);
  long            __fastcall get_TotalWidth();
  void            __fastcall set_TotalHeight(long Value);
  long            __fastcall get_TotalHeight();
  void            __fastcall set_PixelWidth(float Value);
  float           __fastcall get_PixelWidth();
  void            __fastcall set_PixelHeight(float Value);
  float           __fastcall get_PixelHeight();
  void            __fastcall set_PixelUnit(Evision_tlb::enumUnits Value);
  Evision_tlb::enumUnits __fastcall get_PixelUnit();
  void            __fastcall set_HorizontalPixelsPerUnit(float Value);
  float           __fastcall get_HorizontalPixelsPerUnit();
  void            __fastcall set_VerticalPixelsPerUnit(float Value);
  float           __fastcall get_VerticalPixelsPerUnit();
  void            __fastcall set_ColorSystem(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystem();
  void            __fastcall set_RowPitch(long Value);
  long            __fastcall get_RowPitch();
  void            __fastcall set_ColPitch(long Value);
  long            __fastcall get_ColPitch();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_EnableContextualMenu(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_EnableContextualMenu();
  void            __fastcall set_OverlayMode(short Value);
  short           __fastcall get_OverlayMode();
  void            __fastcall set_EnableScrollBars(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_EnableScrollBars();
  void            __fastcall set_TextColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_TextColor();
  void            __fastcall set_TextBold(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextBold();
  void            __fastcall set_TextItalic(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextItalic();
  void            __fastcall set_TextStrikeout(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextStrikeout();
  void            __fastcall set_TextUnderline(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextUnderline();
  void            __fastcall set_TextBackColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_TextBackColor();
  void            __fastcall set_TextAlignV(short Value);
  short           __fastcall get_TextAlignV();
  void            __fastcall set_TextAlignH(short Value);
  short           __fastcall get_TextAlignH();
  void            __fastcall set_TextTransparent(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextTransparent();
  void            __fastcall set_TextFont(IFontDispPtr Value);
  IFontDispPtr    __fastcall get_TextFont();
  void            __fastcall set_TextSize(CURRENCY Value);
  CURRENCY        __fastcall get_TextSize();
  void            __fastcall set_ZoomX(float Value);
  float           __fastcall get_ZoomX();
  void            __fastcall set_ZoomY(float Value);
  float           __fastcall get_ZoomY();
  void            __fastcall set_PanX(float Value);
  float           __fastcall get_PanX();
  void            __fastcall set_PanY(float Value);
  float           __fastcall get_PanY();
  void            __fastcall set_CursorMode(Evision_tlb::enumCursorMode Value);
  Evision_tlb::enumCursorMode __fastcall get_CursorMode();
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall SetSize(long Width, long Height);
  long            __fastcall GetImagePointer(long OriginX, long OriginY);
  void            __fastcall SetImagePointer(long NewValue);
  void            __fastcall GetPixel(long X, long Y, short* Value);
  void            __fastcall SetPixel(long X, long Y, short Value);
  TOLEBOOL        __fastcall Void();
  void            __fastcall DrawText(long X, long Y, BSTR TextOut);
  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName);
  void            __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  void            __fastcall AboutBox();

  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ImageOrgX = {read = get_ImageOrgX, write = set_ImageOrgX};
  __property   long            ImageOrgY = {read = get_ImageOrgY, write = set_ImageOrgY};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            BitsPerPixel = {read = get_BitsPerPixel, write = set_BitsPerPixel};
  __property   long            PlanesPerPixel = {read = get_PlanesPerPixel, write = set_PlanesPerPixel};
  __property   Evision_tlb::enumDataTypes DataType = {read = get_DataType, write = set_DataType};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           HorizontalPixelsPerUnit = {read = get_HorizontalPixelsPerUnit, write = set_HorizontalPixelsPerUnit};
  __property   float           VerticalPixelsPerUnit = {read = get_VerticalPixelsPerUnit, write = set_VerticalPixelsPerUnit};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        EnableContextualMenu = {read = get_EnableContextualMenu, write = set_EnableContextualMenu};
  __property   short           OverlayMode = {read = get_OverlayMode, write = set_OverlayMode};
  __property   TOLEBOOL        EnableScrollBars = {read = get_EnableScrollBars, write = set_EnableScrollBars};
  __property   ::OLE_COLOR     TextColor = {read = get_TextColor, write = set_TextColor};
  __property   TOLEBOOL        TextBold = {read = get_TextBold, write = set_TextBold};
  __property   TOLEBOOL        TextItalic = {read = get_TextItalic, write = set_TextItalic};
  __property   TOLEBOOL        TextStrikeout = {read = get_TextStrikeout, write = set_TextStrikeout};
  __property   TOLEBOOL        TextUnderline = {read = get_TextUnderline, write = set_TextUnderline};
  __property   ::OLE_COLOR     TextBackColor = {read = get_TextBackColor, write = set_TextBackColor};
  __property   short           TextAlignV = {read = get_TextAlignV, write = set_TextAlignV};
  __property   short           TextAlignH = {read = get_TextAlignH, write = set_TextAlignH};
  __property   TOLEBOOL        TextTransparent = {read = get_TextTransparent, write = set_TextTransparent};
  __property   IFontDispPtr    TextFont = {read = get_TextFont, write = set_TextFont};
  __property   CURRENCY        TextSize = {read = get_TextSize, write = set_TextSize};
  __property   float           ZoomX = {read = get_ZoomX, write = set_ZoomX};
  __property   float           ZoomY = {read = get_ZoomY, write = set_ZoomY};
  __property   float           PanX = {read = get_PanX, write = set_PanX};
  __property   float           PanY = {read = get_PanY, write = set_PanY};
  __property   Evision_tlb::enumCursorMode CursorMode = {read = get_CursorMode, write = set_CursorMode};
};
typedef _DEBW16ImageDispT<_DEBW16Image> _DEBW16ImageDisp;

// *********************************************************************//
// DispIntf:  _DEBW16ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E0D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW16ImageEventsDispT : public TAutoDriver<_DEBW16ImageEvents>
{
public:
  _DEBW16ImageEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }

  void            __fastcall Refreshed();
  void            __fastcall KeyPress(short* KeyAscii);

};
typedef _DEBW16ImageEventsDispT<_DEBW16ImageEvents> _DEBW16ImageEventsDisp;

// *********************************************************************//
// DispIntf:  _DEC24Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E14-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEC24ImageDispT : public TAutoDriver<_DEC24Image>
{
public:
  _DEC24ImageDispT(){}

  _DEC24ImageDispT(_DEC24Image *pintf)
  {
    TAutoDriver<_DEC24Image>::Bind(pintf, false);
  }

  _DEC24ImageDispT(_DEC24ImagePtr pintf)
  {
    TAutoDriver<_DEC24Image>::Bind(pintf, true);
  }

  _DEC24ImageDispT& operator=(_DEC24Image *pintf)
  {
    TAutoDriver<_DEC24Image>::Bind(pintf, false);
    return *this;
  }

  _DEC24ImageDispT& operator=(_DEC24ImagePtr pintf)
  {
    TAutoDriver<_DEC24Image>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EC24Image));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EC24Image);
  }

  void            __fastcall set_Title(BSTR Value);
  BSTR            __fastcall get_Title();
  void            __fastcall set_ImageOrgX(long Value);
  long            __fastcall get_ImageOrgX();
  void            __fastcall set_ImageOrgY(long Value);
  long            __fastcall get_ImageOrgY();
  void            __fastcall set_ImageWidth(long Value);
  long            __fastcall get_ImageWidth();
  void            __fastcall set_ImageHeight(long Value);
  long            __fastcall get_ImageHeight();
  void            __fastcall set_BitsPerPixel(long Value);
  long            __fastcall get_BitsPerPixel();
  void            __fastcall set_PlanesPerPixel(long Value);
  long            __fastcall get_PlanesPerPixel();
  void            __fastcall set_DataType(Evision_tlb::enumDataTypes Value);
  Evision_tlb::enumDataTypes __fastcall get_DataType();
  void            __fastcall set_TotalOrgX(long Value);
  long            __fastcall get_TotalOrgX();
  void            __fastcall set_TotalOrgY(long Value);
  long            __fastcall get_TotalOrgY();
  void            __fastcall set_TotalWidth(long Value);
  long            __fastcall get_TotalWidth();
  void            __fastcall set_TotalHeight(long Value);
  long            __fastcall get_TotalHeight();
  void            __fastcall set_PixelWidth(float Value);
  float           __fastcall get_PixelWidth();
  void            __fastcall set_PixelHeight(float Value);
  float           __fastcall get_PixelHeight();
  void            __fastcall set_PixelUnit(Evision_tlb::enumUnits Value);
  Evision_tlb::enumUnits __fastcall get_PixelUnit();
  void            __fastcall set_HorizontalPixelsPerUnit(float Value);
  float           __fastcall get_HorizontalPixelsPerUnit();
  void            __fastcall set_VerticalPixelsPerUnit(float Value);
  float           __fastcall get_VerticalPixelsPerUnit();
  void            __fastcall set_ColorSystem(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystem();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_ZoomX(float Value);
  float           __fastcall get_ZoomX();
  void            __fastcall set_ZoomY(float Value);
  float           __fastcall get_ZoomY();
  void            __fastcall set_OriginX(float Value);
  float           __fastcall get_OriginX();
  void            __fastcall set_OriginY(float Value);
  float           __fastcall get_OriginY();
  void            __fastcall set_hWnd(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hWnd();
  void            __fastcall set_hDC(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hDC();
  void            __fastcall set_RowPitch(long Value);
  long            __fastcall get_RowPitch();
  void            __fastcall set_ColPitch(long Value);
  long            __fastcall get_ColPitch();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_EnableContextualMenu(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_EnableContextualMenu();
  void            __fastcall set_OverlayMode(short Value);
  short           __fastcall get_OverlayMode();
  void            __fastcall set_EnableScrollBars(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_EnableScrollBars();
  void            __fastcall set_TextColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_TextColor();
  void            __fastcall set_TextBold(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextBold();
  void            __fastcall set_TextItalic(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextItalic();
  void            __fastcall set_TextStrikeout(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextStrikeout();
  void            __fastcall set_TextUnderline(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextUnderline();
  void            __fastcall set_TextBackColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_TextBackColor();
  void            __fastcall set_TextAlignV(short Value);
  short           __fastcall get_TextAlignV();
  void            __fastcall set_TextAlignH(short Value);
  short           __fastcall get_TextAlignH();
  void            __fastcall set_TextTransparent(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_TextTransparent();
  void            __fastcall set_TextFont(IFontDispPtr Value);
  IFontDispPtr    __fastcall get_TextFont();
  void            __fastcall set_TextSize(CURRENCY Value);
  CURRENCY        __fastcall get_TextSize();
  void            __fastcall set_CursorMode(Evision_tlb::enumCursorMode Value);
  Evision_tlb::enumCursorMode __fastcall get_CursorMode();
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall SetSize(long Width, long Height);
  long            __fastcall GetImagePointer(long OriginX, long OriginY);
  void            __fastcall SetImagePointer(long NewValue);
  void            __fastcall GetPixel(long X, long Y, short* RedValue, short* GreenValue, 
                                      short* BlueValue);
  void            __fastcall SetPixel(long X, long Y, short RedValue, short GreenValue, 
                                      short BlueValue);
  TOLEBOOL        __fastcall Void();
  void            __fastcall SaveFile(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  Evision_tlb::enumFileFormats __fastcall LoadFile(BSTR FileName);
  void            __fastcall DrawToDC(OLE_HANDLE hDC);
  void            __fastcall DrawLine(float X1, float Y1, float X2, float Y2);
  void            __fastcall DrawBox(float X1, float Y1, float X2, float Y2);
  void            __fastcall DrawCircle(float X, float Y, float Radius);
  void            __fastcall DrawArc(float X, float Y, float Radius, float Start, float End);
  void            __fastcall Refresh();
  void            __fastcall DrawText(long X, long Y, BSTR TextOut);
  void            __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName);
  void            __fastcall AboutBox();

  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ImageOrgX = {read = get_ImageOrgX, write = set_ImageOrgX};
  __property   long            ImageOrgY = {read = get_ImageOrgY, write = set_ImageOrgY};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            BitsPerPixel = {read = get_BitsPerPixel, write = set_BitsPerPixel};
  __property   long            PlanesPerPixel = {read = get_PlanesPerPixel, write = set_PlanesPerPixel};
  __property   Evision_tlb::enumDataTypes DataType = {read = get_DataType, write = set_DataType};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           HorizontalPixelsPerUnit = {read = get_HorizontalPixelsPerUnit, write = set_HorizontalPixelsPerUnit};
  __property   float           VerticalPixelsPerUnit = {read = get_VerticalPixelsPerUnit, write = set_VerticalPixelsPerUnit};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   float           ZoomX = {read = get_ZoomX, write = set_ZoomX};
  __property   float           ZoomY = {read = get_ZoomY, write = set_ZoomY};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        EnableContextualMenu = {read = get_EnableContextualMenu, write = set_EnableContextualMenu};
  __property   short           OverlayMode = {read = get_OverlayMode, write = set_OverlayMode};
  __property   TOLEBOOL        EnableScrollBars = {read = get_EnableScrollBars, write = set_EnableScrollBars};
  __property   ::OLE_COLOR     TextColor = {read = get_TextColor, write = set_TextColor};
  __property   TOLEBOOL        TextBold = {read = get_TextBold, write = set_TextBold};
  __property   TOLEBOOL        TextItalic = {read = get_TextItalic, write = set_TextItalic};
  __property   TOLEBOOL        TextStrikeout = {read = get_TextStrikeout, write = set_TextStrikeout};
  __property   TOLEBOOL        TextUnderline = {read = get_TextUnderline, write = set_TextUnderline};
  __property   ::OLE_COLOR     TextBackColor = {read = get_TextBackColor, write = set_TextBackColor};
  __property   short           TextAlignV = {read = get_TextAlignV, write = set_TextAlignV};
  __property   short           TextAlignH = {read = get_TextAlignH, write = set_TextAlignH};
  __property   TOLEBOOL        TextTransparent = {read = get_TextTransparent, write = set_TextTransparent};
  __property   IFontDispPtr    TextFont = {read = get_TextFont, write = set_TextFont};
  __property   CURRENCY        TextSize = {read = get_TextSize, write = set_TextSize};
  __property   Evision_tlb::enumCursorMode CursorMode = {read = get_CursorMode, write = set_CursorMode};
};
typedef _DEC24ImageDispT<_DEC24Image> _DEC24ImageDisp;

// *********************************************************************//
// DispIntf:  _DEC24ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E15-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEC24ImageEventsDispT : public TAutoDriver<_DEC24ImageEvents>
{
public:
  _DEC24ImageEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }

  void            __fastcall Refreshed();
  void            __fastcall MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, 
                                       OLE_YPOS_PIXELS Y);
  void            __fastcall MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, 
                                       OLE_YPOS_PIXELS Y);
  void            __fastcall MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            __fastcall KeyPress(short* KeyAscii);
  void            __fastcall KeyDown(short* KeyCode, short Shift);

};
typedef _DEC24ImageEventsDispT<_DEC24ImageEvents> _DEC24ImageEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW8ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E24-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW8ROIDispT : public TAutoDriver<_DEBW8ROI>
{
public:
  _DEBW8ROIDispT(){}

  _DEBW8ROIDispT(_DEBW8ROI *pintf)
  {
    TAutoDriver<_DEBW8ROI>::Bind(pintf, false);
  }

  _DEBW8ROIDispT(_DEBW8ROIPtr pintf)
  {
    TAutoDriver<_DEBW8ROI>::Bind(pintf, true);
  }

  _DEBW8ROIDispT& operator=(_DEBW8ROI *pintf)
  {
    TAutoDriver<_DEBW8ROI>::Bind(pintf, false);
    return *this;
  }

  _DEBW8ROIDispT& operator=(_DEBW8ROIPtr pintf)
  {
    TAutoDriver<_DEBW8ROI>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW8ROI));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW8ROI);
  }

  void            __fastcall set_Title(BSTR Value);
  BSTR            __fastcall get_Title();
  void            __fastcall set_ROIOrgX(long Value);
  long            __fastcall get_ROIOrgX();
  void            __fastcall set_ROIWidth(long Value);
  long            __fastcall get_ROIWidth();
  void            __fastcall set_ROIHeight(long Value);
  long            __fastcall get_ROIHeight();
  void            __fastcall set_ROIOrgY(long Value);
  long            __fastcall get_ROIOrgY();
  void            __fastcall set_TotalOrgX(long Value);
  long            __fastcall get_TotalOrgX();
  void            __fastcall set_TotalOrgY(long Value);
  long            __fastcall get_TotalOrgY();
  void            __fastcall set_ParentImage(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_ParentImage();
  void            __fastcall set_TotalWidth(long Value);
  long            __fastcall get_TotalWidth();
  void            __fastcall set_TotalHeight(long Value);
  long            __fastcall get_TotalHeight();
  void            __fastcall set_ColorSystem(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystem();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_RowPitch(long Value);
  long            __fastcall get_RowPitch();
  void            __fastcall set_ColPitch(long Value);
  long            __fastcall get_ColPitch();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall Detach();
  void            __fastcall SetSize(long Width, long Height);
  void            __fastcall SetPlacement(long OriginX, long OriginY, long Width, long Height);
  long            __fastcall GetImagePointer(long OriginX, long OriginY);
  void            __fastcall GetPixel(long X, long Y, short* GrayValue);
  void            __fastcall SetPixel(long X, long Y, short GrayValue);
  TOLEBOOL        __fastcall Void();
  void            __fastcall DrawFrame(Evision_tlb::enumFramePosition FramePosition, 
                                       TOLEBOOL DrawHandles);
  void            __fastcall DrawToDC();
  Evision_tlb::enumHandleNames __fastcall HitTest(long X, long Y);
  void            __fastcall Drag(Evision_tlb::enumHandleNames Handle, long X, long Y);
  short           __fastcall Load(BSTR FileName);
  void            __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  void            __fastcall AboutBox();

  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ROIOrgX = {read = get_ROIOrgX, write = set_ROIOrgX};
  __property   long            ROIWidth = {read = get_ROIWidth, write = set_ROIWidth};
  __property   long            ROIHeight = {read = get_ROIHeight, write = set_ROIHeight};
  __property   long            ROIOrgY = {read = get_ROIOrgY, write = set_ROIOrgY};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   LPDISPATCH      ParentImage = {read = get_ParentImage, write = set_ParentImage};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEBW8ROIDispT<_DEBW8ROI> _DEBW8ROIDisp;

// *********************************************************************//
// DispIntf:  _DEBW8ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E25-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW8ROIEventsDispT : public TAutoDriver<_DEBW8ROIEvents>
{
public:
  _DEBW8ROIEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }

  void            __fastcall Refreshed();

};
typedef _DEBW8ROIEventsDispT<_DEBW8ROIEvents> _DEBW8ROIEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW16ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E28-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW16ROIDispT : public TAutoDriver<_DEBW16ROI>
{
public:
  _DEBW16ROIDispT(){}

  _DEBW16ROIDispT(_DEBW16ROI *pintf)
  {
    TAutoDriver<_DEBW16ROI>::Bind(pintf, false);
  }

  _DEBW16ROIDispT(_DEBW16ROIPtr pintf)
  {
    TAutoDriver<_DEBW16ROI>::Bind(pintf, true);
  }

  _DEBW16ROIDispT& operator=(_DEBW16ROI *pintf)
  {
    TAutoDriver<_DEBW16ROI>::Bind(pintf, false);
    return *this;
  }

  _DEBW16ROIDispT& operator=(_DEBW16ROIPtr pintf)
  {
    TAutoDriver<_DEBW16ROI>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW16ROI));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW16ROI);
  }

  void            __fastcall set_Title(BSTR Value);
  BSTR            __fastcall get_Title();
  void            __fastcall set_ROIOrgX(long Value);
  long            __fastcall get_ROIOrgX();
  void            __fastcall set_ROIWidth(long Value);
  long            __fastcall get_ROIWidth();
  void            __fastcall set_ROIHeight(long Value);
  long            __fastcall get_ROIHeight();
  void            __fastcall set_ROIOrgY(long Value);
  long            __fastcall get_ROIOrgY();
  void            __fastcall set_TotalOrgX(long Value);
  long            __fastcall get_TotalOrgX();
  void            __fastcall set_TotalOrgY(long Value);
  long            __fastcall get_TotalOrgY();
  void            __fastcall set_ParentImage(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_ParentImage();
  void            __fastcall set_TotalWidth(long Value);
  long            __fastcall get_TotalWidth();
  void            __fastcall set_TotalHeight(long Value);
  long            __fastcall get_TotalHeight();
  void            __fastcall set_ColorSystem(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystem();
  void            __fastcall set_RowPitch(long Value);
  long            __fastcall get_RowPitch();
  void            __fastcall set_ColPitch(long Value);
  long            __fastcall get_ColPitch();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall Detach();
  void            __fastcall SetSize(long Width, long Height);
  void            __fastcall SetPlacement(long OriginX, long OriginY, long Width, long Height);
  long            __fastcall GetImagePointer(long OriginX, long OriginY);
  void            __fastcall GetPixel(long X, long Y, short* Value);
  void            __fastcall SetPixel(long X, long Y, short Value);
  TOLEBOOL        __fastcall Void();
  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName);
  void            __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  void            __fastcall AboutBox();

  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ROIOrgX = {read = get_ROIOrgX, write = set_ROIOrgX};
  __property   long            ROIWidth = {read = get_ROIWidth, write = set_ROIWidth};
  __property   long            ROIHeight = {read = get_ROIHeight, write = set_ROIHeight};
  __property   long            ROIOrgY = {read = get_ROIOrgY, write = set_ROIOrgY};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   LPDISPATCH      ParentImage = {read = get_ParentImage, write = set_ParentImage};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEBW16ROIDispT<_DEBW16ROI> _DEBW16ROIDisp;

// *********************************************************************//
// DispIntf:  _DEBW16ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E29-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW16ROIEventsDispT : public TAutoDriver<_DEBW16ROIEvents>
{
public:
  _DEBW16ROIEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEBW16ROIEventsDispT<_DEBW16ROIEvents> _DEBW16ROIEventsDisp;

// *********************************************************************//
// DispIntf:  _DEC24ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E30-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEC24ROIDispT : public TAutoDriver<_DEC24ROI>
{
public:
  _DEC24ROIDispT(){}

  _DEC24ROIDispT(_DEC24ROI *pintf)
  {
    TAutoDriver<_DEC24ROI>::Bind(pintf, false);
  }

  _DEC24ROIDispT(_DEC24ROIPtr pintf)
  {
    TAutoDriver<_DEC24ROI>::Bind(pintf, true);
  }

  _DEC24ROIDispT& operator=(_DEC24ROI *pintf)
  {
    TAutoDriver<_DEC24ROI>::Bind(pintf, false);
    return *this;
  }

  _DEC24ROIDispT& operator=(_DEC24ROIPtr pintf)
  {
    TAutoDriver<_DEC24ROI>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EC24ROI));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EC24ROI);
  }

  void            __fastcall set_Title(BSTR Value);
  BSTR            __fastcall get_Title();
  void            __fastcall set_ROIOrgX(long Value);
  long            __fastcall get_ROIOrgX();
  void            __fastcall set_ROIOrgY(long Value);
  long            __fastcall get_ROIOrgY();
  void            __fastcall set_ROIWidth(long Value);
  long            __fastcall get_ROIWidth();
  void            __fastcall set_ROIHeight(long Value);
  long            __fastcall get_ROIHeight();
  void            __fastcall set_TotalOrgX(long Value);
  long            __fastcall get_TotalOrgX();
  void            __fastcall set_TotalOrgY(long Value);
  long            __fastcall get_TotalOrgY();
  void            __fastcall set_TotalWidth(long Value);
  long            __fastcall get_TotalWidth();
  void            __fastcall set_TotalHeight(long Value);
  long            __fastcall get_TotalHeight();
  void            __fastcall set_ParentImage(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_ParentImage();
  void            __fastcall set_ColorSystem(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystem();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_RowPitch(long Value);
  long            __fastcall get_RowPitch();
  void            __fastcall set_ColPitch(long Value);
  long            __fastcall get_ColPitch();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall Detach();
  void            __fastcall SetSize(long Width, long Height);
  void            __fastcall SetPlacement(long OriginX, long OriginY, long Width, long Height);
  long            __fastcall GetImagePointer(long OriginX, long OriginY);
  void            __fastcall GetPixel(long X, long Y, short* RedValue, short* GreenValue, 
                                      short* BlueValue);
  void            __fastcall SetPixel(long X, long Y, short RedValue, short GreenValue, 
                                      short BlueValue);
  TOLEBOOL        __fastcall Void();
  void            __fastcall DrawFrame(Evision_tlb::enumFramePosition FramePosition, 
                                       TOLEBOOL DrawHandles);
  void            __fastcall DrawToDC();
  Evision_tlb::enumHandleNames __fastcall HitTest(long X, long Y);
  void            __fastcall Drag(Evision_tlb::enumHandleNames Handle, long X, long Y);
  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName);
  void            __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  void            __fastcall AboutBox();

  __property   BSTR            Title = {read = get_Title, write = set_Title};
  __property   long            ROIOrgX = {read = get_ROIOrgX, write = set_ROIOrgX};
  __property   long            ROIOrgY = {read = get_ROIOrgY, write = set_ROIOrgY};
  __property   long            ROIWidth = {read = get_ROIWidth, write = set_ROIWidth};
  __property   long            ROIHeight = {read = get_ROIHeight, write = set_ROIHeight};
  __property   long            TotalOrgX = {read = get_TotalOrgX, write = set_TotalOrgX};
  __property   long            TotalOrgY = {read = get_TotalOrgY, write = set_TotalOrgY};
  __property   long            TotalWidth = {read = get_TotalWidth, write = set_TotalWidth};
  __property   long            TotalHeight = {read = get_TotalHeight, write = set_TotalHeight};
  __property   LPDISPATCH      ParentImage = {read = get_ParentImage, write = set_ParentImage};
  __property   Evision_tlb::enumColorSystems ColorSystem = {read = get_ColorSystem, write = set_ColorSystem};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   long            RowPitch = {read = get_RowPitch, write = set_RowPitch};
  __property   long            ColPitch = {read = get_ColPitch, write = set_ColPitch};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEC24ROIDispT<_DEC24ROI> _DEC24ROIDisp;

// *********************************************************************//
// DispIntf:  _DEC24ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E31-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEC24ROIEventsDispT : public TAutoDriver<_DEC24ROIEvents>
{
public:
  _DEC24ROIEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }

  void            __fastcall Refreshed();

};
typedef _DEC24ROIEventsDispT<_DEC24ROIEvents> _DEC24ROIEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW8Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E40-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW8VectorDispT : public TAutoDriver<_DEBW8Vector>
{
public:
  _DEBW8VectorDispT(){}

  _DEBW8VectorDispT(_DEBW8Vector *pintf)
  {
    TAutoDriver<_DEBW8Vector>::Bind(pintf, false);
  }

  _DEBW8VectorDispT(_DEBW8VectorPtr pintf)
  {
    TAutoDriver<_DEBW8Vector>::Bind(pintf, true);
  }

  _DEBW8VectorDispT& operator=(_DEBW8Vector *pintf)
  {
    TAutoDriver<_DEBW8Vector>::Bind(pintf, false);
    return *this;
  }

  _DEBW8VectorDispT& operator=(_DEBW8VectorPtr pintf)
  {
    TAutoDriver<_DEBW8Vector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW8Vector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW8Vector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_Font(IFontDispPtr Value);
  IFontDispPtr    __fastcall get_Font();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_OriginX(float Value);
  float           __fastcall get_OriginX();
  void            __fastcall set_OriginY(float Value);
  float           __fastcall get_OriginY();
  void            __fastcall set_hWnd(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hWnd();
  void            __fastcall set_hDC(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hDC();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(short GrayValue);
  void            __fastcall GetAt(long Index, short* GrayValue);
  void            __fastcall SetAt(long Index, short GrayValue);
  void            __fastcall Refresh();
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEBW8VectorDispT<_DEBW8Vector> _DEBW8VectorDisp;

// *********************************************************************//
// DispIntf:  _DEBW8VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E41-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW8VectorEventsDispT : public TAutoDriver<_DEBW8VectorEvents>
{
public:
  _DEBW8VectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEBW8VectorEventsDispT<_DEBW8VectorEvents> _DEBW8VectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW16Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E44-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW16VectorDispT : public TAutoDriver<_DEBW16Vector>
{
public:
  _DEBW16VectorDispT(){}

  _DEBW16VectorDispT(_DEBW16Vector *pintf)
  {
    TAutoDriver<_DEBW16Vector>::Bind(pintf, false);
  }

  _DEBW16VectorDispT(_DEBW16VectorPtr pintf)
  {
    TAutoDriver<_DEBW16Vector>::Bind(pintf, true);
  }

  _DEBW16VectorDispT& operator=(_DEBW16Vector *pintf)
  {
    TAutoDriver<_DEBW16Vector>::Bind(pintf, false);
    return *this;
  }

  _DEBW16VectorDispT& operator=(_DEBW16VectorPtr pintf)
  {
    TAutoDriver<_DEBW16Vector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW16Vector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW16Vector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_Font(IFontDispPtr Value);
  IFontDispPtr    __fastcall get_Font();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_OriginX(float Value);
  float           __fastcall get_OriginX();
  void            __fastcall set_OriginY(float Value);
  float           __fastcall get_OriginY();
  void            __fastcall set_hWnd(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hWnd();
  void            __fastcall set_hDC(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hDC();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(short GrayValue);
  void            __fastcall GetAt(long Index, short* GrayValue);
  void            __fastcall SetAt(long Index, short GrayValue);
  void            __fastcall Refresh();
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEBW16VectorDispT<_DEBW16Vector> _DEBW16VectorDisp;

// *********************************************************************//
// DispIntf:  _DEBW16VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E45-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW16VectorEventsDispT : public TAutoDriver<_DEBW16VectorEvents>
{
public:
  _DEBW16VectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEBW16VectorEventsDispT<_DEBW16VectorEvents> _DEBW16VectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW32Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E48-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW32VectorDispT : public TAutoDriver<_DEBW32Vector>
{
public:
  _DEBW32VectorDispT(){}

  _DEBW32VectorDispT(_DEBW32Vector *pintf)
  {
    TAutoDriver<_DEBW32Vector>::Bind(pintf, false);
  }

  _DEBW32VectorDispT(_DEBW32VectorPtr pintf)
  {
    TAutoDriver<_DEBW32Vector>::Bind(pintf, true);
  }

  _DEBW32VectorDispT& operator=(_DEBW32Vector *pintf)
  {
    TAutoDriver<_DEBW32Vector>::Bind(pintf, false);
    return *this;
  }

  _DEBW32VectorDispT& operator=(_DEBW32VectorPtr pintf)
  {
    TAutoDriver<_DEBW32Vector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW32Vector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW32Vector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_Font(IFontDispPtr Value);
  IFontDispPtr    __fastcall get_Font();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_OriginX(float Value);
  float           __fastcall get_OriginX();
  void            __fastcall set_OriginY(float Value);
  float           __fastcall get_OriginY();
  void            __fastcall set_hWnd(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hWnd();
  void            __fastcall set_hDC(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hDC();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(long GrayValue);
  void            __fastcall GetAt(long Index, long* GrayValue);
  void            __fastcall SetAt(long Index, long GrayValue);
  void            __fastcall Refresh();
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEBW32VectorDispT<_DEBW32Vector> _DEBW32VectorDisp;

// *********************************************************************//
// DispIntf:  _DEBW32VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E49-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW32VectorEventsDispT : public TAutoDriver<_DEBW32VectorEvents>
{
public:
  _DEBW32VectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEBW32VectorEventsDispT<_DEBW32VectorEvents> _DEBW32VectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEC24Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E4C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEC24VectorDispT : public TAutoDriver<_DEC24Vector>
{
public:
  _DEC24VectorDispT(){}

  _DEC24VectorDispT(_DEC24Vector *pintf)
  {
    TAutoDriver<_DEC24Vector>::Bind(pintf, false);
  }

  _DEC24VectorDispT(_DEC24VectorPtr pintf)
  {
    TAutoDriver<_DEC24Vector>::Bind(pintf, true);
  }

  _DEC24VectorDispT& operator=(_DEC24Vector *pintf)
  {
    TAutoDriver<_DEC24Vector>::Bind(pintf, false);
    return *this;
  }

  _DEC24VectorDispT& operator=(_DEC24VectorPtr pintf)
  {
    TAutoDriver<_DEC24Vector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EC24Vector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EC24Vector);
  }

  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_OriginX(float Value);
  float           __fastcall get_OriginX();
  void            __fastcall set_OriginY(float Value);
  float           __fastcall get_OriginY();
  void            __fastcall set_hWnd(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hWnd();
  void            __fastcall set_hDC(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hDC();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(short RedValue, short GreenValue, short BlueValue);
  void            __fastcall GetAt(long Index, short* RedValue, short* GreenValue, short* BlueValue);
  void            __fastcall SetAt(long Index, short RedValue, short GreenValue, short BlueValue);
  void            __fastcall AboutBox();
  void            __fastcall Refresh();

  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEC24VectorDispT<_DEC24Vector> _DEC24VectorDisp;

// *********************************************************************//
// DispIntf:  _DEC24VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E4D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEC24VectorEventsDispT : public TAutoDriver<_DEC24VectorEvents>
{
public:
  _DEC24VectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEC24VectorEventsDispT<_DEC24VectorEvents> _DEC24VectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEPathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E5C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEPathVectorDispT : public TAutoDriver<_DEPathVector>
{
public:
  _DEPathVectorDispT(){}

  _DEPathVectorDispT(_DEPathVector *pintf)
  {
    TAutoDriver<_DEPathVector>::Bind(pintf, false);
  }

  _DEPathVectorDispT(_DEPathVectorPtr pintf)
  {
    TAutoDriver<_DEPathVector>::Bind(pintf, true);
  }

  _DEPathVectorDispT& operator=(_DEPathVector *pintf)
  {
    TAutoDriver<_DEPathVector>::Bind(pintf, false);
    return *this;
  }

  _DEPathVectorDispT& operator=(_DEPathVectorPtr pintf)
  {
    TAutoDriver<_DEPathVector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EPathVector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EPathVector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(short X, short Y);
  void            __fastcall GetAt(long Index, short* X, short* Y);
  void            __fastcall SetAt(long Index, short X, short Y);
  void            __fastcall Draw(LPDISPATCH Image);
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEPathVectorDispT<_DEPathVector> _DEPathVectorDisp;

// *********************************************************************//
// DispIntf:  _DEPathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E5D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEPathVectorEventsDispT : public TAutoDriver<_DEPathVectorEvents>
{
public:
  _DEPathVectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEPathVectorEventsDispT<_DEPathVectorEvents> _DEPathVectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW8HistogramVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E64-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW8HistogramVectorDispT : public TAutoDriver<_DEBW8HistogramVector>
{
public:
  _DEBW8HistogramVectorDispT(){}

  _DEBW8HistogramVectorDispT(_DEBW8HistogramVector *pintf)
  {
    TAutoDriver<_DEBW8HistogramVector>::Bind(pintf, false);
  }

  _DEBW8HistogramVectorDispT(_DEBW8HistogramVectorPtr pintf)
  {
    TAutoDriver<_DEBW8HistogramVector>::Bind(pintf, true);
  }

  _DEBW8HistogramVectorDispT& operator=(_DEBW8HistogramVector *pintf)
  {
    TAutoDriver<_DEBW8HistogramVector>::Bind(pintf, false);
    return *this;
  }

  _DEBW8HistogramVectorDispT& operator=(_DEBW8HistogramVectorPtr pintf)
  {
    TAutoDriver<_DEBW8HistogramVector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW8HistogramVector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW8HistogramVector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_Font(IFontDispPtr Value);
  IFontDispPtr    __fastcall get_Font();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_OriginX(float Value);
  float           __fastcall get_OriginX();
  void            __fastcall set_OriginY(float Value);
  float           __fastcall get_OriginY();
  void            __fastcall set_hWnd(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hWnd();
  void            __fastcall set_hDC(OLE_HANDLE Value);
  OLE_HANDLE      __fastcall get_hDC();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(long Value);
  void            __fastcall GetAt(long Index, long* Value);
  void            __fastcall SetAt(long Index, long Value);
  void            __fastcall Refresh();
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   IFontDispPtr    Font = {read = get_Font, write = set_Font};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   float           OriginX = {read = get_OriginX, write = set_OriginX};
  __property   float           OriginY = {read = get_OriginY, write = set_OriginY};
  __property   OLE_HANDLE      hWnd = {read = get_hWnd, write = set_hWnd};
  __property   OLE_HANDLE      hDC = {read = get_hDC, write = set_hDC};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEBW8HistogramVectorDispT<_DEBW8HistogramVector> _DEBW8HistogramVectorDisp;

// *********************************************************************//
// DispIntf:  _DEBW8HistogramVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E65-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW8HistogramVectorEventsDispT : public TAutoDriver<_DEBW8HistogramVectorEvents>
{
public:
  _DEBW8HistogramVectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEBW8HistogramVectorEventsDispT<_DEBW8HistogramVectorEvents> _DEBW8HistogramVectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW8PathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E68-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEBW8PathVectorDispT : public TAutoDriver<_DEBW8PathVector>
{
public:
  _DEBW8PathVectorDispT(){}

  _DEBW8PathVectorDispT(_DEBW8PathVector *pintf)
  {
    TAutoDriver<_DEBW8PathVector>::Bind(pintf, false);
  }

  _DEBW8PathVectorDispT(_DEBW8PathVectorPtr pintf)
  {
    TAutoDriver<_DEBW8PathVector>::Bind(pintf, true);
  }

  _DEBW8PathVectorDispT& operator=(_DEBW8PathVector *pintf)
  {
    TAutoDriver<_DEBW8PathVector>::Bind(pintf, false);
    return *this;
  }

  _DEBW8PathVectorDispT& operator=(_DEBW8PathVectorPtr pintf)
  {
    TAutoDriver<_DEBW8PathVector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EBW8PathVector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EBW8PathVector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(short X, short Y, short Pixel);
  void            __fastcall GetAt(long Index, short* X, short* Y, short* Pixel);
  void            __fastcall SetAt(long Index, short X, short Y, short Pixel);
  void            __fastcall Draw(LPDISPATCH Image);
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEBW8PathVectorDispT<_DEBW8PathVector> _DEBW8PathVectorDisp;

// *********************************************************************//
// DispIntf:  _DEBW8PathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E69-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEBW8PathVectorEventsDispT : public TAutoDriver<_DEBW8PathVectorEvents>
{
public:
  _DEBW8PathVectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEBW8PathVectorEventsDispT<_DEBW8PathVectorEvents> _DEBW8PathVectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEC24PathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E6C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEC24PathVectorDispT : public TAutoDriver<_DEC24PathVector>
{
public:
  _DEC24PathVectorDispT(){}

  _DEC24PathVectorDispT(_DEC24PathVector *pintf)
  {
    TAutoDriver<_DEC24PathVector>::Bind(pintf, false);
  }

  _DEC24PathVectorDispT(_DEC24PathVectorPtr pintf)
  {
    TAutoDriver<_DEC24PathVector>::Bind(pintf, true);
  }

  _DEC24PathVectorDispT& operator=(_DEC24PathVector *pintf)
  {
    TAutoDriver<_DEC24PathVector>::Bind(pintf, false);
    return *this;
  }

  _DEC24PathVectorDispT& operator=(_DEC24PathVectorPtr pintf)
  {
    TAutoDriver<_DEC24PathVector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EC24PathVector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EC24PathVector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(short X, short Y, short PixelRed, short PixelGreen, 
                                        short PixelBlue);
  void            __fastcall GetAt(short Index, short* X, long* Y, short* PixelRed, 
                                   short* PixelGreen, short* PixelBlue);
  void            __fastcall SetAt(short Index, short X, long Y, short PixelRed, short PixelGreen, 
                                   short PixelBlue);
  void            __fastcall Draw(LPDISPATCH Image);
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEC24PathVectorDispT<_DEC24PathVector> _DEC24PathVectorDisp;

// *********************************************************************//
// DispIntf:  _DEC24PathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E6D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEC24PathVectorEventsDispT : public TAutoDriver<_DEC24PathVectorEvents>
{
public:
  _DEC24PathVectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEC24PathVectorEventsDispT<_DEC24PathVectorEvents> _DEC24PathVectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEPeaksVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E70-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEPeaksVectorDispT : public TAutoDriver<_DEPeaksVector>
{
public:
  _DEPeaksVectorDispT(){}

  _DEPeaksVectorDispT(_DEPeaksVector *pintf)
  {
    TAutoDriver<_DEPeaksVector>::Bind(pintf, false);
  }

  _DEPeaksVectorDispT(_DEPeaksVectorPtr pintf)
  {
    TAutoDriver<_DEPeaksVector>::Bind(pintf, true);
  }

  _DEPeaksVectorDispT& operator=(_DEPeaksVector *pintf)
  {
    TAutoDriver<_DEPeaksVector>::Bind(pintf, false);
    return *this;
  }

  _DEPeaksVectorDispT& operator=(_DEPeaksVectorPtr pintf)
  {
    TAutoDriver<_DEPeaksVector>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EPeaksVector));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EPeaksVector);
  }

  void            __fastcall set_NumElements(long Value);
  long            __fastcall get_NumElements();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall Empty();
  void            __fastcall AddElement(long Start, long Length, long Amplitude, long Area, 
                                        float Center);
  void            __fastcall GetAt(long Index, long* Start, long* Length, long* Amplitude, 
                                   long* Area, float* Center);
  void            __fastcall SetAt(long Index, long Start, long Length, long Amplitude, long Area, 
                                   float Center);
  void            __fastcall AboutBox();

  __property   long            NumElements = {read = get_NumElements, write = set_NumElements};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEPeaksVectorDispT<_DEPeaksVector> _DEPeaksVectorDisp;

// *********************************************************************//
// DispIntf:  _DEPeaksVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E71-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEPeaksVectorEventsDispT : public TAutoDriver<_DEPeaksVectorEvents>
{
public:
  _DEPeaksVectorEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEPeaksVectorEventsDispT<_DEPeaksVectorEvents> _DEPeaksVectorEventsDisp;

// *********************************************************************//
// DispIntf:  _DEKernel
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E78-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEKernelDispT : public TAutoDriver<_DEKernel>
{
public:
  _DEKernelDispT(){}

  _DEKernelDispT(_DEKernel *pintf)
  {
    TAutoDriver<_DEKernel>::Bind(pintf, false);
  }

  _DEKernelDispT(_DEKernelPtr pintf)
  {
    TAutoDriver<_DEKernel>::Bind(pintf, true);
  }

  _DEKernelDispT& operator=(_DEKernel *pintf)
  {
    TAutoDriver<_DEKernel>::Bind(pintf, false);
    return *this;
  }

  _DEKernelDispT& operator=(_DEKernelPtr pintf)
  {
    TAutoDriver<_DEKernel>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EKernel));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EKernel);
  }

  void            __fastcall set_SizeX(short Value);
  short           __fastcall get_SizeX();
  void            __fastcall set_SizeY(short Value);
  short           __fastcall get_SizeY();
  void            __fastcall set_Gain(float Value);
  float           __fastcall get_Gain();
  void            __fastcall set_Offset(long Value);
  long            __fastcall get_Offset();
  void            __fastcall set_Rectifier(Evision_tlb::enumImgKernelRectifiers Value);
  Evision_tlb::enumImgKernelRectifiers __fastcall get_Rectifier();
  void            __fastcall set_OutsideValue(long Value);
  long            __fastcall get_OutsideValue();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall GetKernelData(long X, long Y, float* Data);
  void            __fastcall SetKernelData(long X, long Y, float Data);
  void            __fastcall AboutBox();

  __property   short           SizeX = {read = get_SizeX, write = set_SizeX};
  __property   short           SizeY = {read = get_SizeY, write = set_SizeY};
  __property   float           Gain = {read = get_Gain, write = set_Gain};
  __property   long            Offset = {read = get_Offset, write = set_Offset};
  __property   Evision_tlb::enumImgKernelRectifiers Rectifier = {read = get_Rectifier, write = set_Rectifier};
  __property   long            OutsideValue = {read = get_OutsideValue, write = set_OutsideValue};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEKernelDispT<_DEKernel> _DEKernelDisp;

// *********************************************************************//
// DispIntf:  _DEKernelEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E79-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEKernelEventsDispT : public TAutoDriver<_DEKernelEvents>
{
public:
  _DEKernelEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEKernelEventsDispT<_DEKernelEvents> _DEKernelEventsDisp;

// *********************************************************************//
// DispIntf:  _DEColorLookup
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E7C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEColorLookupDispT : public TAutoDriver<_DEColorLookup>
{
public:
  _DEColorLookupDispT(){}

  _DEColorLookupDispT(_DEColorLookup *pintf)
  {
    TAutoDriver<_DEColorLookup>::Bind(pintf, false);
  }

  _DEColorLookupDispT(_DEColorLookupPtr pintf)
  {
    TAutoDriver<_DEColorLookup>::Bind(pintf, true);
  }

  _DEColorLookupDispT& operator=(_DEColorLookup *pintf)
  {
    TAutoDriver<_DEColorLookup>::Bind(pintf, false);
    return *this;
  }

  _DEColorLookupDispT& operator=(_DEColorLookupPtr pintf)
  {
    TAutoDriver<_DEColorLookup>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EColorLookup));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EColorLookup);
  }

  void            __fastcall set_Interpolation(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_Interpolation();
  void            __fastcall set_IndexBits(long Value);
  long            __fastcall get_IndexBits();
  void            __fastcall set_ColorSystemIn(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystemIn();
  void            __fastcall set_ColorSystemOut(Evision_tlb::enumColorSystems Value);
  Evision_tlb::enumColorSystems __fastcall get_ColorSystemOut();
  void            __fastcall set_RGBStandard(Evision_tlb::enumClrRGBStandards Value);
  Evision_tlb::enumClrRGBStandards __fastcall get_RGBStandard();
  void            __fastcall set_SrcQuantization(Evision_tlb::enumClrQuantization Value);
  Evision_tlb::enumClrQuantization __fastcall get_SrcQuantization();
  void            __fastcall set_DstQuantization(Evision_tlb::enumClrQuantization Value);
  Evision_tlb::enumClrQuantization __fastcall get_DstQuantization();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall AdjustGainOffset(Evision_tlb::enumColorSystems ColorSystem, float Gain0
                                              , float Offset0, float Gain1, float Offset1, 
                                              float Gain2, float Offset2);
  void            __fastcall ConvertToRGB(Evision_tlb::enumColorSystems ColorSystem);
  void            __fastcall ConvertFromRGB(Evision_tlb::enumColorSystems ColorSystem);
  void            __fastcall Calibrate1(short RedValue, short GreenValue, short BlueValue, float X, 
                                        float Y, float Z);
  void            __fastcall Calibrate3(short RedValue1, short GreenValue1, short BlueValue1, 
                                        float X1, float Y1, float Z1, short RedValue2, 
                                        short GreenValue2, short BlueValue2, float X2, float Y2, 
                                        float Z2, short RedValue3, short GreenValue3, 
                                        short BlueValue3, float X3, float Y3, float Z3);
  void            __fastcall Calibrate4(short RedValue0, short GreenValue0, short BlueValue0, 
                                        float X0, float Y0, float Z0, short RedValue1, 
                                        short GreenValue1, short BlueValue1, float X1, float Y1, 
                                        float Z1, short RedValue2, short GreenValue2, 
                                        short BlueValue2, float X2, float Y2, float Z2, 
                                        short RedValue3, short GreenValue3, short BlueValue3, 
                                        float X3, float Y3, float Z3);
  void            __fastcall SetTransform(long Transformation, 
                                          Evision_tlb::enumColorSystems ColorSystemIn, 
                                          Evision_tlb::enumColorSystems ColorSystemOut);
  void            __fastcall Transform(short SrcRedValue, short SrcGreenValue, short SrcBlueValue, 
                                       short* DstRedValue, short* DstGreenValue, short* DstBlueValue);
  void            __fastcall TransformImage(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage);
  void            __fastcall WhiteBalance(float Gain, float Gamma, float BalanceR, float BalanceG, 
                                          float BalanceB);
  void            __fastcall AboutBox();

  __property   TOLEBOOL        Interpolation = {read = get_Interpolation, write = set_Interpolation};
  __property   long            IndexBits = {read = get_IndexBits, write = set_IndexBits};
  __property   Evision_tlb::enumColorSystems ColorSystemIn = {read = get_ColorSystemIn, write = set_ColorSystemIn};
  __property   Evision_tlb::enumColorSystems ColorSystemOut = {read = get_ColorSystemOut, write = set_ColorSystemOut};
  __property   Evision_tlb::enumClrRGBStandards RGBStandard = {read = get_RGBStandard, write = set_RGBStandard};
  __property   Evision_tlb::enumClrQuantization SrcQuantization = {read = get_SrcQuantization, write = set_SrcQuantization};
  __property   Evision_tlb::enumClrQuantization DstQuantization = {read = get_DstQuantization, write = set_DstQuantization};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEColorLookupDispT<_DEColorLookup> _DEColorLookupDisp;

// *********************************************************************//
// DispIntf:  _DEColorLookupEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E7D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEColorLookupEventsDispT : public TAutoDriver<_DEColorLookupEvents>
{
public:
  _DEColorLookupEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEColorLookupEventsDispT<_DEColorLookupEvents> _DEColorLookupEventsDisp;

// *********************************************************************//
// DispIntf:  _DECodedImage
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E90-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DECodedImageDispT : public TAutoDriver<_DECodedImage>
{
public:
  _DECodedImageDispT(){}

  _DECodedImageDispT(_DECodedImage *pintf)
  {
    TAutoDriver<_DECodedImage>::Bind(pintf, false);
  }

  _DECodedImageDispT(_DECodedImagePtr pintf)
  {
    TAutoDriver<_DECodedImage>::Bind(pintf, true);
  }

  _DECodedImageDispT& operator=(_DECodedImage *pintf)
  {
    TAutoDriver<_DECodedImage>::Bind(pintf, false);
    return *this;
  }

  _DECodedImageDispT& operator=(_DECodedImagePtr pintf)
  {
    TAutoDriver<_DECodedImage>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_ECodedImage));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_ECodedImage);
  }

  void            __fastcall set_WhiteClass(short Value);
  short           __fastcall get_WhiteClass();
  void            __fastcall set_NeutralClass(short Value);
  short           __fastcall get_NeutralClass();
  void            __fastcall set_BlackClass(short Value);
  short           __fastcall get_BlackClass();
  void            __fastcall set_LowThreshold(long Value);
  long            __fastcall get_LowThreshold();
  void            __fastcall set_HighThreshold(long Value);
  long            __fastcall get_HighThreshold();
  void            __fastcall set_LowImage(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_LowImage();
  void            __fastcall set_HighImage(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_HighImage();
  void            __fastcall set_NumberOfRuns(long Value);
  long            __fastcall get_NumberOfRuns();
  void            __fastcall set_NumberOfObjects(long Value);
  long            __fastcall get_NumberOfObjects();
  void            __fastcall set_NumberOfSelectedObjects(long Value);
  long            __fastcall get_NumberOfSelectedObjects();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_Connexity(Evision_tlb::enumObjObjectConnexity Value);
  Evision_tlb::enumObjObjectConnexity __fastcall get_Connexity();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_Threshold(short Value);
  short           __fastcall get_Threshold();
  void            __fastcall set_LimitAngle(float Value);
  float           __fastcall get_LimitAngle();
  void            __fastcall SetLowColorThreshold(short Red, short Green, short Blue);
  void            __fastcall GetLowColorThreshold(short* Red, short* Green, short* Blue);
  void            __fastcall SetHighColorThreshold(short Red, short Green, short Blue);
  void            __fastcall GetHighColorThreshold(short* Red, short* Green, short* Blue);
  void            __fastcall GoToFirstRun();
  void            __fastcall GoToLastRun();
  void            __fastcall GoToNextRun();
  void            __fastcall GoToPreviousRun();
  void            __fastcall GetRunData(long* OriginX, long* OriginY, long* Length, long* Class, 
                                        long* RunIndex, long* ObjectIndex);
  void            __fastcall RemoveAllRuns();
  void            __fastcall GoToFirstObject();
  void            __fastcall GoToLastObject();
  void            __fastcall GoToNextObject();
  void            __fastcall GoToPreviousObject();
  void            __fastcall GoToObjectByIndex(long ObjectIndex);
  void            __fastcall GetObjectData(long* Class, long* ObjectIndex, long* NumberOfRuns, 
                                           TOLEBOOL* IsSelected);
  long            __fastcall GetObjectIndex();
  void            __fastcall SelectObject();
  void            __fastcall UnselectObject();
  TOLEBOOL        __fastcall IsObjectSelected();
  void            __fastcall SelectAllObjects();
  void            __fastcall UnselectAllObjects();
  void            __fastcall RemoveAllObjects();
  void            __fastcall GoToFirstObjectRun();
  void            __fastcall GoToLastObjectRun();
  void            __fastcall GoToNextObjectRun();
  void            __fastcall GoToPreviousObjectRun();
  long            __fastcall GetNumberOfObjectRuns();
  short           __fastcall GetObjectIntegerFeature(Evision_tlb::enumObjObjectFeatures Feature);
  long            __fastcall GetObjectLongFeature(Evision_tlb::enumObjObjectFeatures Feature);
  float           __fastcall GetObjectSingleFeature(Evision_tlb::enumObjObjectFeatures Feature);
  void            __fastcall BuildRuns(LPDISPATCH SrcImage);
  void            __fastcall BuildObjects(LPDISPATCH SrcImage);
  void            __fastcall AnalyseObjects(Evision_tlb::enumObjObjectFeatures Feature);
  void            __fastcall SelectObjectsUsingIntegerFeature(Evision_tlb::enumObjObjectFeatures Feature
                                                              , short Min, short Max, 
                                                              Evision_tlb::enumObjSelectOptions Operation);
  void            __fastcall SelectObjectsUsingLongFeature(Evision_tlb::enumObjObjectFeatures Feature
                                                           , long Min, long Max, 
                                                           Evision_tlb::enumObjSelectOptions Operation);
  void            __fastcall SelectObjectsUsingSingleFeature(Evision_tlb::enumObjObjectFeatures Feature
                                                             , float Min, float Max, 
                                                             Evision_tlb::enumObjSelectOptions Operation);
  void            __fastcall SelectObjectsUsingPosition(long OriginX, long OriginY, long Width, 
                                                        long Height, 
                                                        Evision_tlb::enumObjSelectByPosition Operation);
  void            __fastcall SortObjectsUsingFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                                     Evision_tlb::enumObjSortOptions Operation);
  void            __fastcall GetObjectRunData(long* OriginX, long* OriginY, long* Length, 
                                              long* Class, long* RunIndex, long* ObjectIndex);
  void            __fastcall DrawObject(LPDISPATCH Image);
  void            __fastcall DrawObjects(LPDISPATCH Image, 
                                         Evision_tlb::enumObjSelectionMode SelectionMode);
  void            __fastcall DrawObjectFeature(LPDISPATCH Image, 
                                               Evision_tlb::enumObjObjectFeatures Feature);
  void            __fastcall DrawObjectsFeature(LPDISPATCH Image, 
                                                Evision_tlb::enumObjObjectFeatures Feature, 
                                                Evision_tlb::enumObjSelectionMode SelectionMode);
  void            __fastcall BuildLabeledRuns(LPDISPATCH SrcImage);
  void            __fastcall BuildLabeledObjects(LPDISPATCH SrcImage);
  void            __fastcall FeatureAverage(Evision_tlb::enumObjObjectFeatures Feature, 
                                            float* Average);
  void            __fastcall FeatureVariance(Evision_tlb::enumObjObjectFeatures Feature, 
                                             float* Average, float* Variance);
  void            __fastcall FeatureMinimum(Evision_tlb::enumObjObjectFeatures Feature, 
                                            float* Minimum);
  void            __fastcall FeatureMaximum(Evision_tlb::enumObjObjectFeatures Feature, 
                                            float* Maximum);
  void            __fastcall ConvexHull(LPDISPATCH PathVector);
  void            __fastcall AboutBox();

  __property   short           WhiteClass = {read = get_WhiteClass, write = set_WhiteClass};
  __property   short           NeutralClass = {read = get_NeutralClass, write = set_NeutralClass};
  __property   short           BlackClass = {read = get_BlackClass, write = set_BlackClass};
  __property   long            LowThreshold = {read = get_LowThreshold, write = set_LowThreshold};
  __property   long            HighThreshold = {read = get_HighThreshold, write = set_HighThreshold};
  __property   LPDISPATCH      LowImage = {read = get_LowImage, write = set_LowImage};
  __property   LPDISPATCH      HighImage = {read = get_HighImage, write = set_HighImage};
  __property   long            NumberOfRuns = {read = get_NumberOfRuns, write = set_NumberOfRuns};
  __property   long            NumberOfObjects = {read = get_NumberOfObjects, write = set_NumberOfObjects};
  __property   long            NumberOfSelectedObjects = {read = get_NumberOfSelectedObjects, write = set_NumberOfSelectedObjects};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   Evision_tlb::enumObjObjectConnexity Connexity = {read = get_Connexity, write = set_Connexity};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   short           Threshold = {read = get_Threshold, write = set_Threshold};
  __property   float           LimitAngle = {read = get_LimitAngle, write = set_LimitAngle};
};
typedef _DECodedImageDispT<_DECodedImage> _DECodedImageDisp;

// *********************************************************************//
// DispIntf:  _DECodedImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E91-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DECodedImageEventsDispT : public TAutoDriver<_DECodedImageEvents>
{
public:
  _DECodedImageEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DECodedImageEventsDispT<_DECodedImageEvents> _DECodedImageEventsDisp;

// *********************************************************************//
// DispIntf:  _DEMatch
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E94-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEMatchDispT : public TAutoDriver<_DEMatch>
{
public:
  _DEMatchDispT(){}

  _DEMatchDispT(_DEMatch *pintf)
  {
    TAutoDriver<_DEMatch>::Bind(pintf, false);
  }

  _DEMatchDispT(_DEMatchPtr pintf)
  {
    TAutoDriver<_DEMatch>::Bind(pintf, true);
  }

  _DEMatchDispT& operator=(_DEMatch *pintf)
  {
    TAutoDriver<_DEMatch>::Bind(pintf, false);
    return *this;
  }

  _DEMatchDispT& operator=(_DEMatchPtr pintf)
  {
    TAutoDriver<_DEMatch>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EMatch));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EMatch);
  }

  void            __fastcall set_MinReducedArea(long Value);
  long            __fastcall get_MinReducedArea();
  void            __fastcall set_DontCareThreshold(long Value);
  long            __fastcall get_DontCareThreshold();
  void            __fastcall set_CorrelationMode(Evision_tlb::enumMchCorrelationMode Value);
  Evision_tlb::enumMchCorrelationMode __fastcall get_CorrelationMode();
  void            __fastcall set_MaxPositions(long Value);
  long            __fastcall get_MaxPositions();
  void            __fastcall set_MaxInitialPositions(long Value);
  long            __fastcall get_MaxInitialPositions();
  void            __fastcall set_MinScore(float Value);
  float           __fastcall get_MinScore();
  void            __fastcall set_MinAngle(float Value);
  float           __fastcall get_MinAngle();
  void            __fastcall set_MaxAngle(float Value);
  float           __fastcall get_MaxAngle();
  void            __fastcall set_MinScale(float Value);
  float           __fastcall get_MinScale();
  void            __fastcall set_MaxScale(float Value);
  float           __fastcall get_MaxScale();
  void            __fastcall set_MinScaleX(float Value);
  float           __fastcall get_MinScaleX();
  void            __fastcall set_MaxScaleX(float Value);
  float           __fastcall get_MaxScaleX();
  void            __fastcall set_MinScaleY(float Value);
  float           __fastcall get_MinScaleY();
  void            __fastcall set_MaxScaleY(float Value);
  float           __fastcall get_MaxScaleY();
  void            __fastcall set_Interpolate(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_Interpolate();
  void            __fastcall set_FinalReduction(long Value);
  long            __fastcall get_FinalReduction();
  void            __fastcall set_PixelWidth(float Value);
  float           __fastcall get_PixelWidth();
  void            __fastcall set_PixelHeight(float Value);
  float           __fastcall get_PixelHeight();
  void            __fastcall set_NumPositions(long Value);
  long            __fastcall get_NumPositions();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_NumReductions(long Value);
  long            __fastcall get_NumReductions();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_ContrastMode(Evision_tlb::enumMchContrastMode Value);
  Evision_tlb::enumMchContrastMode __fastcall get_ContrastMode();
  void            __fastcall LearnPattern(LPDISPATCH SrcImage);
  void            __fastcall Match(LPDISPATCH SrcImage);
  void            __fastcall GetPosition(long Index, float* CenterX, float* CenterY, float* Angle, 
                                         float* ScaleX, float* ScaleY, float* Score);
  void            __fastcall DrawPosition(LPDISPATCH Image, long Index);
  void            __fastcall DrawPositions(LPDISPATCH Image);
  void            __fastcall Load(BSTR PathName);
  void            __fastcall Save(BSTR PathName);
  void            __fastcall GetPattern(LPDISPATCH DstImg);
  void            __fastcall AboutBox();

  __property   long            MinReducedArea = {read = get_MinReducedArea, write = set_MinReducedArea};
  __property   long            DontCareThreshold = {read = get_DontCareThreshold, write = set_DontCareThreshold};
  __property   Evision_tlb::enumMchCorrelationMode CorrelationMode = {read = get_CorrelationMode, write = set_CorrelationMode};
  __property   long            MaxPositions = {read = get_MaxPositions, write = set_MaxPositions};
  __property   long            MaxInitialPositions = {read = get_MaxInitialPositions, write = set_MaxInitialPositions};
  __property   float           MinScore = {read = get_MinScore, write = set_MinScore};
  __property   float           MinAngle = {read = get_MinAngle, write = set_MinAngle};
  __property   float           MaxAngle = {read = get_MaxAngle, write = set_MaxAngle};
  __property   float           MinScale = {read = get_MinScale, write = set_MinScale};
  __property   float           MaxScale = {read = get_MaxScale, write = set_MaxScale};
  __property   float           MinScaleX = {read = get_MinScaleX, write = set_MinScaleX};
  __property   float           MaxScaleX = {read = get_MaxScaleX, write = set_MaxScaleX};
  __property   float           MinScaleY = {read = get_MinScaleY, write = set_MinScaleY};
  __property   float           MaxScaleY = {read = get_MaxScaleY, write = set_MaxScaleY};
  __property   TOLEBOOL        Interpolate = {read = get_Interpolate, write = set_Interpolate};
  __property   long            FinalReduction = {read = get_FinalReduction, write = set_FinalReduction};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   long            NumPositions = {read = get_NumPositions, write = set_NumPositions};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            NumReductions = {read = get_NumReductions, write = set_NumReductions};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   Evision_tlb::enumMchContrastMode ContrastMode = {read = get_ContrastMode, write = set_ContrastMode};
};
typedef _DEMatchDispT<_DEMatch> _DEMatchDisp;

// *********************************************************************//
// DispIntf:  _DEMatchEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E95-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEMatchEventsDispT : public TAutoDriver<_DEMatchEvents>
{
public:
  _DEMatchEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEMatchEventsDispT<_DEMatchEvents> _DEMatchEventsDisp;

// *********************************************************************//
// DispIntf:  _DEPointMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E9C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEPointMeasureDispT : public TAutoDriver<_DEPointMeasure>
{
public:
  _DEPointMeasureDispT(){}

  _DEPointMeasureDispT(_DEPointMeasure *pintf)
  {
    TAutoDriver<_DEPointMeasure>::Bind(pintf, false);
  }

  _DEPointMeasureDispT(_DEPointMeasurePtr pintf)
  {
    TAutoDriver<_DEPointMeasure>::Bind(pintf, true);
  }

  _DEPointMeasureDispT& operator=(_DEPointMeasure *pintf)
  {
    TAutoDriver<_DEPointMeasure>::Bind(pintf, false);
    return *this;
  }

  _DEPointMeasureDispT& operator=(_DEPointMeasurePtr pintf)
  {
    TAutoDriver<_DEPointMeasure>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EPointMeasure));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EPointMeasure);
  }

  void            __fastcall set_TransitionType(Evision_tlb::enumMsrTransitionType Value);
  Evision_tlb::enumMsrTransitionType __fastcall get_TransitionType();
  void            __fastcall set_ProjectionThickness(long Value);
  long            __fastcall get_ProjectionThickness();
  void            __fastcall set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing Value);
  Evision_tlb::enumMsrTransitionSmoothing __fastcall get_TransitionSmoothing();
  void            __fastcall set_DerivativeThreshold(long Value);
  long            __fastcall get_DerivativeThreshold();
  void            __fastcall set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice Value);
  Evision_tlb::enumMsrTransitionChoice __fastcall get_TransitionChoice();
  void            __fastcall set_TransitionHysteresis(long Value);
  long            __fastcall get_TransitionHysteresis();
  void            __fastcall set_TransitionMinGreyStep(long Value);
  long            __fastcall get_TransitionMinGreyStep();
  void            __fastcall set_TransitionNumber(long Value);
  long            __fastcall get_TransitionNumber();
  void            __fastcall set_MeasuredX(float Value);
  float           __fastcall get_MeasuredX();
  void            __fastcall set_MeasuredY(float Value);
  float           __fastcall get_MeasuredY();
  void            __fastcall set_InverseTransition(Evision_tlb::enumMsrInverseTransition Value);
  Evision_tlb::enumMsrInverseTransition __fastcall get_InverseTransition();
  void            __fastcall set_ToleranceVertically(Evision_tlb::enumMsrToleranceVertically Value);
  Evision_tlb::enumMsrToleranceVertically __fastcall get_ToleranceVertically();
  void            __fastcall set_PositionX(float Value);
  float           __fastcall get_PositionX();
  void            __fastcall set_PositionY(float Value);
  float           __fastcall get_PositionY();
  void            __fastcall set_HVTolerance(float Value);
  float           __fastcall get_HVTolerance();
  void            __fastcall set_Slope(float Value);
  float           __fastcall get_Slope();
  void            __fastcall set_MeasuredGrayStep(long Value);
  long            __fastcall get_MeasuredGrayStep();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_PixelWidth(float Value);
  float           __fastcall get_PixelWidth();
  void            __fastcall set_PixelHeight(float Value);
  float           __fastcall get_PixelHeight();
  void            __fastcall set_PixelUnit(Evision_tlb::enumUnits Value);
  Evision_tlb::enumUnits __fastcall get_PixelUnit();
  void            __fastcall set_Angle(float Value);
  float           __fastcall get_Angle();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall FindPointAlongLine(LPDISPATCH BW8SrcImage);
  void            __fastcall Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                                  TOLEBOOL DrawHandles);
  Evision_tlb::enumMsrHandleNames __fastcall HitTest(LPDISPATCH Image, long X, long Y);
  void            __fastcall Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, 
                                  long Y);
  void            __fastcall AboutBox();

  __property   Evision_tlb::enumMsrTransitionType TransitionType = {read = get_TransitionType, write = set_TransitionType};
  __property   long            ProjectionThickness = {read = get_ProjectionThickness, write = set_ProjectionThickness};
  __property   Evision_tlb::enumMsrTransitionSmoothing TransitionSmoothing = {read = get_TransitionSmoothing, write = set_TransitionSmoothing};
  __property   long            DerivativeThreshold = {read = get_DerivativeThreshold, write = set_DerivativeThreshold};
  __property   Evision_tlb::enumMsrTransitionChoice TransitionChoice = {read = get_TransitionChoice, write = set_TransitionChoice};
  __property   long            TransitionHysteresis = {read = get_TransitionHysteresis, write = set_TransitionHysteresis};
  __property   long            TransitionMinGreyStep = {read = get_TransitionMinGreyStep, write = set_TransitionMinGreyStep};
  __property   long            TransitionNumber = {read = get_TransitionNumber, write = set_TransitionNumber};
  __property   float           MeasuredX = {read = get_MeasuredX, write = set_MeasuredX};
  __property   float           MeasuredY = {read = get_MeasuredY, write = set_MeasuredY};
  __property   Evision_tlb::enumMsrInverseTransition InverseTransition = {read = get_InverseTransition, write = set_InverseTransition};
  __property   Evision_tlb::enumMsrToleranceVertically ToleranceVertically = {read = get_ToleranceVertically, write = set_ToleranceVertically};
  __property   float           PositionX = {read = get_PositionX, write = set_PositionX};
  __property   float           PositionY = {read = get_PositionY, write = set_PositionY};
  __property   float           HVTolerance = {read = get_HVTolerance, write = set_HVTolerance};
  __property   float           Slope = {read = get_Slope, write = set_Slope};
  __property   long            MeasuredGrayStep = {read = get_MeasuredGrayStep, write = set_MeasuredGrayStep};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           Angle = {read = get_Angle, write = set_Angle};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEPointMeasureDispT<_DEPointMeasure> _DEPointMeasureDisp;

// *********************************************************************//
// DispIntf:  _DEPointMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E9D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEPointMeasureEventsDispT : public TAutoDriver<_DEPointMeasureEvents>
{
public:
  _DEPointMeasureEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEPointMeasureEventsDispT<_DEPointMeasureEvents> _DEPointMeasureEventsDisp;

// *********************************************************************//
// DispIntf:  _DELineMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DELineMeasureDispT : public TAutoDriver<_DELineMeasure>
{
public:
  _DELineMeasureDispT(){}

  _DELineMeasureDispT(_DELineMeasure *pintf)
  {
    TAutoDriver<_DELineMeasure>::Bind(pintf, false);
  }

  _DELineMeasureDispT(_DELineMeasurePtr pintf)
  {
    TAutoDriver<_DELineMeasure>::Bind(pintf, true);
  }

  _DELineMeasureDispT& operator=(_DELineMeasure *pintf)
  {
    TAutoDriver<_DELineMeasure>::Bind(pintf, false);
    return *this;
  }

  _DELineMeasureDispT& operator=(_DELineMeasurePtr pintf)
  {
    TAutoDriver<_DELineMeasure>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_ELineMeasure));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_ELineMeasure);
  }

  void            __fastcall set_TransitionType(Evision_tlb::enumMsrTransitionType Value);
  Evision_tlb::enumMsrTransitionType __fastcall get_TransitionType();
  void            __fastcall set_ProjectionThickness(long Value);
  long            __fastcall get_ProjectionThickness();
  void            __fastcall set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing Value);
  Evision_tlb::enumMsrTransitionSmoothing __fastcall get_TransitionSmoothing();
  void            __fastcall set_DerivativeThreshold(long Value);
  long            __fastcall get_DerivativeThreshold();
  void            __fastcall set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice Value);
  Evision_tlb::enumMsrTransitionChoice __fastcall get_TransitionChoice();
  void            __fastcall set_TransitionHysteresis(long Value);
  long            __fastcall get_TransitionHysteresis();
  void            __fastcall set_TransitionMinGreyStep(long Value);
  long            __fastcall get_TransitionMinGreyStep();
  void            __fastcall set_TransitionNumber(long Value);
  long            __fastcall get_TransitionNumber();
  void            __fastcall set_MeasuredX(float Value);
  float           __fastcall get_MeasuredX();
  void            __fastcall set_MeasuredY(float Value);
  float           __fastcall get_MeasuredY();
  void            __fastcall set_SamplingStep(float Value);
  float           __fastcall get_SamplingStep();
  void            __fastcall set_FilteringCount(float Value);
  float           __fastcall get_FilteringCount();
  void            __fastcall set_PointCount(long Value);
  long            __fastcall get_PointCount();
  void            __fastcall set_PointValidCount(long Value);
  long            __fastcall get_PointValidCount();
  void            __fastcall set_OutlineTolerance(float Value);
  float           __fastcall get_OutlineTolerance();
  void            __fastcall set_FilteringThreshold(float Value);
  float           __fastcall get_FilteringThreshold();
  void            __fastcall set_NominalX(float Value);
  float           __fastcall get_NominalX();
  void            __fastcall set_NominalY(float Value);
  float           __fastcall get_NominalY();
  void            __fastcall set_FixedSlope(Evision_tlb::enumMsrSlope Value);
  Evision_tlb::enumMsrSlope __fastcall get_FixedSlope();
  void            __fastcall set_BaseVertically(Evision_tlb::enumMsrBaseVertically Value);
  Evision_tlb::enumMsrBaseVertically __fastcall get_BaseVertically();
  void            __fastcall set_NominalSlope(float Value);
  float           __fastcall get_NominalSlope();
  void            __fastcall set_BaseSize(float Value);
  float           __fastcall get_BaseSize();
  void            __fastcall set_MeasuredSlope(float Value);
  float           __fastcall get_MeasuredSlope();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_MeasuredDeviation(float Value);
  float           __fastcall get_MeasuredDeviation();
  void            __fastcall set_PixelWidth(float Value);
  float           __fastcall get_PixelWidth();
  void            __fastcall set_PixelHeight(float Value);
  float           __fastcall get_PixelHeight();
  void            __fastcall set_PixelUnit(Evision_tlb::enumUnits Value);
  Evision_tlb::enumUnits __fastcall get_PixelUnit();
  void            __fastcall set_BaseAngle(float Value);
  float           __fastcall get_BaseAngle();
  void            __fastcall set_MeasuredAngle(float Value);
  float           __fastcall get_MeasuredAngle();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_NumPoints(long Value);
  long            __fastcall get_NumPoints();
  void            __fastcall set_NumValidPoints(long Value);
  long            __fastcall get_NumValidPoints();
  void            __fastcall FitLine(LPDISPATCH BW8SrcImage);
  void            __fastcall Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                                  TOLEBOOL DrawHandles);
  Evision_tlb::enumMsrHandleNames __fastcall HitTest(LPDISPATCH Image, long X, long Y);
  void            __fastcall Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, 
                                  long Y);
  float           __fastcall get_PointX(short Indice);
  float           __fastcall get_PointY(short Indice);
  TOLEBOOL        __fastcall get_PointValid(short Indice);
  void            __fastcall AboutBox();

  __property   Evision_tlb::enumMsrTransitionType TransitionType = {read = get_TransitionType, write = set_TransitionType};
  __property   long            ProjectionThickness = {read = get_ProjectionThickness, write = set_ProjectionThickness};
  __property   Evision_tlb::enumMsrTransitionSmoothing TransitionSmoothing = {read = get_TransitionSmoothing, write = set_TransitionSmoothing};
  __property   long            DerivativeThreshold = {read = get_DerivativeThreshold, write = set_DerivativeThreshold};
  __property   Evision_tlb::enumMsrTransitionChoice TransitionChoice = {read = get_TransitionChoice, write = set_TransitionChoice};
  __property   long            TransitionHysteresis = {read = get_TransitionHysteresis, write = set_TransitionHysteresis};
  __property   long            TransitionMinGreyStep = {read = get_TransitionMinGreyStep, write = set_TransitionMinGreyStep};
  __property   long            TransitionNumber = {read = get_TransitionNumber, write = set_TransitionNumber};
  __property   float           MeasuredX = {read = get_MeasuredX, write = set_MeasuredX};
  __property   float           MeasuredY = {read = get_MeasuredY, write = set_MeasuredY};
  __property   float           SamplingStep = {read = get_SamplingStep, write = set_SamplingStep};
  __property   float           FilteringCount = {read = get_FilteringCount, write = set_FilteringCount};
  __property   long            PointCount = {read = get_PointCount, write = set_PointCount};
  __property   long            PointValidCount = {read = get_PointValidCount, write = set_PointValidCount};
  __property   float           OutlineTolerance = {read = get_OutlineTolerance, write = set_OutlineTolerance};
  __property   float           FilteringThreshold = {read = get_FilteringThreshold, write = set_FilteringThreshold};
  __property   float           NominalX = {read = get_NominalX, write = set_NominalX};
  __property   float           NominalY = {read = get_NominalY, write = set_NominalY};
  __property   Evision_tlb::enumMsrSlope FixedSlope = {read = get_FixedSlope, write = set_FixedSlope};
  __property   Evision_tlb::enumMsrBaseVertically BaseVertically = {read = get_BaseVertically, write = set_BaseVertically};
  __property   float           NominalSlope = {read = get_NominalSlope, write = set_NominalSlope};
  __property   float           BaseSize = {read = get_BaseSize, write = set_BaseSize};
  __property   float           MeasuredSlope = {read = get_MeasuredSlope, write = set_MeasuredSlope};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   float           MeasuredDeviation = {read = get_MeasuredDeviation, write = set_MeasuredDeviation};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   float           BaseAngle = {read = get_BaseAngle, write = set_BaseAngle};
  __property   float           MeasuredAngle = {read = get_MeasuredAngle, write = set_MeasuredAngle};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   long            NumPoints = {read = get_NumPoints, write = set_NumPoints};
  __property   long            NumValidPoints = {read = get_NumValidPoints, write = set_NumValidPoints};
};
typedef _DELineMeasureDispT<_DELineMeasure> _DELineMeasureDisp;

// *********************************************************************//
// DispIntf:  _DELineMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DELineMeasureEventsDispT : public TAutoDriver<_DELineMeasureEvents>
{
public:
  _DELineMeasureEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DELineMeasureEventsDispT<_DELineMeasureEvents> _DELineMeasureEventsDisp;

// *********************************************************************//
// DispIntf:  _DECircleMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DECircleMeasureDispT : public TAutoDriver<_DECircleMeasure>
{
public:
  _DECircleMeasureDispT(){}

  _DECircleMeasureDispT(_DECircleMeasure *pintf)
  {
    TAutoDriver<_DECircleMeasure>::Bind(pintf, false);
  }

  _DECircleMeasureDispT(_DECircleMeasurePtr pintf)
  {
    TAutoDriver<_DECircleMeasure>::Bind(pintf, true);
  }

  _DECircleMeasureDispT& operator=(_DECircleMeasure *pintf)
  {
    TAutoDriver<_DECircleMeasure>::Bind(pintf, false);
    return *this;
  }

  _DECircleMeasureDispT& operator=(_DECircleMeasurePtr pintf)
  {
    TAutoDriver<_DECircleMeasure>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_ECircleMeasure));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_ECircleMeasure);
  }

  void            __fastcall set_TransitionType(Evision_tlb::enumMsrTransitionType Value);
  Evision_tlb::enumMsrTransitionType __fastcall get_TransitionType();
  void            __fastcall set_ProjectionThickness(long Value);
  long            __fastcall get_ProjectionThickness();
  void            __fastcall set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing Value);
  Evision_tlb::enumMsrTransitionSmoothing __fastcall get_TransitionSmoothing();
  void            __fastcall set_DerivativeThreshold(long Value);
  long            __fastcall get_DerivativeThreshold();
  void            __fastcall set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice Value);
  Evision_tlb::enumMsrTransitionChoice __fastcall get_TransitionChoice();
  void            __fastcall set_TransitionHysteresis(long Value);
  long            __fastcall get_TransitionHysteresis();
  void            __fastcall set_TransitionMinGreyStep(long Value);
  long            __fastcall get_TransitionMinGreyStep();
  void            __fastcall set_TransitionNumber(long Value);
  long            __fastcall get_TransitionNumber();
  void            __fastcall set_MeasuredX(float Value);
  float           __fastcall get_MeasuredX();
  void            __fastcall set_MeasuredY(float Value);
  float           __fastcall get_MeasuredY();
  void            __fastcall set_SamplingStep(float Value);
  float           __fastcall get_SamplingStep();
  void            __fastcall set_FilteringCount(float Value);
  float           __fastcall get_FilteringCount();
  void            __fastcall set_PointCount(long Value);
  long            __fastcall get_PointCount();
  void            __fastcall set_PointValidCount(long Value);
  long            __fastcall get_PointValidCount();
  void            __fastcall set_OutlineTolerance(float Value);
  float           __fastcall get_OutlineTolerance();
  void            __fastcall set_FilteringThreshold(float Value);
  float           __fastcall get_FilteringThreshold();
  void            __fastcall set_NominalX(float Value);
  float           __fastcall get_NominalX();
  void            __fastcall set_NominalY(float Value);
  float           __fastcall get_NominalY();
  void            __fastcall set_Centering(Evision_tlb::enumMsrCircleCentering Value);
  Evision_tlb::enumMsrCircleCentering __fastcall get_Centering();
  void            __fastcall set_Isotropic(Evision_tlb::enumMsrCircleIsotropic Value);
  Evision_tlb::enumMsrCircleIsotropic __fastcall get_Isotropic();
  void            __fastcall set_IterationCount(long Value);
  long            __fastcall get_IterationCount();
  void            __fastcall set_NormalPoint(long Value);
  long            __fastcall get_NormalPoint();
  void            __fastcall set_AutomaticStop(Evision_tlb::enumMsrCircleAutomaticStop Value);
  Evision_tlb::enumMsrCircleAutomaticStop __fastcall get_AutomaticStop();
  void            __fastcall set_NominalRadius(float Value);
  float           __fastcall get_NominalRadius();
  void            __fastcall set_SectorAxe(float Value);
  float           __fastcall get_SectorAxe();
  void            __fastcall set_SectorExcursion(float Value);
  float           __fastcall get_SectorExcursion();
  void            __fastcall set_MaxDisplacement(float Value);
  float           __fastcall get_MaxDisplacement();
  void            __fastcall set_MeasuredRadius(float Value);
  float           __fastcall get_MeasuredRadius();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_FillColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_FillColor();
  void            __fastcall set_FillStyle(Evision_tlb::enumFillStyle Value);
  Evision_tlb::enumFillStyle __fastcall get_FillStyle();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_MeasuredDeviation(float Value);
  float           __fastcall get_MeasuredDeviation();
  void            __fastcall set_PixelWidth(float Value);
  float           __fastcall get_PixelWidth();
  void            __fastcall set_PixelHeight(float Value);
  float           __fastcall get_PixelHeight();
  void            __fastcall set_PixelUnit(Evision_tlb::enumUnits Value);
  Evision_tlb::enumUnits __fastcall get_PixelUnit();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_NumPoints(long Value);
  long            __fastcall get_NumPoints();
  void            __fastcall set_NumValidPoints(long Value);
  long            __fastcall get_NumValidPoints();
  void            __fastcall FitCircle(LPDISPATCH BW8SrcImage);
  void            __fastcall Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                                  TOLEBOOL DrawHandles);
  Evision_tlb::enumMsrHandleNames __fastcall HitTest(LPDISPATCH Image, long X, long Y);
  void            __fastcall Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, 
                                  long Y);
  float           __fastcall get_PointX(short Indice);
  float           __fastcall get_PointY(short Indice);
  TOLEBOOL        __fastcall get_PointValid(short Indice);
  void            __fastcall AboutBox();

  __property   Evision_tlb::enumMsrTransitionType TransitionType = {read = get_TransitionType, write = set_TransitionType};
  __property   long            ProjectionThickness = {read = get_ProjectionThickness, write = set_ProjectionThickness};
  __property   Evision_tlb::enumMsrTransitionSmoothing TransitionSmoothing = {read = get_TransitionSmoothing, write = set_TransitionSmoothing};
  __property   long            DerivativeThreshold = {read = get_DerivativeThreshold, write = set_DerivativeThreshold};
  __property   Evision_tlb::enumMsrTransitionChoice TransitionChoice = {read = get_TransitionChoice, write = set_TransitionChoice};
  __property   long            TransitionHysteresis = {read = get_TransitionHysteresis, write = set_TransitionHysteresis};
  __property   long            TransitionMinGreyStep = {read = get_TransitionMinGreyStep, write = set_TransitionMinGreyStep};
  __property   long            TransitionNumber = {read = get_TransitionNumber, write = set_TransitionNumber};
  __property   float           MeasuredX = {read = get_MeasuredX, write = set_MeasuredX};
  __property   float           MeasuredY = {read = get_MeasuredY, write = set_MeasuredY};
  __property   float           SamplingStep = {read = get_SamplingStep, write = set_SamplingStep};
  __property   float           FilteringCount = {read = get_FilteringCount, write = set_FilteringCount};
  __property   long            PointCount = {read = get_PointCount, write = set_PointCount};
  __property   long            PointValidCount = {read = get_PointValidCount, write = set_PointValidCount};
  __property   float           OutlineTolerance = {read = get_OutlineTolerance, write = set_OutlineTolerance};
  __property   float           FilteringThreshold = {read = get_FilteringThreshold, write = set_FilteringThreshold};
  __property   float           NominalX = {read = get_NominalX, write = set_NominalX};
  __property   float           NominalY = {read = get_NominalY, write = set_NominalY};
  __property   Evision_tlb::enumMsrCircleCentering Centering = {read = get_Centering, write = set_Centering};
  __property   Evision_tlb::enumMsrCircleIsotropic Isotropic = {read = get_Isotropic, write = set_Isotropic};
  __property   long            IterationCount = {read = get_IterationCount, write = set_IterationCount};
  __property   long            NormalPoint = {read = get_NormalPoint, write = set_NormalPoint};
  __property   Evision_tlb::enumMsrCircleAutomaticStop AutomaticStop = {read = get_AutomaticStop, write = set_AutomaticStop};
  __property   float           NominalRadius = {read = get_NominalRadius, write = set_NominalRadius};
  __property   float           SectorAxe = {read = get_SectorAxe, write = set_SectorAxe};
  __property   float           SectorExcursion = {read = get_SectorExcursion, write = set_SectorExcursion};
  __property   float           MaxDisplacement = {read = get_MaxDisplacement, write = set_MaxDisplacement};
  __property   float           MeasuredRadius = {read = get_MeasuredRadius, write = set_MeasuredRadius};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   ::OLE_COLOR     FillColor = {read = get_FillColor, write = set_FillColor};
  __property   Evision_tlb::enumFillStyle FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   float           MeasuredDeviation = {read = get_MeasuredDeviation, write = set_MeasuredDeviation};
  __property   float           PixelWidth = {read = get_PixelWidth, write = set_PixelWidth};
  __property   float           PixelHeight = {read = get_PixelHeight, write = set_PixelHeight};
  __property   Evision_tlb::enumUnits PixelUnit = {read = get_PixelUnit, write = set_PixelUnit};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   long            NumPoints = {read = get_NumPoints, write = set_NumPoints};
  __property   long            NumValidPoints = {read = get_NumValidPoints, write = set_NumValidPoints};
};
typedef _DECircleMeasureDispT<_DECircleMeasure> _DECircleMeasureDisp;

// *********************************************************************//
// DispIntf:  _DECircleMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DECircleMeasureEventsDispT : public TAutoDriver<_DECircleMeasureEvents>
{
public:
  _DECircleMeasureEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DECircleMeasureEventsDispT<_DECircleMeasureEvents> _DECircleMeasureEventsDisp;

// *********************************************************************//
// DispIntf:  _DEOCR
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEOCRDispT : public TAutoDriver<_DEOCR>
{
public:
  _DEOCRDispT(){}

  _DEOCRDispT(_DEOCR *pintf)
  {
    TAutoDriver<_DEOCR>::Bind(pintf, false);
  }

  _DEOCRDispT(_DEOCRPtr pintf)
  {
    TAutoDriver<_DEOCR>::Bind(pintf, true);
  }

  _DEOCRDispT& operator=(_DEOCR *pintf)
  {
    TAutoDriver<_DEOCR>::Bind(pintf, false);
    return *this;
  }

  _DEOCRDispT& operator=(_DEOCRPtr pintf)
  {
    TAutoDriver<_DEOCR>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EOCR));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EOCR);
  }

  void            __fastcall set_TextColor(Evision_tlb::enumOcrColor Value);
  Evision_tlb::enumOcrColor __fastcall get_TextColor();
  void            __fastcall set_Threshold(Evision_tlb::enumImgThresholdModes Value);
  Evision_tlb::enumImgThresholdModes __fastcall get_Threshold();
  void            __fastcall set_MinCharWidth(long Value);
  long            __fastcall get_MinCharWidth();
  void            __fastcall set_MaxCharWidth(long Value);
  long            __fastcall get_MaxCharWidth();
  void            __fastcall set_MinCharHeight(long Value);
  long            __fastcall get_MinCharHeight();
  void            __fastcall set_MaxCharHeight(long Value);
  long            __fastcall get_MaxCharHeight();
  void            __fastcall set_CharSpacing(long Value);
  long            __fastcall get_CharSpacing();
  void            __fastcall set_NoiseArea(long Value);
  long            __fastcall get_NoiseArea();
  void            __fastcall set_SegmentationMode(Evision_tlb::enumOcrSegmentationMode Value);
  Evision_tlb::enumOcrSegmentationMode __fastcall get_SegmentationMode();
  void            __fastcall set_NumChars(long Value);
  long            __fastcall get_NumChars();
  void            __fastcall set_NumPatterns(long Value);
  long            __fastcall get_NumPatterns();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_PatternWidth(long Value);
  long            __fastcall get_PatternWidth();
  void            __fastcall set_PatternHeight(long Value);
  long            __fastcall get_PatternHeight();
  void            __fastcall set_CutLargeCharacters(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_CutLargeCharacters();
  void            __fastcall set_CompareAspectRatio(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_CompareAspectRatio();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_RemoveNarrowOrFlat(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_RemoveNarrowOrFlat();
  void            __fastcall set_RemoveBorder(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_RemoveBorder();
  void            __fastcall set_RelativeSpacing(float Value);
  float           __fastcall get_RelativeSpacing();
  void            __fastcall set_AverageFirstCharDistance(float Value);
  float           __fastcall get_AverageFirstCharDistance();
  void            __fastcall set_ShiftToleranceX(long Value);
  long            __fastcall get_ShiftToleranceX();
  void            __fastcall set_MatchingMode(Evision_tlb::enumOcrMatchingMode Value);
  Evision_tlb::enumOcrMatchingMode __fastcall get_MatchingMode();
  void            __fastcall set_ShiftingMode(Evision_tlb::enumOcrShiftingMode Value);
  Evision_tlb::enumOcrShiftingMode __fastcall get_ShiftingMode();
  void            __fastcall set_ShiftToleranceY(long Value);
  long            __fastcall get_ShiftToleranceY();
  long            __fastcall GetFirstCharCode(long Index);
  long            __fastcall GetSecondCharCode(long Index);
  float           __fastcall GetFirstCharDistance(long Index);
  float           __fastcall GetSecondCharDistance(long Index);
  long            __fastcall CharOrgX(long Index);
  long            __fastcall CharOrgY(long Index);
  long            __fastcall CharDstX(long Index);
  long            __fastcall CharDstY(long Index);
  long            __fastcall CharTotalOrgX(long Index);
  long            __fastcall CharTotalOrgY(long Index);
  long            __fastcall CharTotalDstX(long Index);
  long            __fastcall CharTotalDstY(long Index);
  long            __fastcall CharWidth(long Index);
  long            __fastcall CharHeight(long Index);
  void            __fastcall AddClasses(long Classes);
  void            __fastcall EmptyClasses();
  void            __fastcall RecognizeClasses(LPDISPATCH BW8SrcImage, long MaxChars, BSTR* DstString);
  void            __fastcall RecognizeClass(LPDISPATCH BW8SrcImage, long MaxChars, 
                                            Evision_tlb::enumOcrClasses Classes, BSTR* DstString);
  void            __fastcall LoadFont(BSTR PathName);
  void            __fastcall SaveFont(BSTR PathName);
  long            __fastcall GetPatternCode(long Index);
  long            __fastcall GetPatternClass(long Index);
  void            __fastcall AddPatternFromImage(LPDISPATCH BW8SrcImage, long OriginX, long OriginY
                                                 , long Width, long Height, long Code, 
                                                 Evision_tlb::enumOcrClasses Class);
  void            __fastcall DrawChar(LPDISPATCH Image, long Index);
  void            __fastcall DrawChars(LPDISPATCH Image);
  void            __fastcall NewFont(long PatternWidth, long PatternHeight);
  void            __fastcall BuildObjects(LPDISPATCH BW8SrcImage);
  void            __fastcall FindAllChars(LPDISPATCH BW8SrcImage);
  void            __fastcall EmptyChars();
  short           __fastcall AddChars(long OrgX, long OrgY, long EndX, long EndY);
  void            __fastcall ReadTextClass(LPDISPATCH BW8SrcImage, long MaxChars, 
                                           Evision_tlb::enumOcrClasses Classes, BSTR* DstString);
  void            __fastcall ReadTextClasses(LPDISPATCH BW8SrcImage, long MaxChars, BSTR* DstString);
  TOLEBOOL        __fastcall HitChars(float CursorX, float CursorY, long CharIndex, float ZoomX, 
                                      float ZoomY, float PanX, float PanY);
  void            __fastcall LearnPattern(LPDISPATCH BW8SrcImg, long* CharIndex, long Code, 
                                          Evision_tlb::enumOcrClasses Class);
  void            __fastcall AboutBox();

  __property   Evision_tlb::enumOcrColor TextColor = {read = get_TextColor, write = set_TextColor};
  __property   Evision_tlb::enumImgThresholdModes Threshold = {read = get_Threshold, write = set_Threshold};
  __property   long            MinCharWidth = {read = get_MinCharWidth, write = set_MinCharWidth};
  __property   long            MaxCharWidth = {read = get_MaxCharWidth, write = set_MaxCharWidth};
  __property   long            MinCharHeight = {read = get_MinCharHeight, write = set_MinCharHeight};
  __property   long            MaxCharHeight = {read = get_MaxCharHeight, write = set_MaxCharHeight};
  __property   long            CharSpacing = {read = get_CharSpacing, write = set_CharSpacing};
  __property   long            NoiseArea = {read = get_NoiseArea, write = set_NoiseArea};
  __property   Evision_tlb::enumOcrSegmentationMode SegmentationMode = {read = get_SegmentationMode, write = set_SegmentationMode};
  __property   long            NumChars = {read = get_NumChars, write = set_NumChars};
  __property   long            NumPatterns = {read = get_NumPatterns, write = set_NumPatterns};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            PatternWidth = {read = get_PatternWidth, write = set_PatternWidth};
  __property   long            PatternHeight = {read = get_PatternHeight, write = set_PatternHeight};
  __property   TOLEBOOL        CutLargeCharacters = {read = get_CutLargeCharacters, write = set_CutLargeCharacters};
  __property   TOLEBOOL        CompareAspectRatio = {read = get_CompareAspectRatio, write = set_CompareAspectRatio};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        RemoveNarrowOrFlat = {read = get_RemoveNarrowOrFlat, write = set_RemoveNarrowOrFlat};
  __property   TOLEBOOL        RemoveBorder = {read = get_RemoveBorder, write = set_RemoveBorder};
  __property   float           RelativeSpacing = {read = get_RelativeSpacing, write = set_RelativeSpacing};
  __property   float           AverageFirstCharDistance = {read = get_AverageFirstCharDistance, write = set_AverageFirstCharDistance};
  __property   long            ShiftToleranceX = {read = get_ShiftToleranceX, write = set_ShiftToleranceX};
  __property   Evision_tlb::enumOcrMatchingMode MatchingMode = {read = get_MatchingMode, write = set_MatchingMode};
  __property   Evision_tlb::enumOcrShiftingMode ShiftingMode = {read = get_ShiftingMode, write = set_ShiftingMode};
  __property   long            ShiftToleranceY = {read = get_ShiftToleranceY, write = set_ShiftToleranceY};
};
typedef _DEOCRDispT<_DEOCR> _DEOCRDisp;

// *********************************************************************//
// DispIntf:  _DEOCREvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEOCREventsDispT : public TAutoDriver<_DEOCREvents>
{
public:
  _DEOCREventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEOCREventsDispT<_DEOCREvents> _DEOCREventsDisp;

// *********************************************************************//
// DispIntf:  _DEOCV
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEOCVDispT : public TAutoDriver<_DEOCV>
{
public:
  _DEOCVDispT(){}

  _DEOCVDispT(_DEOCV *pintf)
  {
    TAutoDriver<_DEOCV>::Bind(pintf, false);
  }

  _DEOCVDispT(_DEOCVPtr pintf)
  {
    TAutoDriver<_DEOCV>::Bind(pintf, true);
  }

  _DEOCVDispT& operator=(_DEOCV *pintf)
  {
    TAutoDriver<_DEOCV>::Bind(pintf, false);
    return *this;
  }

  _DEOCVDispT& operator=(_DEOCVPtr pintf)
  {
    TAutoDriver<_DEOCV>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EOCV));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EOCV);
  }

  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_QualityArea(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_QualityArea();
  void            __fastcall set_QualityCorrelation(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_QualityCorrelation();
  void            __fastcall set_QualityLocation(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_QualityLocation();
  void            __fastcall set_QualitySum(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_QualitySum();
  void            __fastcall set_LocationMode(Evision_tlb::enumOcvLocationMode Value);
  Evision_tlb::enumOcvLocationMode __fastcall get_LocationMode();
  void            __fastcall set_SampleThreshold(short Value);
  short           __fastcall get_SampleThreshold();
  void            __fastcall set_SampleBackground(float Value);
  float           __fastcall get_SampleBackground();
  void            __fastcall set_SampleForeground(float Value);
  float           __fastcall get_SampleForeground();
  void            __fastcall set_NumTexts(long Value);
  long            __fastcall get_NumTexts();
  void            __fastcall set_ResampleChars(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_ResampleChars();
  void            __fastcall set_DiagnosticCharNotFound(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharNotFound();
  void            __fastcall set_DiagnosticTextNotFound(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextNotFound();
  void            __fastcall set_DiagnosticCharOverprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharOverprinting();
  void            __fastcall set_DiagnosticTextOverprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextOverprinting();
  void            __fastcall set_DiagnosticCharUnderprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharUnderprinting();
  void            __fastcall set_DiagnosticTextUnderprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextUnderprinting();
  void            __fastcall set_DiagnosticCharMismatch(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharMismatch();
  void            __fastcall set_DiagnosticTextMismatch(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextMismatch();
  void            __fastcall set_StatisticsCount(long Value);
  long            __fastcall get_StatisticsCount();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_QualityContrast(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_QualityContrast();
  void            __fastcall set_DiagnosticBadContrast(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticBadContrast();
  void            __fastcall set_ReduceLocationScore(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_ReduceLocationScore();
  void            __fastcall set_NormalizeLocationScore(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_NormalizeLocationScore();
  void            __fastcall set_AccurateTextLocation(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_AccurateTextLocation();
  void            __fastcall set_TemplateThreshold(short Value);
  short           __fastcall get_TemplateThreshold();
  void            __fastcall set_TemplateBackground(float Value);
  float           __fastcall get_TemplateBackground();
  void            __fastcall set_TemplateForeground(float Value);
  float           __fastcall get_TemplateForeground();
  void            __fastcall Load(BSTR PathName);
  void            __fastcall Save(BSTR PathName);
  void            __fastcall Inspect(LPDISPATCH BW8SampleImage, long Threshold);
  void            __fastcall DrawText(LPDISPATCH Image, LPDISPATCH OCVText);
  void            __fastcall DrawTexts(LPDISPATCH Image, 
                                       Evision_tlb::enumSelectionMode eTextsSelectionMode);
  void            __fastcall DrawTextChars(LPDISPATCH Image, LPDISPATCH OCVText, 
                                           Evision_tlb::enumSelectionMode eCharsSelectionMode);
  void            __fastcall DrawTextsChars(LPDISPATCH Image, 
                                            Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                            Evision_tlb::enumSelectionMode eCharsSelectionMode);
  void            __fastcall GetTextParameters(LPDISPATCH OCVText, long TextIndex);
  void            __fastcall SetTextParameters(LPDISPATCH OCVText, long TextIndex);
  void            __fastcall GatherTextsParameters(LPDISPATCH OCVText, 
                                                   Evision_tlb::enumSelectionMode eTextsSelectionMode);
  void            __fastcall ScatterTextsParameters(LPDISPATCH OCVText, 
                                                    Evision_tlb::enumSelectionMode eTextsSelectionMode);
  void            __fastcall GetTextCharParameters(LPDISPATCH OCVChar, long TextIndex, 
                                                   long CharIndex);
  void            __fastcall SetTextCharParameters(LPDISPATCH OCVChar, long TextIndex, 
                                                   long CharIndex);
  void            __fastcall GatherTextsCharsParameters(LPDISPATCH OCVChar, 
                                                        Evision_tlb::enumSelectionMode eTextsSelectionMode
                                                        , 
                                                        Evision_tlb::enumSelectionMode eCharsSelectionMode);
  void            __fastcall ScatterTextsCharsParameters(LPDISPATCH OCVChar, 
                                                         Evision_tlb::enumSelectionMode eTextsSelectionMode
                                                         , 
                                                         Evision_tlb::enumSelectionMode eCharsSelectionMode);
  long            __fastcall get_NumTextChars(long TextIndex);
  void            __fastcall SelectSampleTexts(long OriginX, long OriginY, long Width, long Height, 
                                               Evision_tlb::enumSelectionMode eTextsSelectionMode);
  void            __fastcall SelectSampleTextsChars(long OriginX, long OriginY, long Width, 
                                                    long Height, 
                                                    Evision_tlb::enumSelectionMode eTextsSelectionMode
                                                    , 
                                                    Evision_tlb::enumSelectionMode eCharsSelectionMode);
  void            __fastcall ClearStatistics();
  void            __fastcall UpdateStatistics();
  void            __fastcall ComputeDefaultTolerances(LPDISPATCH BW8Image, long Threshold);
  float           __fastcall GetSampleContrast();
  float           __fastcall GetContrastAverage();
  float           __fastcall GetContrastDeviation();
  void            __fastcall SetContrastTolerance(float fNewValue);
  float           __fastcall GetConstrastTolerance();
  float           __fastcall GetTemplateContrast();
  void            __fastcall AdjustShiftTolerance(LPDISPATCH BW8Image);
  void            __fastcall AdjustTextsLocationRanges(float fFactor, 
                                                       Evision_tlb::enumSelectionMode eSelection);
  void            __fastcall AdjustTextsQualityRanges(float fFactor, 
                                                      Evision_tlb::enumSelectionMode eModeSelection);
  void            __fastcall AdjustCharsLocationRanges(float fFactor, 
                                                       Evision_tlb::enumSelectionMode eTextSelection
                                                       , 
                                                       Evision_tlb::enumSelectionMode eCharSelection);
  void            __fastcall AdjustCharsQualityRanges(float fFacor, 
                                                      Evision_tlb::enumSelectionMode eTextSelection
                                                      , 
                                                      Evision_tlb::enumSelectionMode eCharSelection);
  void            __fastcall AboutBox();

  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   TOLEBOOL        QualityArea = {read = get_QualityArea, write = set_QualityArea};
  __property   TOLEBOOL        QualityCorrelation = {read = get_QualityCorrelation, write = set_QualityCorrelation};
  __property   TOLEBOOL        QualityLocation = {read = get_QualityLocation, write = set_QualityLocation};
  __property   TOLEBOOL        QualitySum = {read = get_QualitySum, write = set_QualitySum};
  __property   Evision_tlb::enumOcvLocationMode LocationMode = {read = get_LocationMode, write = set_LocationMode};
  __property   short           SampleThreshold = {read = get_SampleThreshold, write = set_SampleThreshold};
  __property   float           SampleBackground = {read = get_SampleBackground, write = set_SampleBackground};
  __property   float           SampleForeground = {read = get_SampleForeground, write = set_SampleForeground};
  __property   long            NumTexts = {read = get_NumTexts, write = set_NumTexts};
  __property   TOLEBOOL        ResampleChars = {read = get_ResampleChars, write = set_ResampleChars};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharNotFound = {read = get_DiagnosticCharNotFound, write = set_DiagnosticCharNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextNotFound = {read = get_DiagnosticTextNotFound, write = set_DiagnosticTextNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharOverprinting = {read = get_DiagnosticCharOverprinting, write = set_DiagnosticCharOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextOverprinting = {read = get_DiagnosticTextOverprinting, write = set_DiagnosticTextOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharUnderprinting = {read = get_DiagnosticCharUnderprinting, write = set_DiagnosticCharUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextUnderprinting = {read = get_DiagnosticTextUnderprinting, write = set_DiagnosticTextUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharMismatch = {read = get_DiagnosticCharMismatch, write = set_DiagnosticCharMismatch};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextMismatch = {read = get_DiagnosticTextMismatch, write = set_DiagnosticTextMismatch};
  __property   long            StatisticsCount = {read = get_StatisticsCount, write = set_StatisticsCount};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   TOLEBOOL        QualityContrast = {read = get_QualityContrast, write = set_QualityContrast};
  __property   Evision_tlb::enumBooleanValues DiagnosticBadContrast = {read = get_DiagnosticBadContrast, write = set_DiagnosticBadContrast};
  __property   TOLEBOOL        ReduceLocationScore = {read = get_ReduceLocationScore, write = set_ReduceLocationScore};
  __property   TOLEBOOL        NormalizeLocationScore = {read = get_NormalizeLocationScore, write = set_NormalizeLocationScore};
  __property   TOLEBOOL        AccurateTextLocation = {read = get_AccurateTextLocation, write = set_AccurateTextLocation};
  __property   short           TemplateThreshold = {read = get_TemplateThreshold, write = set_TemplateThreshold};
  __property   float           TemplateBackground = {read = get_TemplateBackground, write = set_TemplateBackground};
  __property   float           TemplateForeground = {read = get_TemplateForeground, write = set_TemplateForeground};
};
typedef _DEOCVDispT<_DEOCV> _DEOCVDisp;

// *********************************************************************//
// DispIntf:  _DEOCVEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEOCVEventsDispT : public TAutoDriver<_DEOCVEvents>
{
public:
  _DEOCVEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEOCVEventsDispT<_DEOCVEvents> _DEOCVEventsDisp;

// *********************************************************************//
// DispIntf:  _DEOCVChar
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEOCVCharDispT : public TAutoDriver<_DEOCVChar>
{
public:
  _DEOCVCharDispT(){}

  _DEOCVCharDispT(_DEOCVChar *pintf)
  {
    TAutoDriver<_DEOCVChar>::Bind(pintf, false);
  }

  _DEOCVCharDispT(_DEOCVCharPtr pintf)
  {
    TAutoDriver<_DEOCVChar>::Bind(pintf, true);
  }

  _DEOCVCharDispT& operator=(_DEOCVChar *pintf)
  {
    TAutoDriver<_DEOCVChar>::Bind(pintf, false);
    return *this;
  }

  _DEOCVCharDispT& operator=(_DEOCVCharPtr pintf)
  {
    TAutoDriver<_DEOCVChar>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EOCVChar));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EOCVChar);
  }

  void            __fastcall set_NumContourPoints(long Value);
  long            __fastcall get_NumContourPoints();
  void            __fastcall set_TemplateLocationScore(float Value);
  float           __fastcall get_TemplateLocationScore();
  void            __fastcall set_SampleLocationScore(float Value);
  float           __fastcall get_SampleLocationScore();
  void            __fastcall set_LocationScoreTolerance(float Value);
  float           __fastcall get_LocationScoreTolerance();
  void            __fastcall set_ShiftX(float Value);
  float           __fastcall get_ShiftX();
  void            __fastcall set_ShiftXBias(float Value);
  float           __fastcall get_ShiftXBias();
  void            __fastcall set_ShiftXTolerance(float Value);
  float           __fastcall get_ShiftXTolerance();
  void            __fastcall set_ShiftXStride(long Value);
  long            __fastcall get_ShiftXStride();
  void            __fastcall set_ShiftY(float Value);
  float           __fastcall get_ShiftY();
  void            __fastcall set_ShiftYBias(float Value);
  float           __fastcall get_ShiftYBias();
  void            __fastcall set_ShiftYTolerance(float Value);
  float           __fastcall get_ShiftYTolerance();
  void            __fastcall set_ShiftYStride(long Value);
  long            __fastcall get_ShiftYStride();
  void            __fastcall set_DiagnosticCharNotFound(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharNotFound();
  void            __fastcall set_DiagnosticCharOverprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharOverprinting();
  void            __fastcall set_DiagnosticCharUnderprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharUnderprinting();
  void            __fastcall set_DiagnosticCharMismatch(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticCharMismatch();
  void            __fastcall set_TemplateForegroundArea(long Value);
  long            __fastcall get_TemplateForegroundArea();
  void            __fastcall set_SampleForegroundArea(long Value);
  long            __fastcall get_SampleForegroundArea();
  void            __fastcall set_ForegroundAreaTolerance(long Value);
  long            __fastcall get_ForegroundAreaTolerance();
  void            __fastcall set_TemplateBackgroundArea(long Value);
  long            __fastcall get_TemplateBackgroundArea();
  void            __fastcall set_SampleBackgroundArea(long Value);
  long            __fastcall get_SampleBackgroundArea();
  void            __fastcall set_BackgroundAreaTolerance(long Value);
  long            __fastcall get_BackgroundAreaTolerance();
  void            __fastcall set_TemplateForegroundSum(float Value);
  float           __fastcall get_TemplateForegroundSum();
  void            __fastcall set_SampleForegroundSum(float Value);
  float           __fastcall get_SampleForegroundSum();
  void            __fastcall set_ForegroundSumTolerance(float Value);
  float           __fastcall get_ForegroundSumTolerance();
  void            __fastcall set_TemplateBackgroundSum(float Value);
  float           __fastcall get_TemplateBackgroundSum();
  void            __fastcall set_SampleBackgroundSum(float Value);
  float           __fastcall get_SampleBackgroundSum();
  void            __fastcall set_BackgroundSumTolerance(float Value);
  float           __fastcall get_BackgroundSumTolerance();
  void            __fastcall set_Correlation(float Value);
  float           __fastcall get_Correlation();
  void            __fastcall set_CorrelationTolerance(float Value);
  float           __fastcall get_CorrelationTolerance();
  void            __fastcall set_MarginWidth(long Value);
  long            __fastcall get_MarginWidth();
  void            __fastcall set_LocationScoreAverage(float Value);
  float           __fastcall get_LocationScoreAverage();
  void            __fastcall set_LocationScoreDeviation(float Value);
  float           __fastcall get_LocationScoreDeviation();
  void            __fastcall set_ShiftXAverage(float Value);
  float           __fastcall get_ShiftXAverage();
  void            __fastcall set_ShiftXDeviation(float Value);
  float           __fastcall get_ShiftXDeviation();
  void            __fastcall set_ShiftYAverage(float Value);
  float           __fastcall get_ShiftYAverage();
  void            __fastcall set_ShiftYDeviation(float Value);
  float           __fastcall get_ShiftYDeviation();
  void            __fastcall set_ForegroundAreaAverage(float Value);
  float           __fastcall get_ForegroundAreaAverage();
  void            __fastcall set_ForegroundAreaDeviation(float Value);
  float           __fastcall get_ForegroundAreaDeviation();
  void            __fastcall set_BackgroundAreaAverage(float Value);
  float           __fastcall get_BackgroundAreaAverage();
  void            __fastcall set_BackgroundAreaDeviation(float Value);
  float           __fastcall get_BackgroundAreaDeviation();
  void            __fastcall set_ForegroundSumAverage(float Value);
  float           __fastcall get_ForegroundSumAverage();
  void            __fastcall set_ForegroundSumDeviation(float Value);
  float           __fastcall get_ForegroundSumDeviation();
  void            __fastcall set_BackgroundSumAverage(float Value);
  float           __fastcall get_BackgroundSumAverage();
  void            __fastcall set_BackgroundSumDeviation(float Value);
  float           __fastcall get_BackgroundSumDeviation();
  void            __fastcall set_CorrelationAverage(float Value);
  float           __fastcall get_CorrelationAverage();
  void            __fastcall set_CorrelationDeviation(float Value);
  float           __fastcall get_CorrelationDeviation();
  void            __fastcall set_Selected(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_Selected();
  void            __fastcall set_WhiteOnBlack(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_WhiteOnBlack();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_ShiftXMax(float Value);
  float           __fastcall get_ShiftXMax();
  void            __fastcall set_ShiftXMin(float Value);
  float           __fastcall get_ShiftXMin();
  void            __fastcall set_ShiftYMax(float Value);
  float           __fastcall get_ShiftYMax();
  void            __fastcall set_ShiftYMin(float Value);
  float           __fastcall get_ShiftYMin();
  void            __fastcall set_LearntTemplateForegroundArea(long Value);
  long            __fastcall get_LearntTemplateForegroundArea();
  void            __fastcall set_LearntTemplateBackgroundArea(long Value);
  long            __fastcall get_LearntTemplateBackgroundArea();
  void            __fastcall ResetParameters();
  void            __fastcall AboutBox();

  __property   long            NumContourPoints = {read = get_NumContourPoints, write = set_NumContourPoints};
  __property   float           TemplateLocationScore = {read = get_TemplateLocationScore, write = set_TemplateLocationScore};
  __property   float           SampleLocationScore = {read = get_SampleLocationScore, write = set_SampleLocationScore};
  __property   float           LocationScoreTolerance = {read = get_LocationScoreTolerance, write = set_LocationScoreTolerance};
  __property   float           ShiftX = {read = get_ShiftX, write = set_ShiftX};
  __property   float           ShiftXBias = {read = get_ShiftXBias, write = set_ShiftXBias};
  __property   float           ShiftXTolerance = {read = get_ShiftXTolerance, write = set_ShiftXTolerance};
  __property   long            ShiftXStride = {read = get_ShiftXStride, write = set_ShiftXStride};
  __property   float           ShiftY = {read = get_ShiftY, write = set_ShiftY};
  __property   float           ShiftYBias = {read = get_ShiftYBias, write = set_ShiftYBias};
  __property   float           ShiftYTolerance = {read = get_ShiftYTolerance, write = set_ShiftYTolerance};
  __property   long            ShiftYStride = {read = get_ShiftYStride, write = set_ShiftYStride};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharNotFound = {read = get_DiagnosticCharNotFound, write = set_DiagnosticCharNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharOverprinting = {read = get_DiagnosticCharOverprinting, write = set_DiagnosticCharOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharUnderprinting = {read = get_DiagnosticCharUnderprinting, write = set_DiagnosticCharUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticCharMismatch = {read = get_DiagnosticCharMismatch, write = set_DiagnosticCharMismatch};
  __property   long            TemplateForegroundArea = {read = get_TemplateForegroundArea, write = set_TemplateForegroundArea};
  __property   long            SampleForegroundArea = {read = get_SampleForegroundArea, write = set_SampleForegroundArea};
  __property   long            ForegroundAreaTolerance = {read = get_ForegroundAreaTolerance, write = set_ForegroundAreaTolerance};
  __property   long            TemplateBackgroundArea = {read = get_TemplateBackgroundArea, write = set_TemplateBackgroundArea};
  __property   long            SampleBackgroundArea = {read = get_SampleBackgroundArea, write = set_SampleBackgroundArea};
  __property   long            BackgroundAreaTolerance = {read = get_BackgroundAreaTolerance, write = set_BackgroundAreaTolerance};
  __property   float           TemplateForegroundSum = {read = get_TemplateForegroundSum, write = set_TemplateForegroundSum};
  __property   float           SampleForegroundSum = {read = get_SampleForegroundSum, write = set_SampleForegroundSum};
  __property   float           ForegroundSumTolerance = {read = get_ForegroundSumTolerance, write = set_ForegroundSumTolerance};
  __property   float           TemplateBackgroundSum = {read = get_TemplateBackgroundSum, write = set_TemplateBackgroundSum};
  __property   float           SampleBackgroundSum = {read = get_SampleBackgroundSum, write = set_SampleBackgroundSum};
  __property   float           BackgroundSumTolerance = {read = get_BackgroundSumTolerance, write = set_BackgroundSumTolerance};
  __property   float           Correlation = {read = get_Correlation, write = set_Correlation};
  __property   float           CorrelationTolerance = {read = get_CorrelationTolerance, write = set_CorrelationTolerance};
  __property   long            MarginWidth = {read = get_MarginWidth, write = set_MarginWidth};
  __property   float           LocationScoreAverage = {read = get_LocationScoreAverage, write = set_LocationScoreAverage};
  __property   float           LocationScoreDeviation = {read = get_LocationScoreDeviation, write = set_LocationScoreDeviation};
  __property   float           ShiftXAverage = {read = get_ShiftXAverage, write = set_ShiftXAverage};
  __property   float           ShiftXDeviation = {read = get_ShiftXDeviation, write = set_ShiftXDeviation};
  __property   float           ShiftYAverage = {read = get_ShiftYAverage, write = set_ShiftYAverage};
  __property   float           ShiftYDeviation = {read = get_ShiftYDeviation, write = set_ShiftYDeviation};
  __property   float           ForegroundAreaAverage = {read = get_ForegroundAreaAverage, write = set_ForegroundAreaAverage};
  __property   float           ForegroundAreaDeviation = {read = get_ForegroundAreaDeviation, write = set_ForegroundAreaDeviation};
  __property   float           BackgroundAreaAverage = {read = get_BackgroundAreaAverage, write = set_BackgroundAreaAverage};
  __property   float           BackgroundAreaDeviation = {read = get_BackgroundAreaDeviation, write = set_BackgroundAreaDeviation};
  __property   float           ForegroundSumAverage = {read = get_ForegroundSumAverage, write = set_ForegroundSumAverage};
  __property   float           ForegroundSumDeviation = {read = get_ForegroundSumDeviation, write = set_ForegroundSumDeviation};
  __property   float           BackgroundSumAverage = {read = get_BackgroundSumAverage, write = set_BackgroundSumAverage};
  __property   float           BackgroundSumDeviation = {read = get_BackgroundSumDeviation, write = set_BackgroundSumDeviation};
  __property   float           CorrelationAverage = {read = get_CorrelationAverage, write = set_CorrelationAverage};
  __property   float           CorrelationDeviation = {read = get_CorrelationDeviation, write = set_CorrelationDeviation};
  __property   Evision_tlb::enumBooleanValues Selected = {read = get_Selected, write = set_Selected};
  __property   Evision_tlb::enumBooleanValues WhiteOnBlack = {read = get_WhiteOnBlack, write = set_WhiteOnBlack};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   float           ShiftXMax = {read = get_ShiftXMax, write = set_ShiftXMax};
  __property   float           ShiftXMin = {read = get_ShiftXMin, write = set_ShiftXMin};
  __property   float           ShiftYMax = {read = get_ShiftYMax, write = set_ShiftYMax};
  __property   float           ShiftYMin = {read = get_ShiftYMin, write = set_ShiftYMin};
  __property   long            LearntTemplateForegroundArea = {read = get_LearntTemplateForegroundArea, write = set_LearntTemplateForegroundArea};
  __property   long            LearntTemplateBackgroundArea = {read = get_LearntTemplateBackgroundArea, write = set_LearntTemplateBackgroundArea};
};
typedef _DEOCVCharDispT<_DEOCVChar> _DEOCVCharDisp;

// *********************************************************************//
// DispIntf:  _DEOCVCharEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEOCVCharEventsDispT : public TAutoDriver<_DEOCVCharEvents>
{
public:
  _DEOCVCharEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEOCVCharEventsDispT<_DEOCVCharEvents> _DEOCVCharEventsDisp;

// *********************************************************************//
// DispIntf:  _DEOCVText
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEOCVTextDispT : public TAutoDriver<_DEOCVText>
{
public:
  _DEOCVTextDispT(){}

  _DEOCVTextDispT(_DEOCVText *pintf)
  {
    TAutoDriver<_DEOCVText>::Bind(pintf, false);
  }

  _DEOCVTextDispT(_DEOCVTextPtr pintf)
  {
    TAutoDriver<_DEOCVText>::Bind(pintf, true);
  }

  _DEOCVTextDispT& operator=(_DEOCVText *pintf)
  {
    TAutoDriver<_DEOCVText>::Bind(pintf, false);
    return *this;
  }

  _DEOCVTextDispT& operator=(_DEOCVTextPtr pintf)
  {
    TAutoDriver<_DEOCVText>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EOCVText));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EOCVText);
  }

  void            __fastcall set_NumContourPoints(long Value);
  long            __fastcall get_NumContourPoints();
  void            __fastcall set_TemplateLocationScore(float Value);
  float           __fastcall get_TemplateLocationScore();
  void            __fastcall set_SampleLocationScore(float Value);
  float           __fastcall get_SampleLocationScore();
  void            __fastcall set_LocationScoreTolerance(float Value);
  float           __fastcall get_LocationScoreTolerance();
  void            __fastcall set_ShiftX(float Value);
  float           __fastcall get_ShiftX();
  void            __fastcall set_ShiftXBias(float Value);
  float           __fastcall get_ShiftXBias();
  void            __fastcall set_ShiftXTolerance(float Value);
  float           __fastcall get_ShiftXTolerance();
  void            __fastcall set_ShiftXStride(long Value);
  long            __fastcall get_ShiftXStride();
  void            __fastcall set_ShiftY(float Value);
  float           __fastcall get_ShiftY();
  void            __fastcall set_ShiftYBias(float Value);
  float           __fastcall get_ShiftYBias();
  void            __fastcall set_ShiftYTolerance(float Value);
  float           __fastcall get_ShiftYTolerance();
  void            __fastcall set_ShiftYStride(long Value);
  long            __fastcall get_ShiftYStride();
  void            __fastcall set_Skew(float Value);
  float           __fastcall get_Skew();
  void            __fastcall set_SkewBias(float Value);
  float           __fastcall get_SkewBias();
  void            __fastcall set_SkewTolerance(float Value);
  float           __fastcall get_SkewTolerance();
  void            __fastcall set_SkewCount(long Value);
  long            __fastcall get_SkewCount();
  void            __fastcall set_ScaleX(float Value);
  float           __fastcall get_ScaleX();
  void            __fastcall set_ScaleXBias(float Value);
  float           __fastcall get_ScaleXBias();
  void            __fastcall set_ScaleXTolerance(float Value);
  float           __fastcall get_ScaleXTolerance();
  void            __fastcall set_ScaleXCount(long Value);
  long            __fastcall get_ScaleXCount();
  void            __fastcall set_ScaleY(float Value);
  float           __fastcall get_ScaleY();
  void            __fastcall set_ScaleYBias(float Value);
  float           __fastcall get_ScaleYBias();
  void            __fastcall set_ScaleYTolerance(float Value);
  float           __fastcall get_ScaleYTolerance();
  void            __fastcall set_ScaleYCount(long Value);
  long            __fastcall get_ScaleYCount();
  void            __fastcall set_Shear(float Value);
  float           __fastcall get_Shear();
  void            __fastcall set_ShearBias(float Value);
  float           __fastcall get_ShearBias();
  void            __fastcall set_ShearTolerance(float Value);
  float           __fastcall get_ShearTolerance();
  void            __fastcall set_ShearCount(long Value);
  long            __fastcall get_ShearCount();
  void            __fastcall set_DiagnosticTextNotFound(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextNotFound();
  void            __fastcall set_DiagnosticTextOverprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextOverprinting();
  void            __fastcall set_DiagnosticTextUnderprinting(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextUnderprinting();
  void            __fastcall set_DiagnosticTextMismatch(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_DiagnosticTextMismatch();
  void            __fastcall set_TemplateForegroundArea(long Value);
  long            __fastcall get_TemplateForegroundArea();
  void            __fastcall set_SampleForegroundArea(long Value);
  long            __fastcall get_SampleForegroundArea();
  void            __fastcall set_ForegroundAreaTolerance(long Value);
  long            __fastcall get_ForegroundAreaTolerance();
  void            __fastcall set_TemplateBackgroundArea(long Value);
  long            __fastcall get_TemplateBackgroundArea();
  void            __fastcall set_SampleBackgroundArea(long Value);
  long            __fastcall get_SampleBackgroundArea();
  void            __fastcall set_BackgroundAreaTolerance(long Value);
  long            __fastcall get_BackgroundAreaTolerance();
  void            __fastcall set_TemplateForegroundSum(float Value);
  float           __fastcall get_TemplateForegroundSum();
  void            __fastcall set_SampleForegroundSum(float Value);
  float           __fastcall get_SampleForegroundSum();
  void            __fastcall set_ForegroundSumTolerance(float Value);
  float           __fastcall get_ForegroundSumTolerance();
  void            __fastcall set_TemplateBackgroundSum(float Value);
  float           __fastcall get_TemplateBackgroundSum();
  void            __fastcall set_SampleBackgroundSum(float Value);
  float           __fastcall get_SampleBackgroundSum();
  void            __fastcall set_BackgroundSumTolerance(float Value);
  float           __fastcall get_BackgroundSumTolerance();
  void            __fastcall set_Correlation(float Value);
  float           __fastcall get_Correlation();
  void            __fastcall set_CorrelationTolerance(float Value);
  float           __fastcall get_CorrelationTolerance();
  void            __fastcall set_LocationScoreAverage(float Value);
  float           __fastcall get_LocationScoreAverage();
  void            __fastcall set_LocationScoreDeviation(float Value);
  float           __fastcall get_LocationScoreDeviation();
  void            __fastcall set_ShiftXAverage(float Value);
  float           __fastcall get_ShiftXAverage();
  void            __fastcall set_ShiftXDeviation(float Value);
  float           __fastcall get_ShiftXDeviation();
  void            __fastcall set_ShiftYAverage(float Value);
  float           __fastcall get_ShiftYAverage();
  void            __fastcall set_ShiftYDeviation(float Value);
  float           __fastcall get_ShiftYDeviation();
  void            __fastcall set_ShearAverage(float Value);
  float           __fastcall get_ShearAverage();
  void            __fastcall set_ShearDeviation(float Value);
  float           __fastcall get_ShearDeviation();
  void            __fastcall set_SkewAverage(float Value);
  float           __fastcall get_SkewAverage();
  void            __fastcall set_SkewDeviation(float Value);
  float           __fastcall get_SkewDeviation();
  void            __fastcall set_ScaleXAverage(float Value);
  float           __fastcall get_ScaleXAverage();
  void            __fastcall set_ScaleXDeviation(float Value);
  float           __fastcall get_ScaleXDeviation();
  void            __fastcall set_ScaleYAverage(float Value);
  float           __fastcall get_ScaleYAverage();
  void            __fastcall set_ScaleYDeviation(float Value);
  float           __fastcall get_ScaleYDeviation();
  void            __fastcall set_ForegroundAreaAverage(float Value);
  float           __fastcall get_ForegroundAreaAverage();
  void            __fastcall set_ForegroundAreaDeviation(float Value);
  float           __fastcall get_ForegroundAreaDeviation();
  void            __fastcall set_BackgroundAreaAverage(float Value);
  float           __fastcall get_BackgroundAreaAverage();
  void            __fastcall set_BackgroundAreaDeviation(float Value);
  float           __fastcall get_BackgroundAreaDeviation();
  void            __fastcall set_ForegroundSumAverage(float Value);
  float           __fastcall get_ForegroundSumAverage();
  void            __fastcall set_ForegroundSumDeviation(float Value);
  float           __fastcall get_ForegroundSumDeviation();
  void            __fastcall set_BackgroundSumAverage(float Value);
  float           __fastcall get_BackgroundSumAverage();
  void            __fastcall set_BackgroundSumDeviation(float Value);
  float           __fastcall get_BackgroundSumDeviation();
  void            __fastcall set_CorrelationAverage(float Value);
  float           __fastcall get_CorrelationAverage();
  void            __fastcall set_CorrelationDeviation(float Value);
  float           __fastcall get_CorrelationDeviation();
  void            __fastcall set_Selected(Evision_tlb::enumBooleanValues Value);
  Evision_tlb::enumBooleanValues __fastcall get_Selected();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall set_ShiftXMin(float Value);
  float           __fastcall get_ShiftXMin();
  void            __fastcall set_ShiftXMax(float Value);
  float           __fastcall get_ShiftXMax();
  void            __fastcall set_ShiftYMin(float Value);
  float           __fastcall get_ShiftYMin();
  void            __fastcall set_ShiftYMax(float Value);
  float           __fastcall get_ShiftYMax();
  void            __fastcall set_IsotropicScaling(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_IsotropicScaling();
  void            __fastcall set_ShearMin(float Value);
  float           __fastcall get_ShearMin();
  void            __fastcall set_ShearMax(float Value);
  float           __fastcall get_ShearMax();
  void            __fastcall set_SkewMin(float Value);
  float           __fastcall get_SkewMin();
  void            __fastcall set_SkewMax(float Value);
  float           __fastcall get_SkewMax();
  void            __fastcall set_ScaleXMin(float Value);
  float           __fastcall get_ScaleXMin();
  void            __fastcall set_ScaleXMax(float Value);
  float           __fastcall get_ScaleXMax();
  void            __fastcall set_ScaleYMin(float Value);
  float           __fastcall get_ScaleYMin();
  void            __fastcall set_ScaleYMax(float Value);
  float           __fastcall get_ScaleYMax();
  void            __fastcall ResetParameters();
  void            __fastcall AboutBox();

  __property   long            NumContourPoints = {read = get_NumContourPoints, write = set_NumContourPoints};
  __property   float           TemplateLocationScore = {read = get_TemplateLocationScore, write = set_TemplateLocationScore};
  __property   float           SampleLocationScore = {read = get_SampleLocationScore, write = set_SampleLocationScore};
  __property   float           LocationScoreTolerance = {read = get_LocationScoreTolerance, write = set_LocationScoreTolerance};
  __property   float           ShiftX = {read = get_ShiftX, write = set_ShiftX};
  __property   float           ShiftXBias = {read = get_ShiftXBias, write = set_ShiftXBias};
  __property   float           ShiftXTolerance = {read = get_ShiftXTolerance, write = set_ShiftXTolerance};
  __property   long            ShiftXStride = {read = get_ShiftXStride, write = set_ShiftXStride};
  __property   float           ShiftY = {read = get_ShiftY, write = set_ShiftY};
  __property   float           ShiftYBias = {read = get_ShiftYBias, write = set_ShiftYBias};
  __property   float           ShiftYTolerance = {read = get_ShiftYTolerance, write = set_ShiftYTolerance};
  __property   long            ShiftYStride = {read = get_ShiftYStride, write = set_ShiftYStride};
  __property   float           Skew = {read = get_Skew, write = set_Skew};
  __property   float           SkewBias = {read = get_SkewBias, write = set_SkewBias};
  __property   float           SkewTolerance = {read = get_SkewTolerance, write = set_SkewTolerance};
  __property   long            SkewCount = {read = get_SkewCount, write = set_SkewCount};
  __property   float           ScaleX = {read = get_ScaleX, write = set_ScaleX};
  __property   float           ScaleXBias = {read = get_ScaleXBias, write = set_ScaleXBias};
  __property   float           ScaleXTolerance = {read = get_ScaleXTolerance, write = set_ScaleXTolerance};
  __property   long            ScaleXCount = {read = get_ScaleXCount, write = set_ScaleXCount};
  __property   float           ScaleY = {read = get_ScaleY, write = set_ScaleY};
  __property   float           ScaleYBias = {read = get_ScaleYBias, write = set_ScaleYBias};
  __property   float           ScaleYTolerance = {read = get_ScaleYTolerance, write = set_ScaleYTolerance};
  __property   long            ScaleYCount = {read = get_ScaleYCount, write = set_ScaleYCount};
  __property   float           Shear = {read = get_Shear, write = set_Shear};
  __property   float           ShearBias = {read = get_ShearBias, write = set_ShearBias};
  __property   float           ShearTolerance = {read = get_ShearTolerance, write = set_ShearTolerance};
  __property   long            ShearCount = {read = get_ShearCount, write = set_ShearCount};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextNotFound = {read = get_DiagnosticTextNotFound, write = set_DiagnosticTextNotFound};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextOverprinting = {read = get_DiagnosticTextOverprinting, write = set_DiagnosticTextOverprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextUnderprinting = {read = get_DiagnosticTextUnderprinting, write = set_DiagnosticTextUnderprinting};
  __property   Evision_tlb::enumBooleanValues DiagnosticTextMismatch = {read = get_DiagnosticTextMismatch, write = set_DiagnosticTextMismatch};
  __property   long            TemplateForegroundArea = {read = get_TemplateForegroundArea, write = set_TemplateForegroundArea};
  __property   long            SampleForegroundArea = {read = get_SampleForegroundArea, write = set_SampleForegroundArea};
  __property   long            ForegroundAreaTolerance = {read = get_ForegroundAreaTolerance, write = set_ForegroundAreaTolerance};
  __property   long            TemplateBackgroundArea = {read = get_TemplateBackgroundArea, write = set_TemplateBackgroundArea};
  __property   long            SampleBackgroundArea = {read = get_SampleBackgroundArea, write = set_SampleBackgroundArea};
  __property   long            BackgroundAreaTolerance = {read = get_BackgroundAreaTolerance, write = set_BackgroundAreaTolerance};
  __property   float           TemplateForegroundSum = {read = get_TemplateForegroundSum, write = set_TemplateForegroundSum};
  __property   float           SampleForegroundSum = {read = get_SampleForegroundSum, write = set_SampleForegroundSum};
  __property   float           ForegroundSumTolerance = {read = get_ForegroundSumTolerance, write = set_ForegroundSumTolerance};
  __property   float           TemplateBackgroundSum = {read = get_TemplateBackgroundSum, write = set_TemplateBackgroundSum};
  __property   float           SampleBackgroundSum = {read = get_SampleBackgroundSum, write = set_SampleBackgroundSum};
  __property   float           BackgroundSumTolerance = {read = get_BackgroundSumTolerance, write = set_BackgroundSumTolerance};
  __property   float           Correlation = {read = get_Correlation, write = set_Correlation};
  __property   float           CorrelationTolerance = {read = get_CorrelationTolerance, write = set_CorrelationTolerance};
  __property   float           LocationScoreAverage = {read = get_LocationScoreAverage, write = set_LocationScoreAverage};
  __property   float           LocationScoreDeviation = {read = get_LocationScoreDeviation, write = set_LocationScoreDeviation};
  __property   float           ShiftXAverage = {read = get_ShiftXAverage, write = set_ShiftXAverage};
  __property   float           ShiftXDeviation = {read = get_ShiftXDeviation, write = set_ShiftXDeviation};
  __property   float           ShiftYAverage = {read = get_ShiftYAverage, write = set_ShiftYAverage};
  __property   float           ShiftYDeviation = {read = get_ShiftYDeviation, write = set_ShiftYDeviation};
  __property   float           ShearAverage = {read = get_ShearAverage, write = set_ShearAverage};
  __property   float           ShearDeviation = {read = get_ShearDeviation, write = set_ShearDeviation};
  __property   float           SkewAverage = {read = get_SkewAverage, write = set_SkewAverage};
  __property   float           SkewDeviation = {read = get_SkewDeviation, write = set_SkewDeviation};
  __property   float           ScaleXAverage = {read = get_ScaleXAverage, write = set_ScaleXAverage};
  __property   float           ScaleXDeviation = {read = get_ScaleXDeviation, write = set_ScaleXDeviation};
  __property   float           ScaleYAverage = {read = get_ScaleYAverage, write = set_ScaleYAverage};
  __property   float           ScaleYDeviation = {read = get_ScaleYDeviation, write = set_ScaleYDeviation};
  __property   float           ForegroundAreaAverage = {read = get_ForegroundAreaAverage, write = set_ForegroundAreaAverage};
  __property   float           ForegroundAreaDeviation = {read = get_ForegroundAreaDeviation, write = set_ForegroundAreaDeviation};
  __property   float           BackgroundAreaAverage = {read = get_BackgroundAreaAverage, write = set_BackgroundAreaAverage};
  __property   float           BackgroundAreaDeviation = {read = get_BackgroundAreaDeviation, write = set_BackgroundAreaDeviation};
  __property   float           ForegroundSumAverage = {read = get_ForegroundSumAverage, write = set_ForegroundSumAverage};
  __property   float           ForegroundSumDeviation = {read = get_ForegroundSumDeviation, write = set_ForegroundSumDeviation};
  __property   float           BackgroundSumAverage = {read = get_BackgroundSumAverage, write = set_BackgroundSumAverage};
  __property   float           BackgroundSumDeviation = {read = get_BackgroundSumDeviation, write = set_BackgroundSumDeviation};
  __property   float           CorrelationAverage = {read = get_CorrelationAverage, write = set_CorrelationAverage};
  __property   float           CorrelationDeviation = {read = get_CorrelationDeviation, write = set_CorrelationDeviation};
  __property   Evision_tlb::enumBooleanValues Selected = {read = get_Selected, write = set_Selected};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
  __property   float           ShiftXMin = {read = get_ShiftXMin, write = set_ShiftXMin};
  __property   float           ShiftXMax = {read = get_ShiftXMax, write = set_ShiftXMax};
  __property   float           ShiftYMin = {read = get_ShiftYMin, write = set_ShiftYMin};
  __property   float           ShiftYMax = {read = get_ShiftYMax, write = set_ShiftYMax};
  __property   TOLEBOOL        IsotropicScaling = {read = get_IsotropicScaling, write = set_IsotropicScaling};
  __property   float           ShearMin = {read = get_ShearMin, write = set_ShearMin};
  __property   float           ShearMax = {read = get_ShearMax, write = set_ShearMax};
  __property   float           SkewMin = {read = get_SkewMin, write = set_SkewMin};
  __property   float           SkewMax = {read = get_SkewMax, write = set_SkewMax};
  __property   float           ScaleXMin = {read = get_ScaleXMin, write = set_ScaleXMin};
  __property   float           ScaleXMax = {read = get_ScaleXMax, write = set_ScaleXMax};
  __property   float           ScaleYMin = {read = get_ScaleYMin, write = set_ScaleYMin};
  __property   float           ScaleYMax = {read = get_ScaleYMax, write = set_ScaleYMax};
};
typedef _DEOCVTextDispT<_DEOCVText> _DEOCVTextDisp;

// *********************************************************************//
// DispIntf:  _DEOCVTextEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEOCVTextEventsDispT : public TAutoDriver<_DEOCVTextEvents>
{
public:
  _DEOCVTextEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEOCVTextEventsDispT<_DEOCVTextEvents> _DEOCVTextEventsDisp;

// *********************************************************************//
// DispIntf:  _DEasyMain
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EAC-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEasyMainDispT : public TAutoDriver<_DEasyMain>
{
public:
  _DEasyMainDispT(){}

  _DEasyMainDispT(_DEasyMain *pintf)
  {
    TAutoDriver<_DEasyMain>::Bind(pintf, false);
  }

  _DEasyMainDispT(_DEasyMainPtr pintf)
  {
    TAutoDriver<_DEasyMain>::Bind(pintf, true);
  }

  _DEasyMainDispT& operator=(_DEasyMain *pintf)
  {
    TAutoDriver<_DEasyMain>::Bind(pintf, false);
    return *this;
  }

  _DEasyMainDispT& operator=(_DEasyMainPtr pintf)
  {
    TAutoDriver<_DEasyMain>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EasyMain));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EasyMain);
  }

  void            __fastcall set_TraceMode(Evision_tlb::enumTraceModes Value);
  Evision_tlb::enumTraceModes __fastcall get_TraceMode();
  void            __fastcall set_Version(BSTR Value);
  BSTR            __fastcall get_Version();
  void            __fastcall set_Error(short Value);
  short           __fastcall get_Error();
  void            __fastcall set_ErrorText(BSTR Value);
  BSTR            __fastcall get_ErrorText();
  void            __fastcall set_JpegQuality(long Value);
  long            __fastcall get_JpegQuality();
  void            __fastcall set_TiffThreshold(long Value);
  long            __fastcall get_TiffThreshold();
  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_AngleUnit(Evision_tlb::enumAngleUnits Value);
  Evision_tlb::enumAngleUnits __fastcall get_AngleUnit();
  void            __fastcall set_MMX(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_MMX();
  void            __fastcall set_TrueTimingResolution(long Value);
  long            __fastcall get_TrueTimingResolution();
  void            __fastcall set_EnableExceptions(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_EnableExceptions();
  void            __fastcall Render3DBW8(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float Phi, 
                                         float Psi, float XScale, float YScale, float ZScale, 
                                         long PixelSize);
  void            __fastcall Render3DC24(LPDISPATCH C24SrcImage, LPDISPATCH BW8ZImage, 
                                         LPDISPATCH C24DstImage, float Phi, float Psi, float XScale
                                         , float YScale, float ZScale, long PixelSize);
  void            __fastcall RenderColorHistogram(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                                  float Phi, float Psi, float XScale, float YScale, 
                                                  float ZScale);
  void            __fastcall OpBW8Cst2(Evision_tlb::enumImgOperators Operation, short GrayCst, 
                                       LPDISPATCH BW8DstImage);
  void            __fastcall OpBW8Cst23(Evision_tlb::enumImgOperators Operation, short GrayCst, 
                                        LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage);
  void            __fastcall Op1BW8Cst3(Evision_tlb::enumImgOperators Operation, 
                                        LPDISPATCH BW8SrcImage, short GrayCst, 
                                        LPDISPATCH BW8DstImage);
  void            __fastcall OpC24Cst2(Evision_tlb::enumImgOperators Operation, short RedCst, 
                                       short GreenCst, short BlueCst, LPDISPATCH C24DstImage);
  void            __fastcall OpC24Cst23(Evision_tlb::enumImgOperators Operation, short RedCst, 
                                        short GreenCst, short BlueCst, LPDISPATCH C24SrcImage, 
                                        LPDISPATCH C24DstImage);
  void            __fastcall Op1C24Cst3(Evision_tlb::enumImgOperators Operation, 
                                        LPDISPATCH C24SrcImage, short RedCst, short GreenCst, 
                                        short BlueCst, LPDISPATCH C24DstImage);
  void            __fastcall Op12(Evision_tlb::enumImgOperators Operation, LPDISPATCH SrcImage, 
                                  LPDISPATCH DstImage);
  void            __fastcall Op123(Evision_tlb::enumImgOperators Operation, LPDISPATCH SrcImage1, 
                                   LPDISPATCH SrcImage2, LPDISPATCH DstImage);
  void            __fastcall Convert(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall GainOffset(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float Gain, 
                                        float Offset);
  void            __fastcall Transform(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                       long Transformation, TOLEBOOL UseLUT);
  void            __fastcall Lut(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                 LPDISPATCH BW8LUTVector);
  void            __fastcall Normalize(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                       float NewAverage, float NewStdDev);
  void            __fastcall Uniformize1(LPDISPATCH BW8SrcImage, short Light, 
                                         LPDISPATCH BW8LightBackgroundImage, LPDISPATCH BW8DstImage);
  void            __fastcall Uniformize2(LPDISPATCH BW8SrcImage, short Light, 
                                         LPDISPATCH BW8LightBackgroundImage, short Dark, 
                                         LPDISPATCH BW8DarkBackgroundImage, LPDISPATCH BW8DstImage);
  void            __fastcall SetRecursiveAverageLUT(LPDISPATCH BW16LUTVector, float Reduction, 
                                                    float Width);
  void            __fastcall RecursiveAverage(LPDISPATCH BW8SrcImage, LPDISPATCH BW16StoreImage, 
                                              LPDISPATCH BW8DstImage, LPDISPATCH BW16LUTVector);
  void            __fastcall ThresholdBW8(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                          long Threshold, short LowValue, short HighValue);
  void            __fastcall DoubleThreshold(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                             long LowThreshold, long HighThreshold, short LowValue, 
                                             short MidValue, short HighValue);
  void            __fastcall ThresholdC24Lookup(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                                short MinRedValue, short MinGreenValue, 
                                                short MinBlueValue, short MaxRedValue, 
                                                short MaxGreenValue, short MaxBlueValue, 
                                                LPDISPATCH ColorLookup, short RejectValue, 
                                                short AcceptValue);
  void            __fastcall ThresholdC24(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                          short MinRedValue, short MinGreenValue, short MinBlueValue
                                          , short MaxRedValue, short MaxGreenValue, 
                                          short MaxBlueValue, short RejectValue, short AcceptValue);
  void            __fastcall IsodataThreshold(LPDISPATCH BW8HistogramVector, long From, long To, 
                                              long* Threshold);
  void            __fastcall Convolution(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH Kernel);
  void            __fastcall Highpass1(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Highpass2(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Lowpass1(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Lowpass2(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Lowpass3(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall SobelX(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall SobelY(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Sobel(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall PrewittX(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall PrewittY(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Prewitt(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Laplacian4(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Laplacian8(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Open(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes);
  void            __fastcall Close(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes);
  void            __fastcall Erode(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes);
  void            __fastcall Dilate(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes);
  void            __fastcall BlackTopHat(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes);
  void            __fastcall WhiteTopHat(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes);
  void            __fastcall Median(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Thin(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH ThinKernel, 
                                  Evision_tlb::enumImgKernelRotationModes KernelRotationMode, 
                                  short Iterations);
  void            __fastcall Thick(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH ThickKernel
                                   , Evision_tlb::enumImgKernelRotationModes KernelRotationMode, 
                                   short Iterations);
  void            __fastcall Histogram(LPDISPATCH BW8SrcImage, LPDISPATCH BW8HistogramVector);
  float           __fastcall AnalyseHistogram(LPDISPATCH BW8HistogramVector, 
                                              Evision_tlb::enumImgHistogramFeatures HistogramFeature
                                              , long MinIndex, long MaxIndex);
  void            __fastcall Equalize(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage);
  void            __fastcall ProjectOnARow(LPDISPATCH BW8SrcImage, LPDISPATCH BW32ProjectionVector);
  void            __fastcall ProjectOnAColumn(LPDISPATCH BW8SrcImage, 
                                              LPDISPATCH BW32ProjectionVector);
  void            __fastcall RebuildFrame(LPDISPATCH SrcImage, LPDISPATCH DstImage, long FixedRow);
  void            __fastcall RealignFrame(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Offset, 
                                          long FixedRow);
  void            __fastcall MatchFrames(LPDISPATCH SrcImage, long FixedRow, long MinOffset, 
                                         long MaxOffset, long* BestOffset);
  void            __fastcall SetupEqualize(LPDISPATCH BW8HistogramVector, 
                                           LPDISPATCH BW8VectorLookupTable);
  void            __fastcall ImageToLineSegment(LPDISPATCH SrcImage, LPDISPATCH Vector, long X0, 
                                                long Y0, long X1, long Y1);
  void            __fastcall LineSegmentToImage(LPDISPATCH DstImage, LPDISPATCH Vector, long X0, 
                                                long Y0, long X1, long Y1);
  void            __fastcall ImageToPath(LPDISPATCH SrcImage, LPDISPATCH PathVector);
  void            __fastcall PathToImage(LPDISPATCH DstImage, LPDISPATCH PathVector);
  void            __fastcall ProfileDerivative(LPDISPATCH BW8SrcVector, LPDISPATCH BW8DstVector);
  void            __fastcall GetProfilePeaks(LPDISPATCH BW8VectorProfile, LPDISPATCH PeaksVector, 
                                             long LowThreshold, long HighThreshold, 
                                             long MinAmplitude, long MinArea);
  void            __fastcall PixelMin(LPDISPATCH BW8SrcImage, short* MinPixelValue);
  void            __fastcall PixelMax(LPDISPATCH BW8SrcImage, short* MaxPixelValue);
  void            __fastcall PixelAverageBW8(LPDISPATCH BW8SrcImage, float* Average);
  void            __fastcall PixelAverageC24(LPDISPATCH C24SrcImage, float* Mean0, float* Mean1, 
                                             float* Mean2);
  void            __fastcall PixelStat(LPDISPATCH BW8SrcImage, short* MinPixelValue, 
                                       short* MaxPixelValue, float* Average);
  void            __fastcall PixelStdDevBW8(LPDISPATCH BW8SrcImage, float* StdDev, float* Average);
  void            __fastcall PixelStdDevC24(LPDISPATCH C24SrcImage, float* StdDev0, float* StdDev1, 
                                            float* StdDev2, float* Correlation01, 
                                            float* Correlation12, float* Correlation20, float* Mean0
                                            , float* Mean1, float* Mean2);
  void            __fastcall PixelCount(LPDISPATCH BW8SrcImage, short LowThreshold, 
                                        short HighThreshold, long* PixelsBelow, long* PixelsBetween
                                        , long* PixelsAbove);
  void            __fastcall Area(LPDISPATCH BW8SrcImage, short Threshold, long* PixelsAbove);
  void            __fastcall AreaDoubleThreshold(LPDISPATCH BW8SrcImage, short LowThreshold, 
                                                 short HighThreshold, long* PixelsBetween);
  void            __fastcall PixelVarianceBW8(LPDISPATCH BW8SrcImage, float* Variance, float* Mean);
  void            __fastcall PixelVarianceC24(LPDISPATCH C24SrcImage, float* Variance0, 
                                              float* Variance1, float* Variance2, 
                                              float* Covariance01, float* Covariance12, 
                                              float* Covariance20, float* Mean0, float* Mean1, 
                                              float* Mean2);
  void            __fastcall GravityCenter(LPDISPATCH BW8SrcImage, long Threshold, float* GravityX, 
                                           float* GravityY);
  void            __fastcall BinaryMoments1(LPDISPATCH BW8SrcImage, long Threshold, float* M, 
                                            float* Mx, float* My);
  void            __fastcall BinaryMoments2(LPDISPATCH BW8SrcImage, long Threshold, float* M, 
                                            float* Mx, float* My, float* Mxx, float* Mxy, float* Myy);
  void            __fastcall WeighedMoments1(LPDISPATCH BW8SrcImage, float* M, float* Mx, float* My);
  void            __fastcall WeighedMoments2(LPDISPATCH BW8SrcImage, float* M, float* Mx, float* My
                                             , float* Mxx, float* Mxy, float* Myy);
  void            __fastcall ContourBW8(LPDISPATCH BW8SrcImage, 
                                        Evision_tlb::enumImgContourMode ContourMode, long StartX, 
                                        long StartY, 
                                        Evision_tlb::enumImgContourThreshold ThresholdMode, 
                                        long Threshold, 
                                        Evision_tlb::enumImgContourConnexity ConnexityMode, 
                                        LPDISPATCH BW8PathVector);
  void            __fastcall VerticalMirror(LPDISPATCH SrcImage);
  void            __fastcall HorizontalMirror(LPDISPATCH SrcImage);
  void            __fastcall ScaleRotate(LPDISPATCH SrcImage, float SrcPivotX, float SrcPivotY, 
                                         float DstPivotX, float DstPivotY, float ScaleX, 
                                         float ScaleY, float Rotation, LPDISPATCH DstImage, 
                                         long InterpolationBits);
  void            __fastcall Shrink(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall DequantizeRGB(short SrcRed, short SrcGreen, short SrcBlue, 
                                           float* DstRed, float* DstGreen, float* DstBlue);
  void            __fastcall QuantizeRGB(float SrcRed, float SrcGreen, float SrcBlue, short* DstRed
                                         , short* DstGreen, short* DstBlue);
  void            __fastcall DequantizeXYZ(short Red, short Green, short Blue, float* X, float* Y, 
                                           float* Z);
  void            __fastcall QuantizeXYZ(float X, float Y, float Z, short* Red, short* Green, 
                                         short* Blue);
  void            __fastcall UnquantizedRGBToXYZ(float Red, float Green, float Blue, float* X, 
                                                 float* Y, float* Z);
  void            __fastcall UnquantizedXYZToRGB(float X, float Y, float Z, float* Red, float* Green
                                                 , float* Blue);
  void            __fastcall UnquantizedRGBToReducedXYZ(float Red, float Green, float Blue, float* X
                                                        , float* Y, float* Z);
  void            __fastcall DequantizeYUV(short Red, short Green, short Blue, float* YLuma, 
                                           float* UChroma, float* VChroma);
  void            __fastcall QuantizeYUV(float YLuma, float UChroma, float VChroma, short* Red, 
                                         short* Green, short* Blue);
  void            __fastcall UnquantizedRGBToYUV(float Red, float Green, float Blue, float* YLuma, 
                                                 float* UChroma, float* VChroma);
  void            __fastcall UnquantizedYUVToRGB(float YLuma, float UChroma, float VChroma, 
                                                 float* Red, float* Green, float* Blue);
  void            __fastcall DequantizeYIQ(short Red, short Green, short Blue, float* YLuma, 
                                           float* Inphase, float* Quadrature);
  void            __fastcall QuantizeYIQ(float YLuma, float Inphase, float Quadrature, short* Red, 
                                         short* Green, short* Blue);
  void            __fastcall UnquantizedRGBToYIQ(float Red, float Green, float Blue, float* YLuma, 
                                                 float* Inphase, float* Quadrature);
  void            __fastcall UnquantizedYIQToRGB(float YLuma, float Inphase, float Quadrature, 
                                                 float* Red, float* Green, float* Blue);
  void            __fastcall DequantizeLSH(short Red, short Green, short Blue, float* Lightness, 
                                           float* Saturation, float* Hue);
  void            __fastcall QuantizeLSH(float Lightness, float Saturation, float Hue, short* Red, 
                                         short* Green, short* Blue);
  void            __fastcall UnquantizedRGBToLSH(float Red, float Green, float Blue, 
                                                 float* Lightness, float* Saturation, float* Hue);
  void            __fastcall UnquantizedLSHToRGB(float Lightness, float Saturation, float Hue, 
                                                 float* Red, float* Green, float* Blue);
  void            __fastcall DequantizeVSH(short Red, short Green, short Blue, float* Value, 
                                           float* Saturation, float* Hue);
  void            __fastcall QuantizeVSH(float Value, float Saturation, float Hue, short* Red, 
                                         short* Green, short* Blue);
  void            __fastcall UnquantizedRGBToVSH(float Red, float Green, float Blue, float* Value, 
                                                 float* Saturation, float* Hue);
  void            __fastcall UnquantizedVSHToRGB(float Value, float Saturation, float Hue, 
                                                 float* Red, float* Green, float* Blue);
  void            __fastcall DequantizeISH(short Red, short Green, short Blue, float* Intensity, 
                                           float* Saturation, float* Hue);
  void            __fastcall QuantizeISH(float Intensity, float Saturation, float Hue, short* Red, 
                                         short* Green, short* Blue);
  void            __fastcall UnquantizedRGBToISH(float Red, float Green, float Blue, 
                                                 float* Intensity, float* Saturation, float* Hue);
  void            __fastcall UnquantizedISHToRGB(float Intensity, float Saturation, float Hue, 
                                                 float* Red, float* Green, float* Blue);
  void            __fastcall DequantizeYSH(short Red, short Green, short Blue, float* Brightness, 
                                           float* Saturation, float* Hue);
  void            __fastcall QuantizeYSH(float Brightness, float Saturation, float Hue, short* Red, 
                                         short* Green, short* Blue);
  void            __fastcall UnquantizedRGBToYSH(float Red, float Green, float Blue, 
                                                 float* Brightness, float* Saturation, float* Hue);
  void            __fastcall UnquantizedYSHToRGB(float Brightness, float Saturation, float Hue, 
                                                 float* Red, float* Green, float* Blue);
  void            __fastcall DequantizeLAB(short Red, short Green, short Blue, float* Lightness, 
                                           float* A, float* B);
  void            __fastcall QuantizeLAB(float Lightness, float A, float B, short* Red, short* Green
                                         , short* Blue);
  void            __fastcall UnquantizedRGBToLAB(float Red, float Green, float Blue, 
                                                 float* Lightness, float* A, float* B);
  void            __fastcall UnquantizedLABToRGB(float Lightness, float A, float B, float* Red, 
                                                 float* Green, float* Blue);
  void            __fastcall UnquantizedXYZToLAB(float X, float Y, float Z, float* Lightness, 
                                                 float* A, float* B);
  void            __fastcall UnquantizedLABToXYZ(float Lightness, float A, float B, float* X, 
                                                 float* Y, float* Z);
  void            __fastcall DequantizeLCH(short Red, short Green, short Blue, float* Lightness, 
                                           float* Chroma, float* Hue);
  void            __fastcall QuantizeLCH(float Lightness, float Chroma, float Hue, short* Red, 
                                         short* Green, short* Blue);
  void            __fastcall UnquantizedRGBToLCH(float Red, float Green, float Blue, 
                                                 float* Lightness, float* Chroma, float* Hue);
  void            __fastcall UnquantizedLCHToRGB(float Lightness, float Chroma, float Hue, 
                                                 float* Red, float* Green, float* Blue);
  void            __fastcall DequantizeLUV(short Red, short Green, short Blue, float* Lightness, 
                                           float* U, float* V);
  void            __fastcall QuantizeLUV(float Lightness, float U, float V, short* Red, short* Green
                                         , short* Blue);
  void            __fastcall UnquantizedRGBToLUV(float Red, float Green, float Blue, 
                                                 float* Lightness, float* U, float* V);
  void            __fastcall UnquantizedLUVToRGB(float Lightness, float U, float V, float* Red, 
                                                 float* Green, float* Blue);
  void            __fastcall UnquantizedXYZToLUV(float X, float Y, float Z, float* Lightness, 
                                                 float* U, float* V);
  void            __fastcall UnquantizedLUVToXYZ(float Lightness, float U, float V, float* X, 
                                                 float* Y, float* Z);
  void            __fastcall QuantizedRGBToXYZ(short Red, short Green, short Blue, short* X, 
                                               short* Y, short* Z);
  void            __fastcall QuantizedXYZToRGB(short X, short Y, short Z, short* Red, short* Green, 
                                               short* Blue);
  void            __fastcall QuantizedRGBToReducedXYZ(short Red, short Green, short Blue, short* X, 
                                                      short* Y, short* Z);
  void            __fastcall QuantizedRGBToYUV(short Red, short Green, short Blue, short* YLuma, 
                                               short* UChroma, short* VChroma);
  void            __fastcall QuantizedYUVToRGB(short YLuma, short UChroma, short VChroma, short* Red
                                               , short* Green, short* Blue);
  void            __fastcall QuantizedRGBToYIQ(short Red, short Green, short Blue, short* YLuma, 
                                               short* Inphase, short* Quadrature);
  void            __fastcall QuantizedYIQToRGB(short YLuma, short Inphase, short Quadrature, 
                                               short* Red, short* Green, short* Blue);
  void            __fastcall QuantizedRGBToLSH(short Red, short Green, short Blue, short* Lightness
                                               , short* Saturation, short* Hue);
  void            __fastcall QuantizedLSHToRGB(short Lightness, short Saturation, short Hue, 
                                               short* Red, short* Green, short* Blue);
  void            __fastcall QuantizedRGBToVSH(short Red, short Green, short Blue, short* Value, 
                                               short* Saturation, short* Hue);
  void            __fastcall QuantizedVSHToRGB(short Value, short Saturation, short Hue, short* Red
                                               , short* Green, short* Blue);
  void            __fastcall QuantizedRGBToISH(short Red, short Green, short Blue, short* Intensity
                                               , short* Saturation, short* Hue);
  void            __fastcall QuantizedISHToRGB(short Intensity, short Saturation, short Hue, 
                                               short* Red, short* Green, short* Blue);
  void            __fastcall QuantizedRGBToYSH(short Red, short Green, short Blue, short* Brightness
                                               , short* Saturation, short* Hue);
  void            __fastcall QuantizedYSHToRGB(short Brightness, short Saturation, short Hue, 
                                               short* Red, short* Green, short* Blue);
  void            __fastcall QuantizedRGBToLAB(short Red, short Green, short Blue, short* Luminance
                                               , short* A, short* B);
  void            __fastcall QuantizedLABToRGB(short Luminance, short A, short B, short* Red, 
                                               short* Green, short* Blue);
  void            __fastcall QuantizedXYZToLAB(short X, short Y, short Z, short* Luminance, short* A
                                               , short* B);
  void            __fastcall QuantizedLABToXYZ(short Luminance, short A, short B, short* X, short* Y
                                               , short* Z);
  void            __fastcall QuantizedRGBToLCH(short Red, short Green, short Blue, short* Lightness
                                               , short* Chroma, short* Hue);
  void            __fastcall QuantizedLCHToRGB(short Lightness, short Chroma, short Hue, short* Red
                                               , short* Green, short* Blue);
  void            __fastcall QuantizedRGBToLUV(short Red, short Green, short Blue, short* Luminance
                                               , short* U, short* V);
  void            __fastcall QuantizedLUVToRGB(short Luminance, short U, short V, short* Red, 
                                               short* Green, short* Blue);
  void            __fastcall QuantizedXYZToLUV(short X, short Y, short Z, short* Luminance, short* U
                                               , short* V);
  void            __fastcall QuantizedLUVToXYZ(short Luminance, short U, short V, short* X, short* Y
                                               , short* Z);
  void            __fastcall Compose(LPDISPATCH BW8SrcC0Image, LPDISPATCH BW8SrcC1Image, 
                                     LPDISPATCH BW8SrcC2Image, LPDISPATCH C24DstImage, 
                                     LPDISPATCH ColorLookup);
  void            __fastcall Decompose(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstC0Image, 
                                       LPDISPATCH BW8DstC1Image, LPDISPATCH BW8DstC2Image, 
                                       LPDISPATCH ColorLookup);
  void            __fastcall SetComponent(LPDISPATCH BW8SrcImage, LPDISPATCH C24DstImage, 
                                          long Component);
  void            __fastcall TransformLookup(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                             LPDISPATCH ColorLookup);
  void            __fastcall TransformQuantized(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                                long Transformation, 
                                                Evision_tlb::enumColorSystems ColorSystemIn, 
                                                Evision_tlb::enumColorSystems ColorSystemOut);
  void            __fastcall TransformUnquantized(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                                  long Transformation, 
                                                  Evision_tlb::enumColorSystems ColorSystemIn, 
                                                  Evision_tlb::enumColorSystems ColorSystemOut);
  void            __fastcall GetComponent(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                          long Component);
  void            __fastcall GetComponentLookup(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                                long Component, LPDISPATCH ColorLookup);
  void            __fastcall StartTiming();
  long            __fastcall StopTiming();
  void            __fastcall FromRadians(float* Angle);
  void            __fastcall ToRadians(float* Angle);
  void            __fastcall ContourArea(LPDISPATCH PathVector, long* Area);
  void            __fastcall ContourGravityCenter(LPDISPATCH PathVector, long* Area, 
                                                  float* GravityCenterX, float* GravityCenterY);
  void            __fastcall ContourInertia(LPDISPATCH PathVector, long* Area, float* GravityCenterX
                                            , float* GravityCenterY, float* SigmaX, float* SigmaY, 
                                            float* sigmaXY);
  void            __fastcall Contour(LPDISPATCH BW8SrcImage, 
                                     Evision_tlb::enumImgContourMode ContourMode, long StartX, 
                                     long StartY, Evision_tlb::enumImgContourThreshold ThresholdMode
                                     , long Threshold, 
                                     Evision_tlb::enumImgContourConnexity ConnexityMode, 
                                     LPDISPATCH PathVector);
  void            __fastcall Roberts(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Distance(LPDISPATCH BW8SrcImage, LPDISPATCH BW16DstImage, long ValOut);
  void            __fastcall ConvertBW16(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Shift);
  void            __fastcall GainOffsetC24(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                           float RedGain, float GreenGain, float BlueGain, 
                                           float RedOffset, float GreenOffset, float BlueOffset);
  short           __fastcall AutoThresholdLevel(LPDISPATCH BW8SrcImage, 
                                                Evision_tlb::enumImgThresholdModes ThresholdMode, 
                                                float RelativeThreshold);
  void            __fastcall AutoThreshold(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                           Evision_tlb::enumImgThresholdModes ThresholdMode, 
                                           float RelativeThreshold);
  void            __fastcall Uniform(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                     long HalfHeight);
  void            __fastcall VectorUniform(LPDISPATCH BW8SrcVector, LPDISPATCH BW8DstVector, 
                                           long HalfWidth);
  float           __fastcall Focusing(LPDISPATCH SrcImage);
  float           __fastcall RmsNoise(LPDISPATCH BW8SrcImage, LPDISPATCH BW8RefImage, 
                                      Evision_tlb::enumImgReferenceNoise ReferenceNoise);
  float           __fastcall RmsNoiseAveraged(LPDISPATCH BW8SrcImage, LPDISPATCH BW16RefImage, 
                                              long Count, 
                                              Evision_tlb::enumImgReferenceNoise ReferenceNoise);
  void            __fastcall SignalNoiseRatio(LPDISPATCH BW8SrcImage, LPDISPATCH BW8RefImage, 
                                              Evision_tlb::enumImgReferenceNoise ReferenceNoise);
  void            __fastcall SignalNoiseRatioAveraged(LPDISPATCH BW8SrcImage, 
                                                      LPDISPATCH BW16RefImage, long Count, 
                                                      Evision_tlb::enumImgReferenceNoise ReferenceNoise);
  void            __fastcall RegisterTranslate(LPDISPATCH SrcImage, LPDISPATCH DstImage, 
                                               float SrcPivot0X, float SrcPivot0Y, float DstPivot0X
                                               , float DstPivot0Y, long InterpolationBits);
  void            __fastcall Register(LPDISPATCH SrcImage, LPDISPATCH DstImage, float SrcPivot0X, 
                                      float SrcPivot0Y, float SrcPivot1X, float SrcPivot1Y, 
                                      float DstPivot0X, float DstPivot0Y, float DstPivot1X, 
                                      float DstPivot1Y, long InterpolationBits, TOLEBOOL Resize);
  void            __fastcall EmptyCalibrationPointPairs();
  void            __fastcall AddCalibrationPointPair(float WorldX, float WorldY, float ImageX, 
                                                     float ImageY);
  void            __fastcall SetupLinearCalibration();
  void            __fastcall SetupPerspectiveCalibration();
  void            __fastcall GetCalibration(float* Axx, float* Axy, float* Ax, float* Ayx, 
                                            float* Ayy, float* Ay, float* Bx, float* By);
  void            __fastcall GetInvCalibration(float* Axx, float* Axy, float* Ax, float* Ayx, 
                                               float* Ayy, float* Ay, float* Bx, float* By);
  void            __fastcall GetCalibrationAngles(float* AngleX, float* AngleY, float* AngleZ);
  void            __fastcall LinearCalibration(float WorldX, float WorldY, float* ImageX, 
                                               float* ImageY);
  void            __fastcall InvLinearCalibration(float ImageX, float ImageY, float* WorldX, 
                                                  float* WorldY);
  void            __fastcall PerspectiveCalibration(float WorldX, float WorldY, float* ImageX, 
                                                    float* ImageY);
  void            __fastcall InvPerspectiveCalibration(float ImageX, float ImageY, float* WorldX, 
                                                       float* WorldY);
  void            __fastcall LinearCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage);
  void            __fastcall InvLinearCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage);
  void            __fastcall PerspectiveCalibrationImg(LPDISPATCH BW8SrcImage, 
                                                       LPDISPATCH BW8DstImage);
  void            __fastcall InvPerspectiveCalibrationImg(LPDISPATCH BW8SrcImage, 
                                                          LPDISPATCH BW8DstImage);
  void            __fastcall ConvolSymmetric(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                             LPDISPATCH Kernel);
  void            __fastcall Uniform3x3(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Uniform5x5(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Uniform7x7(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Gaussian3x3(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Gaussian5x5(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Gaussian7x7(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall LocalAverage(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                          long HalfWidth, long HalfHeight);
  void            __fastcall LocalDeviation(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                            long HalfWidth, long HalfHeight);
  void            __fastcall DilateBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                       long HalfHeight);
  void            __fastcall ErodeBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                      long HalfHeight);
  void            __fastcall OpenBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                     long HalfHeight);
  void            __fastcall CloseBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                      long HalfHeight);
  void            __fastcall WhiteTopHatBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth
                                            , long HalfHeight);
  void            __fastcall BlackTopHatBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth
                                            , long HalfHeight);
  void            __fastcall DilateDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth);
  void            __fastcall ErodeDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth);
  void            __fastcall OpenDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth);
  void            __fastcall CloseDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth);
  void            __fastcall WhiteTopHatDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, 
                                             long HalfWidth);
  void            __fastcall BlackTopHatDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, 
                                             long HalfWidth);
  void            __fastcall SetCircleWarp(float XCenter, float YCenter, long NumCircles, 
                                           float MinRadius, float MaxRadius, long NumRadii, 
                                           float MinAngle, float MaxAngle, LPDISPATCH BW16XImage, 
                                           LPDISPATCH BW16YImage);
  void            __fastcall ComposeRGB(LPDISPATCH BW8SrcC0Image, LPDISPATCH BW8SrcC1Image, 
                                        LPDISPATCH BW8SrcC2Image, LPDISPATCH C24DstImage);
  void            __fastcall DecomposeRGB(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstC0Image, 
                                          LPDISPATCH BW8DstC1Image, LPDISPATCH BW8DstC2Image);
  void            __fastcall Warp(LPDISPATCH SrcImage, LPDISPATCH DstImage, 
                                  LPDISPATCH BW16WarpXImage, LPDISPATCH BW16WarpYImage, long ShiftX
                                  , long ShiftY);
  OLE_HANDLE      __fastcall OpenImageBW8DC(LPDISPATCH ImageBW8);
  OLE_HANDLE      __fastcall OpenImageC24DC(LPDISPATCH ImageC24);
  void            __fastcall CloseImageBW8DC(LPDISPATCH ImageBW8);
  void            __fastcall CloseImageC24DC(LPDISPATCH ImageC24);
  void            __fastcall Gaussian(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                      long HalfHeight);
  void            __fastcall LaplacianX(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall LaplacianY(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall Gradient(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall GradientX(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall GradientY(LPDISPATCH SrcImage, LPDISPATCH DstImage);
  void            __fastcall C24ToBayer(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                        TOLEBOOL EvenCol, TOLEBOOL EvenRow);
  void            __fastcall BayerToC24(LPDISPATCH BW8SrcImage, LPDISPATCH C24DstImage, 
                                        TOLEBOOL EvenCol, TOLEBOOL EvenRow, TOLEBOOL Interpolate, 
                                        TOLEBOOL Improved);
  void            __fastcall TransformBayer(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                            LPDISPATCH ColorLookup, TOLEBOOL EvenCol, 
                                            TOLEBOOL EvenRow);
  void            __fastcall MorphoGradientBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, 
                                               long HalfWidth, long HalfHeight);
  void            __fastcall MorphoGradientDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, 
                                                long HalfWidth);
  void            __fastcall AboutBox();

  __property   Evision_tlb::enumTraceModes TraceMode = {read = get_TraceMode, write = set_TraceMode};
  __property   BSTR            Version = {read = get_Version, write = set_Version};
  __property   short           Error = {read = get_Error, write = set_Error};
  __property   BSTR            ErrorText = {read = get_ErrorText, write = set_ErrorText};
  __property   long            JpegQuality = {read = get_JpegQuality, write = set_JpegQuality};
  __property   long            TiffThreshold = {read = get_TiffThreshold, write = set_TiffThreshold};
  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   Evision_tlb::enumAngleUnits AngleUnit = {read = get_AngleUnit, write = set_AngleUnit};
  __property   TOLEBOOL        MMX = {read = get_MMX, write = set_MMX};
  __property   long            TrueTimingResolution = {read = get_TrueTimingResolution, write = set_TrueTimingResolution};
  __property   TOLEBOOL        EnableExceptions = {read = get_EnableExceptions, write = set_EnableExceptions};
};
typedef _DEasyMainDispT<_DEasyMain> _DEasyMainDisp;

// *********************************************************************//
// DispIntf:  _DEasyMainEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EAD-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEasyMainEventsDispT : public TAutoDriver<_DEasyMainEvents>
{
public:
  _DEasyMainEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEasyMainEventsDispT<_DEasyMainEvents> _DEasyMainEventsDisp;

// *********************************************************************//
// DispIntf:  _DEMovingAverage
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EBC-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEMovingAverageDispT : public TAutoDriver<_DEMovingAverage>
{
public:
  _DEMovingAverageDispT(){}

  _DEMovingAverageDispT(_DEMovingAverage *pintf)
  {
    TAutoDriver<_DEMovingAverage>::Bind(pintf, false);
  }

  _DEMovingAverageDispT(_DEMovingAveragePtr pintf)
  {
    TAutoDriver<_DEMovingAverage>::Bind(pintf, true);
  }

  _DEMovingAverageDispT& operator=(_DEMovingAverage *pintf)
  {
    TAutoDriver<_DEMovingAverage>::Bind(pintf, false);
    return *this;
  }

  _DEMovingAverageDispT& operator=(_DEMovingAveragePtr pintf)
  {
    TAutoDriver<_DEMovingAverage>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EMovingAverage));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EMovingAverage);
  }

  void            __fastcall set_Obj(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_Obj();
  void            __fastcall set_SourcePointer(long Value);
  long            __fastcall get_SourcePointer();
  void            __fastcall set_EmbeddedObject(long Value);
  long            __fastcall get_EmbeddedObject();
  void            __fastcall SetSize(long Period, long Width, long Height, TOLEBOOL Internal);
  void            __fastcall GetSize(long* Period, long* Width, long* Height, TOLEBOOL* Internal);
  void            __fastcall Average(LPDISPATCH BW8DstImage);
  void            __fastcall AverageSrc(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage);
  void            __fastcall Reset();
  void            __fastcall AboutBox();

  __property   LPDISPATCH      Obj = {read = get_Obj, write = set_Obj};
  __property   long            SourcePointer = {read = get_SourcePointer, write = set_SourcePointer};
  __property   long            EmbeddedObject = {read = get_EmbeddedObject, write = set_EmbeddedObject};
};
typedef _DEMovingAverageDispT<_DEMovingAverage> _DEMovingAverageDisp;

// *********************************************************************//
// DispIntf:  _DEMovingAverageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EBD-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEMovingAverageEventsDispT : public TAutoDriver<_DEMovingAverageEvents>
{
public:
  _DEMovingAverageEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEMovingAverageEventsDispT<_DEMovingAverageEvents> _DEMovingAverageEventsDisp;

// *********************************************************************//
// DispIntf:  _DEMatrixCode
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEMatrixCodeDispT : public TAutoDriver<_DEMatrixCode>
{
public:
  _DEMatrixCodeDispT(){}

  _DEMatrixCodeDispT(_DEMatrixCode *pintf)
  {
    TAutoDriver<_DEMatrixCode>::Bind(pintf, false);
  }

  _DEMatrixCodeDispT(_DEMatrixCodePtr pintf)
  {
    TAutoDriver<_DEMatrixCode>::Bind(pintf, true);
  }

  _DEMatrixCodeDispT& operator=(_DEMatrixCode *pintf)
  {
    TAutoDriver<_DEMatrixCode>::Bind(pintf, false);
    return *this;
  }

  _DEMatrixCodeDispT& operator=(_DEMatrixCodePtr pintf)
  {
    TAutoDriver<_DEMatrixCode>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EMatrixCode));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EMatrixCode);
  }

  void            __fastcall set_EccFamily(Evision_tlb::enumMxcECCFamily Value);
  Evision_tlb::enumMxcECCFamily __fastcall get_EccFamily();
  void            __fastcall set_SymbolSize(Evision_tlb::enumMxcSymbolSize Value);
  Evision_tlb::enumMxcSymbolSize __fastcall get_SymbolSize();
  void            __fastcall set_SymbolWidth(long Value);
  long            __fastcall get_SymbolWidth();
  void            __fastcall set_SymbolHeight(long Value);
  long            __fastcall get_SymbolHeight();
  void            __fastcall set_Contrast(Evision_tlb::enumMxcSymbolContrast Value);
  Evision_tlb::enumMxcSymbolContrast __fastcall get_Contrast();
  void            __fastcall set_ScaleTolerance(float Value);
  float           __fastcall get_ScaleTolerance();
  void            __fastcall set_ScaleBias(float Value);
  float           __fastcall get_ScaleBias();
  void            __fastcall set_ScaleStep(float Value);
  float           __fastcall get_ScaleStep();
  void            __fastcall set_ScaleCount(long Value);
  long            __fastcall get_ScaleCount();
  void            __fastcall set_SkewTolerance(float Value);
  float           __fastcall get_SkewTolerance();
  void            __fastcall set_SkewBias(float Value);
  float           __fastcall get_SkewBias();
  void            __fastcall set_SkewStep(float Value);
  float           __fastcall get_SkewStep();
  void            __fastcall set_SkewCount(long Value);
  long            __fastcall get_SkewCount();
  void            __fastcall set_ReadingThreshold(long Value);
  long            __fastcall get_ReadingThreshold();
  void            __fastcall set_ReadingThresholdMode(Evision_tlb::enumMxcThresholdModes Value);
  Evision_tlb::enumMxcThresholdModes __fastcall get_ReadingThresholdMode();
  void            __fastcall set_NumErrors(long Value);
  long            __fastcall get_NumErrors();
  void            __fastcall set_CellFilling(float Value);
  float           __fastcall get_CellFilling();
  void            __fastcall set_SourceImage(LPDISPATCH Value);
  LPDISPATCH      __fastcall get_SourceImage();
  void            __fastcall set_LocationThresholdMode(Evision_tlb::enumMxcThresholdModes Value);
  Evision_tlb::enumMxcThresholdModes __fastcall get_LocationThresholdMode();
  void            __fastcall set_LocationThreshold(long Value);
  long            __fastcall get_LocationThreshold();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(Evision_tlb::enumDrawStyle Value);
  Evision_tlb::enumDrawStyle __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(Evision_tlb::enumDrawMode Value);
  Evision_tlb::enumDrawMode __fastcall get_DrawMode();
  void            __fastcall set_ImproveConnexity(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_ImproveConnexity();
  void            __fastcall set_CheckPrintQuality(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_CheckPrintQuality();
  void            __fastcall set_SymbolContrast(float Value);
  float           __fastcall get_SymbolContrast();
  void            __fastcall set_PrintGrowth(float Value);
  float           __fastcall get_PrintGrowth();
  void            __fastcall set_AxialNonuniformity(float Value);
  float           __fastcall get_AxialNonuniformity();
  void            __fastcall set_UnusedErrorCorrection(float Value);
  float           __fastcall get_UnusedErrorCorrection();
  void            __fastcall set_MinimumPrintGrowth(float Value);
  float           __fastcall get_MinimumPrintGrowth();
  void            __fastcall set_NominalPrintGrowth(float Value);
  float           __fastcall get_NominalPrintGrowth();
  void            __fastcall set_MaximumPrintGrowth(float Value);
  float           __fastcall get_MaximumPrintGrowth();
  void            __fastcall set_MeasuredPrintGrowth(float Value);
  float           __fastcall get_MeasuredPrintGrowth();
  void            __fastcall set_SymbolContrastGrade(long Value);
  long            __fastcall get_SymbolContrastGrade();
  void            __fastcall set_PrintGrowthGrade(long Value);
  long            __fastcall get_PrintGrowthGrade();
  void            __fastcall set_AxialNonuniformityGrade(long Value);
  long            __fastcall get_AxialNonuniformityGrade();
  void            __fastcall set_OverallGrade(long Value);
  long            __fastcall get_OverallGrade();
  void            __fastcall set_UnusedErrorCorrectionGrade(long Value);
  long            __fastcall get_UnusedErrorCorrectionGrade();
  void            __fastcall set_SymbolFlipping(Evision_tlb::enumMxcSymbolFlipping Value);
  Evision_tlb::enumMxcSymbolFlipping __fastcall get_SymbolFlipping();
  void            __fastcall Load(BSTR PathName);
  void            __fastcall SetCellPitch(float PitchX, float PitchY);
  void            __fastcall ResetCorners();
  void            __fastcall DrawCorners(LPDISPATCH EImageBW8);
  Evision_tlb::enumMxcHandles __fastcall HitTest(LPDISPATCH EImageBW8, long CursorX, long CursorY);
  void            __fastcall Drag(LPDISPATCH EImageBW8, Evision_tlb::enumMxcHandles EHandle, 
                                  long CursorX, long CursorY);
  void            __fastcall Draw(LPDISPATCH EImageBW8);
  void            __fastcall Save(BSTR PathName);
  void            __fastcall AutoDetect(LPDISPATCH BW8SrcImage, 
                                        Evision_tlb::enumMxcSymbolSize SymbolSize, 
                                        Evision_tlb::enumMxcSymbolOrientation SymbolOrientation, 
                                        Evision_tlb::enumMxcSymbolContrast Contrast, BSTR* DstString);
  void            __fastcall ReadSymbol(LPDISPATCH BW8SrcImage, BSTR* DstString);
  void            __fastcall GetCellPitch(float* PitchX, float* PitchY);
  void            __fastcall SetPrintGrowthRange(float f32Minimum, float f32Nominal, 
                                                 float f32Maximum);
  void            __fastcall DrawErrors(LPDISPATCH EImageBW8);
  void            __fastcall DrawCornersErrors(LPDISPATCH EImageBW8);
  void            __fastcall AutoReadSymbol(LPDISPATCH BW8SrcImage, BSTR* DstString);
  void            __fastcall AboutBox();

  __property   Evision_tlb::enumMxcECCFamily EccFamily = {read = get_EccFamily, write = set_EccFamily};
  __property   Evision_tlb::enumMxcSymbolSize SymbolSize = {read = get_SymbolSize, write = set_SymbolSize};
  __property   long            SymbolWidth = {read = get_SymbolWidth, write = set_SymbolWidth};
  __property   long            SymbolHeight = {read = get_SymbolHeight, write = set_SymbolHeight};
  __property   Evision_tlb::enumMxcSymbolContrast Contrast = {read = get_Contrast, write = set_Contrast};
  __property   float           ScaleTolerance = {read = get_ScaleTolerance, write = set_ScaleTolerance};
  __property   float           ScaleBias = {read = get_ScaleBias, write = set_ScaleBias};
  __property   float           ScaleStep = {read = get_ScaleStep, write = set_ScaleStep};
  __property   long            ScaleCount = {read = get_ScaleCount, write = set_ScaleCount};
  __property   float           SkewTolerance = {read = get_SkewTolerance, write = set_SkewTolerance};
  __property   float           SkewBias = {read = get_SkewBias, write = set_SkewBias};
  __property   float           SkewStep = {read = get_SkewStep, write = set_SkewStep};
  __property   long            SkewCount = {read = get_SkewCount, write = set_SkewCount};
  __property   long            ReadingThreshold = {read = get_ReadingThreshold, write = set_ReadingThreshold};
  __property   Evision_tlb::enumMxcThresholdModes ReadingThresholdMode = {read = get_ReadingThresholdMode, write = set_ReadingThresholdMode};
  __property   long            NumErrors = {read = get_NumErrors, write = set_NumErrors};
  __property   float           CellFilling = {read = get_CellFilling, write = set_CellFilling};
  __property   LPDISPATCH      SourceImage = {read = get_SourceImage, write = set_SourceImage};
  __property   Evision_tlb::enumMxcThresholdModes LocationThresholdMode = {read = get_LocationThresholdMode, write = set_LocationThresholdMode};
  __property   long            LocationThreshold = {read = get_LocationThreshold, write = set_LocationThreshold};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   Evision_tlb::enumDrawStyle DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   Evision_tlb::enumDrawMode DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   TOLEBOOL        ImproveConnexity = {read = get_ImproveConnexity, write = set_ImproveConnexity};
  __property   TOLEBOOL        CheckPrintQuality = {read = get_CheckPrintQuality, write = set_CheckPrintQuality};
  __property   float           SymbolContrast = {read = get_SymbolContrast, write = set_SymbolContrast};
  __property   float           PrintGrowth = {read = get_PrintGrowth, write = set_PrintGrowth};
  __property   float           AxialNonuniformity = {read = get_AxialNonuniformity, write = set_AxialNonuniformity};
  __property   float           UnusedErrorCorrection = {read = get_UnusedErrorCorrection, write = set_UnusedErrorCorrection};
  __property   float           MinimumPrintGrowth = {read = get_MinimumPrintGrowth, write = set_MinimumPrintGrowth};
  __property   float           NominalPrintGrowth = {read = get_NominalPrintGrowth, write = set_NominalPrintGrowth};
  __property   float           MaximumPrintGrowth = {read = get_MaximumPrintGrowth, write = set_MaximumPrintGrowth};
  __property   float           MeasuredPrintGrowth = {read = get_MeasuredPrintGrowth, write = set_MeasuredPrintGrowth};
  __property   long            SymbolContrastGrade = {read = get_SymbolContrastGrade, write = set_SymbolContrastGrade};
  __property   long            PrintGrowthGrade = {read = get_PrintGrowthGrade, write = set_PrintGrowthGrade};
  __property   long            AxialNonuniformityGrade = {read = get_AxialNonuniformityGrade, write = set_AxialNonuniformityGrade};
  __property   long            OverallGrade = {read = get_OverallGrade, write = set_OverallGrade};
  __property   long            UnusedErrorCorrectionGrade = {read = get_UnusedErrorCorrectionGrade, write = set_UnusedErrorCorrectionGrade};
  __property   Evision_tlb::enumMxcSymbolFlipping SymbolFlipping = {read = get_SymbolFlipping, write = set_SymbolFlipping};
};
typedef _DEMatrixCodeDispT<_DEMatrixCode> _DEMatrixCodeDisp;

// *********************************************************************//
// DispIntf:  _DEMatrixCodeEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEMatrixCodeEventsDispT : public TAutoDriver<_DEMatrixCodeEvents>
{
public:
  _DEMatrixCodeEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEMatrixCodeEventsDispT<_DEMatrixCodeEvents> _DEMatrixCodeEventsDisp;

// *********************************************************************//
// DispIntf:  _DEImageSequence
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEImageSequenceDispT : public TAutoDriver<_DEImageSequence>
{
public:
  _DEImageSequenceDispT(){}

  _DEImageSequenceDispT(_DEImageSequence *pintf)
  {
    TAutoDriver<_DEImageSequence>::Bind(pintf, false);
  }

  _DEImageSequenceDispT(_DEImageSequencePtr pintf)
  {
    TAutoDriver<_DEImageSequence>::Bind(pintf, true);
  }

  _DEImageSequenceDispT& operator=(_DEImageSequence *pintf)
  {
    TAutoDriver<_DEImageSequence>::Bind(pintf, false);
    return *this;
  }

  _DEImageSequenceDispT& operator=(_DEImageSequencePtr pintf)
  {
    TAutoDriver<_DEImageSequence>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EImageSequence));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EImageSequence);
  }

  void            __fastcall set_ImageType(Evision_tlb::enumImageTypes Value);
  Evision_tlb::enumImageTypes __fastcall get_ImageType();
  void            __fastcall set_Count(long Value);
  long            __fastcall get_Count();
  void            __fastcall set_State(Evision_tlb::enumState Value);
  Evision_tlb::enumState __fastcall get_State();
  void            __fastcall set_FlipImage(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_FlipImage();
  void            __fastcall set_CodecFourcc(long Value);
  long            __fastcall get_CodecFourcc();
  void            __fastcall set_NumRate(long Value);
  long            __fastcall get_NumRate();
  void            __fastcall set_DenomRate(long Value);
  long            __fastcall get_DenomRate();
  void            __fastcall set_DataRate(long Value);
  long            __fastcall get_DataRate();
  void            __fastcall set_KeyFrameRate(long Value);
  long            __fastcall get_KeyFrameRate();
  void            __fastcall set_CompressionQuality(long Value);
  long            __fastcall get_CompressionQuality();
  void            __fastcall set_Position(long Value);
  long            __fastcall get_Position();
  void            __fastcall set_ImageWidth(long Value);
  long            __fastcall get_ImageWidth();
  void            __fastcall set_ImageHeight(long Value);
  long            __fastcall get_ImageHeight();
  void            __fastcall Seek(long lngDelta);
  void            __fastcall AddImage(LPDISPATCH SrcImage);
  void            __fastcall GetImage(LPDISPATCH DstImage);
  void            __fastcall CloseFile();
  void            __fastcall StartLoading(BSTR pszFileName);
  void            __fastcall StartSaving(BSTR pszFileName, long hwndDialogParent);
  void            __fastcall AddImageData(short* pImgData);
  void            __fastcall AboutBox();

  __property   Evision_tlb::enumImageTypes ImageType = {read = get_ImageType, write = set_ImageType};
  __property   long            Count = {read = get_Count, write = set_Count};
  __property   Evision_tlb::enumState State = {read = get_State, write = set_State};
  __property   TOLEBOOL        FlipImage = {read = get_FlipImage, write = set_FlipImage};
  __property   long            CodecFourcc = {read = get_CodecFourcc, write = set_CodecFourcc};
  __property   long            NumRate = {read = get_NumRate, write = set_NumRate};
  __property   long            DenomRate = {read = get_DenomRate, write = set_DenomRate};
  __property   long            DataRate = {read = get_DataRate, write = set_DataRate};
  __property   long            KeyFrameRate = {read = get_KeyFrameRate, write = set_KeyFrameRate};
  __property   long            CompressionQuality = {read = get_CompressionQuality, write = set_CompressionQuality};
  __property   long            Position = {read = get_Position, write = set_Position};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
};
typedef _DEImageSequenceDispT<_DEImageSequence> _DEImageSequenceDisp;

// *********************************************************************//
// DispIntf:  _DEImageSequenceEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEImageSequenceEventsDispT : public TAutoDriver<_DEImageSequenceEvents>
{
public:
  _DEImageSequenceEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEImageSequenceEventsDispT<_DEImageSequenceEvents> _DEImageSequenceEventsDisp;

// *********************************************************************//
// DispIntf:  _DEFind
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template<class T>
class _DEFindDispT : public TAutoDriver<_DEFind>
{
public:
  _DEFindDispT(){}

  _DEFindDispT(_DEFind *pintf)
  {
    TAutoDriver<_DEFind>::Bind(pintf, false);
  }

  _DEFindDispT(_DEFindPtr pintf)
  {
    TAutoDriver<_DEFind>::Bind(pintf, true);
  }

  _DEFindDispT& operator=(_DEFind *pintf)
  {
    TAutoDriver<_DEFind>::Bind(pintf, false);
    return *this;
  }

  _DEFindDispT& operator=(_DEFindPtr pintf)
  {
    TAutoDriver<_DEFind>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_EFind));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_EFind);
  }

  void            __fastcall set_Angle(float Value);
  float           __fastcall get_Angle();
  void            __fastcall set_AngleBias(float Value);
  float           __fastcall get_AngleBias();
  void            __fastcall set_AngleTolerance(float Value);
  float           __fastcall get_AngleTolerance();
  void            __fastcall set_CenterX(float Value);
  float           __fastcall get_CenterX();
  void            __fastcall set_CenterY(float Value);
  float           __fastcall get_CenterY();
  void            __fastcall set_Interpolate(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_Interpolate();
  void            __fastcall set_MaxInstances(long Value);
  long            __fastcall get_MaxInstances();
  void            __fastcall set_MinScore(float Value);
  float           __fastcall get_MinScore();
  void            __fastcall set_NumInstances(long Value);
  long            __fastcall get_NumInstances();
  void            __fastcall set_Scale(float Value);
  float           __fastcall get_Scale();
  void            __fastcall set_ScaleBias(float Value);
  float           __fastcall get_ScaleBias();
  void            __fastcall set_ScaleTolerance(float Value);
  float           __fastcall get_ScaleTolerance();
  void            __fastcall set_Score(float Value);
  float           __fastcall get_Score();
  void            __fastcall set_Learnt(TOLEBOOL Value);
  TOLEBOOL        __fastcall get_Learnt();
  void            __fastcall set_DrawColor(::OLE_COLOR Value);
  ::OLE_COLOR     __fastcall get_DrawColor();
  void            __fastcall set_DrawStyle(short Value);
  short           __fastcall get_DrawStyle();
  void            __fastcall set_DrawWidth(short Value);
  short           __fastcall get_DrawWidth();
  void            __fastcall set_DrawMode(short Value);
  short           __fastcall get_DrawMode();
  void            __fastcall set_ContrastMode(Evision_tlb::enumFndContrastMode Value);
  Evision_tlb::enumFndContrastMode __fastcall get_ContrastMode();
  void            __fastcall Find(LPDISPATCH BW8SrcRoi);
  void            __fastcall Learn(LPDISPATCH BW8SrcRoi);
  void            __fastcall SelectInstance(long lngIndex);
  void            __fastcall SetCenter(float f32CenterX, float f32CenterY);
  void            __fastcall LearnWithMask(LPDISPATCH BW8SrcRoi, LPDISPATCH pDontCare);
  void            __fastcall Load(BSTR PathName);
  void            __fastcall Save(BSTR PathName);
  void            __fastcall DrawInstances(LPDISPATCH EImageBW8, TOLEBOOL bEdge);
  void            __fastcall DrawInstance(LPDISPATCH EImageBW8, TOLEBOOL bEdge);
  void            __fastcall AboutBox();

  __property   float           Angle = {read = get_Angle, write = set_Angle};
  __property   float           AngleBias = {read = get_AngleBias, write = set_AngleBias};
  __property   float           AngleTolerance = {read = get_AngleTolerance, write = set_AngleTolerance};
  __property   float           CenterX = {read = get_CenterX, write = set_CenterX};
  __property   float           CenterY = {read = get_CenterY, write = set_CenterY};
  __property   TOLEBOOL        Interpolate = {read = get_Interpolate, write = set_Interpolate};
  __property   long            MaxInstances = {read = get_MaxInstances, write = set_MaxInstances};
  __property   float           MinScore = {read = get_MinScore, write = set_MinScore};
  __property   long            NumInstances = {read = get_NumInstances, write = set_NumInstances};
  __property   float           Scale = {read = get_Scale, write = set_Scale};
  __property   float           ScaleBias = {read = get_ScaleBias, write = set_ScaleBias};
  __property   float           ScaleTolerance = {read = get_ScaleTolerance, write = set_ScaleTolerance};
  __property   float           Score = {read = get_Score, write = set_Score};
  __property   TOLEBOOL        Learnt = {read = get_Learnt, write = set_Learnt};
  __property   ::OLE_COLOR     DrawColor = {read = get_DrawColor, write = set_DrawColor};
  __property   short           DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   short           DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   Evision_tlb::enumFndContrastMode ContrastMode = {read = get_ContrastMode, write = set_ContrastMode};
};
typedef _DEFindDispT<_DEFind> _DEFindDisp;

// *********************************************************************//
// DispIntf:  _DEFindEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T>
class _DEFindEventsDispT : public TAutoDriver<_DEFindEvents>
{
public:
  _DEFindEventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }


};
typedef _DEFindEventsDispT<_DEFindEvents> _DEFindEventsDisp;

// *********************************************************************//
// DispIntf:  _DEBW8Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E08-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_Title(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_Title()
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ImageOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgX"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ImageOrgX()
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgX"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ImageOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgY"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ImageOrgY()
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgY"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ImageWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ImageWidth()
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ImageHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ImageHeight()
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_BitsPerPixel(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BitsPerPixel"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_BitsPerPixel()
{
  _TDispID _dispid(*this, OLETEXT("BitsPerPixel"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_PlanesPerPixel(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PlanesPerPixel"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_PlanesPerPixel()
{
  _TDispID _dispid(*this, OLETEXT("PlanesPerPixel"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_DataType(Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DataType"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDataTypes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_DataType()
{
  _TDispID _dispid(*this, OLETEXT("DataType"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDataTypes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TotalOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TotalOrgX()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TotalOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TotalOrgY()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TotalWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TotalWidth()
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TotalHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TotalHeight()
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_PixelWidth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_PixelWidth()
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_PixelHeight(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_PixelHeight()
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_PixelUnit()
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_HorizontalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("HorizontalPixelsPerUnit"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_HorizontalPixelsPerUnit()
{
  _TDispID _dispid(*this, OLETEXT("HorizontalPixelsPerUnit"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_VerticalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("VerticalPixelsPerUnit"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_VerticalPixelsPerUnit()
{
  _TDispID _dispid(*this, OLETEXT("VerticalPixelsPerUnit"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ColorSystem()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_hWnd()
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ZoomX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ZoomX"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ZoomX()
{
  _TDispID _dispid(*this, OLETEXT("ZoomX"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ZoomY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ZoomY"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ZoomY()
{
  _TDispID _dispid(*this, OLETEXT("ZoomY"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_PanX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PanX"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_PanX()
{
  _TDispID _dispid(*this, OLETEXT("PanX"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_PanY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PanY"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_PanY()
{
  _TDispID _dispid(*this, OLETEXT("PanY"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_hDC()
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_RowPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_RowPitch()
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_ColPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_ColPitch()
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_EnableContextualMenu(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EnableContextualMenu"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_EnableContextualMenu()
{
  _TDispID _dispid(*this, OLETEXT("EnableContextualMenu"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_OverlayMode(Evision_tlb::enumOverlayMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OverlayMode"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOverlayMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumOverlayMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_OverlayMode()
{
  _TDispID _dispid(*this, OLETEXT("OverlayMode"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumOverlayMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_EnableScrollBars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EnableScrollBars"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_EnableScrollBars()
{
  _TDispID _dispid(*this, OLETEXT("EnableScrollBars"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextColor()
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextBold(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextBold"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextBold()
{
  _TDispID _dispid(*this, OLETEXT("TextBold"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextItalic(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextItalic"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextItalic()
{
  _TDispID _dispid(*this, OLETEXT("TextItalic"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextStrikeout(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextStrikeout"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextStrikeout()
{
  _TDispID _dispid(*this, OLETEXT("TextStrikeout"), DISPID(40));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextUnderline(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextUnderline"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextUnderline()
{
  _TDispID _dispid(*this, OLETEXT("TextUnderline"), DISPID(41));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextBackColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextBackColor"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextBackColor()
{
  _TDispID _dispid(*this, OLETEXT("TextBackColor"), DISPID(42));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextAlignV(Evision_tlb::enumTextAlignV /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignV"), DISPID(43));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumTextAlignV /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumTextAlignV /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextAlignV()
{
  _TDispID _dispid(*this, OLETEXT("TextAlignV"), DISPID(43));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumTextAlignV /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextAlignH(Evision_tlb::enumTextAlignH /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignH"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumTextAlignH /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumTextAlignH /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextAlignH()
{
  _TDispID _dispid(*this, OLETEXT("TextAlignH"), DISPID(44));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumTextAlignH /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextTransparent(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextTransparent"), DISPID(45));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextTransparent()
{
  _TDispID _dispid(*this, OLETEXT("TextTransparent"), DISPID(45));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextFont(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextFont"), DISPID(46));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextFont()
{
  _TDispID _dispid(*this, OLETEXT("TextFont"), DISPID(46));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_TextSize(CURRENCY /*[VT_CY:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextSize"), DISPID(47));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> CURRENCY /*[VT_CY:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_TextSize()
{
  _TDispID _dispid(*this, OLETEXT("TextSize"), DISPID(47));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::set_CursorMode(Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CursorMode"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumCursorMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ImageDispT<T>::get_CursorMode()
{
  _TDispID _dispid(*this, OLETEXT("CursorMode"), DISPID(48));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumCursorMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DEBW8ImageDispT<T>::SameSize(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("SameSize"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::SetSize(long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetSize"), DISPID(50));
  TAutoArgs<2> _args;
  _args[1] = Width /*[VT_I4:0]*/;
  _args[2] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEBW8ImageDispT<T>::GetImagePointer(long OriginX, long OriginY)
{
  _TDispID _dispid(*this, OLETEXT("GetImagePointer"), DISPID(51));
  TAutoArgs<2> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::SetImagePointer(long NewValue)
{
  _TDispID _dispid(*this, OLETEXT("SetImagePointer"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = NewValue /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::GetPixel(long X, long Y, short* GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("GetPixel"), DISPID(53));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = GrayValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::SetPixel(long X, long Y, short GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("SetPixel"), DISPID(54));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = GrayValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> TOLEBOOL __fastcall
_DEBW8ImageDispT<T>::Void()
{
  _TDispID _dispid(*this, OLETEXT("Void"), DISPID(55));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::SaveFile(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("SaveFile"), DISPID(56));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumFileFormats __fastcall
_DEBW8ImageDispT<T>::LoadFile(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("LoadFile"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::DrawToDC(OLE_HANDLE hDC)
{
  _TDispID _dispid(*this, OLETEXT("DrawToDC"), DISPID(58));
  TAutoArgs<1> _args;
  _args[1] = hDC /*[VT_INT:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::DrawLine(float X1, float Y1, float X2, float Y2)
{
  _TDispID _dispid(*this, OLETEXT("DrawLine"), DISPID(59));
  TAutoArgs<4> _args;
  _args[1] = X1 /*[VT_R4:0]*/;
  _args[2] = Y1 /*[VT_R4:0]*/;
  _args[3] = X2 /*[VT_R4:0]*/;
  _args[4] = Y2 /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::DrawBox(float X1, float Y1, float X2, float Y2)
{
  _TDispID _dispid(*this, OLETEXT("DrawBox"), DISPID(60));
  TAutoArgs<4> _args;
  _args[1] = X1 /*[VT_R4:0]*/;
  _args[2] = Y1 /*[VT_R4:0]*/;
  _args[3] = X2 /*[VT_R4:0]*/;
  _args[4] = Y2 /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::DrawCircle(float X, float Y, float Radius)
{
  _TDispID _dispid(*this, OLETEXT("DrawCircle"), DISPID(61));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Radius /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::DrawArc(float X, float Y, float Radius, float Start, float End)
{
  _TDispID _dispid(*this, OLETEXT("DrawArc"), DISPID(62));
  TAutoArgs<5> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Radius /*[VT_R4:0]*/;
  _args[4] = Start /*[VT_R4:0]*/;
  _args[5] = End /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::DrawText(long X, long Y, BSTR TextOut)
{
  _TDispID _dispid(*this, OLETEXT("DrawText"), DISPID(63));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = TextOut /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumFileFormats __fastcall
_DEBW8ImageDispT<T>::Load(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(64));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(65));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW8ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E09-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW8ImageEventsDispT<T>::Refreshed()
{
  _TDispID _dispid(/* Refreshed */ DISPID(1));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8ImageEventsDispT<T>::MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  _TDispID _dispid(/* MouseDown */ DISPID(-605));
  TAutoArgs<4> _args;
  _args[1] = Button /*[VT_I2:0]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageEventsDispT<T>::MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  _TDispID _dispid(/* MouseUp */ DISPID(-607));
  TAutoArgs<4> _args;
  _args[1] = Button /*[VT_I2:0]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageEventsDispT<T>::MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  _TDispID _dispid(/* MouseMove */ DISPID(-606));
  TAutoArgs<4> _args;
  _args[1] = Button /*[VT_I2:0]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageEventsDispT<T>::KeyPress(short* KeyAscii)
{
  _TDispID _dispid(/* KeyPress */ DISPID(-603));
  TAutoArgs<1> _args;
  _args[1] = KeyAscii /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ImageEventsDispT<T>::KeyDown(short* KeyCode, short Shift)
{
  _TDispID _dispid(/* KeyDown */ DISPID(-602));
  TAutoArgs<2> _args;
  _args[1] = KeyCode /*[VT_I2:1]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  _DEBW16Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E0C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_Title(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_Title()
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ImageOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgX"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ImageOrgX()
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgX"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ImageOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgY"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ImageOrgY()
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgY"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ImageWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ImageWidth()
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ImageHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ImageHeight()
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_BitsPerPixel(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BitsPerPixel"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_BitsPerPixel()
{
  _TDispID _dispid(*this, OLETEXT("BitsPerPixel"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_PlanesPerPixel(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PlanesPerPixel"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_PlanesPerPixel()
{
  _TDispID _dispid(*this, OLETEXT("PlanesPerPixel"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_DataType(Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DataType"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDataTypes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_DataType()
{
  _TDispID _dispid(*this, OLETEXT("DataType"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDataTypes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TotalOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TotalOrgX()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TotalOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TotalOrgY()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TotalWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TotalWidth()
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TotalHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TotalHeight()
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_PixelWidth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_PixelWidth()
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_PixelHeight(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_PixelHeight()
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_PixelUnit()
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_HorizontalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("HorizontalPixelsPerUnit"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_HorizontalPixelsPerUnit()
{
  _TDispID _dispid(*this, OLETEXT("HorizontalPixelsPerUnit"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_VerticalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("VerticalPixelsPerUnit"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_VerticalPixelsPerUnit()
{
  _TDispID _dispid(*this, OLETEXT("VerticalPixelsPerUnit"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ColorSystem()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_RowPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_RowPitch()
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ColPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ColPitch()
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_EnableContextualMenu(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EnableContextualMenu"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_EnableContextualMenu()
{
  _TDispID _dispid(*this, OLETEXT("EnableContextualMenu"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_OverlayMode(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OverlayMode"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_OverlayMode()
{
  _TDispID _dispid(*this, OLETEXT("OverlayMode"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_EnableScrollBars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EnableScrollBars"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_EnableScrollBars()
{
  _TDispID _dispid(*this, OLETEXT("EnableScrollBars"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextColor()
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextBold(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextBold"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextBold()
{
  _TDispID _dispid(*this, OLETEXT("TextBold"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextItalic(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextItalic"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextItalic()
{
  _TDispID _dispid(*this, OLETEXT("TextItalic"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextStrikeout(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextStrikeout"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextStrikeout()
{
  _TDispID _dispid(*this, OLETEXT("TextStrikeout"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextUnderline(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextUnderline"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextUnderline()
{
  _TDispID _dispid(*this, OLETEXT("TextUnderline"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextBackColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextBackColor"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextBackColor()
{
  _TDispID _dispid(*this, OLETEXT("TextBackColor"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextAlignV(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignV"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextAlignV()
{
  _TDispID _dispid(*this, OLETEXT("TextAlignV"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextAlignH(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignH"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextAlignH()
{
  _TDispID _dispid(*this, OLETEXT("TextAlignH"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextTransparent(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextTransparent"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextTransparent()
{
  _TDispID _dispid(*this, OLETEXT("TextTransparent"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextFont(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextFont"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextFont()
{
  _TDispID _dispid(*this, OLETEXT("TextFont"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_TextSize(CURRENCY /*[VT_CY:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextSize"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> CURRENCY /*[VT_CY:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_TextSize()
{
  _TDispID _dispid(*this, OLETEXT("TextSize"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ZoomX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ZoomX"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ZoomX()
{
  _TDispID _dispid(*this, OLETEXT("ZoomX"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_ZoomY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ZoomY"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_ZoomY()
{
  _TDispID _dispid(*this, OLETEXT("ZoomY"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_PanX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PanX"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_PanX()
{
  _TDispID _dispid(*this, OLETEXT("PanX"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_PanY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PanY"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_PanY()
{
  _TDispID _dispid(*this, OLETEXT("PanY"), DISPID(40));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::set_CursorMode(Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CursorMode"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumCursorMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16ImageDispT<T>::get_CursorMode()
{
  _TDispID _dispid(*this, OLETEXT("CursorMode"), DISPID(41));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumCursorMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DEBW16ImageDispT<T>::SameSize(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("SameSize"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::SetSize(long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetSize"), DISPID(43));
  TAutoArgs<2> _args;
  _args[1] = Width /*[VT_I4:0]*/;
  _args[2] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEBW16ImageDispT<T>::GetImagePointer(long OriginX, long OriginY)
{
  _TDispID _dispid(*this, OLETEXT("GetImagePointer"), DISPID(44));
  TAutoArgs<2> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::SetImagePointer(long NewValue)
{
  _TDispID _dispid(*this, OLETEXT("SetImagePointer"), DISPID(45));
  TAutoArgs<1> _args;
  _args[1] = NewValue /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::GetPixel(long X, long Y, short* Value)
{
  _TDispID _dispid(*this, OLETEXT("GetPixel"), DISPID(46));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = Value /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::SetPixel(long X, long Y, short Value)
{
  _TDispID _dispid(*this, OLETEXT("SetPixel"), DISPID(47));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = Value /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> TOLEBOOL __fastcall
_DEBW16ImageDispT<T>::Void()
{
  _TDispID _dispid(*this, OLETEXT("Void"), DISPID(48));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::DrawText(long X, long Y, BSTR TextOut)
{
  _TDispID _dispid(*this, OLETEXT("DrawText"), DISPID(49));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = TextOut /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumFileFormats __fastcall
_DEBW16ImageDispT<T>::Load(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(50));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(51));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16ImageDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW16ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E0D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW16ImageEventsDispT<T>::Refreshed()
{
  _TDispID _dispid(/* Refreshed */ DISPID(1));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW16ImageEventsDispT<T>::KeyPress(short* KeyAscii)
{
  _TDispID _dispid(/* KeyPress */ DISPID(-603));
  TAutoArgs<1> _args;
  _args[1] = KeyAscii /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  _DEC24Image
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E14-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEC24ImageDispT<T>::set_Title(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEC24ImageDispT<T>::get_Title()
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ImageOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgX"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ImageOrgX()
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgX"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ImageOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgY"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ImageOrgY()
{
  _TDispID _dispid(*this, OLETEXT("ImageOrgY"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ImageWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ImageWidth()
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ImageHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ImageHeight()
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_BitsPerPixel(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BitsPerPixel"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_BitsPerPixel()
{
  _TDispID _dispid(*this, OLETEXT("BitsPerPixel"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_PlanesPerPixel(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PlanesPerPixel"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_PlanesPerPixel()
{
  _TDispID _dispid(*this, OLETEXT("PlanesPerPixel"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_DataType(Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DataType"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDataTypes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDataTypes /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ImageDispT<T>::get_DataType()
{
  _TDispID _dispid(*this, OLETEXT("DataType"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDataTypes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TotalOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TotalOrgX()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TotalOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TotalOrgY()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TotalWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TotalWidth()
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TotalHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TotalHeight()
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_PixelWidth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_PixelWidth()
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_PixelHeight(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_PixelHeight()
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ImageDispT<T>::get_PixelUnit()
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_HorizontalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("HorizontalPixelsPerUnit"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_HorizontalPixelsPerUnit()
{
  _TDispID _dispid(*this, OLETEXT("HorizontalPixelsPerUnit"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_VerticalPixelsPerUnit(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("VerticalPixelsPerUnit"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_VerticalPixelsPerUnit()
{
  _TDispID _dispid(*this, OLETEXT("VerticalPixelsPerUnit"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ColorSystem()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEC24ImageDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ImageDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ImageDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ImageDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ZoomX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ZoomX"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ZoomX()
{
  _TDispID _dispid(*this, OLETEXT("ZoomX"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ZoomY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ZoomY"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ZoomY()
{
  _TDispID _dispid(*this, OLETEXT("ZoomY"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_OriginX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_OriginX()
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_OriginY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_OriginY()
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEC24ImageDispT<T>::get_hWnd()
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEC24ImageDispT<T>::get_hDC()
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_RowPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_RowPitch()
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_ColPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_ColPitch()
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEC24ImageDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_EnableContextualMenu(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EnableContextualMenu"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEC24ImageDispT<T>::get_EnableContextualMenu()
{
  _TDispID _dispid(*this, OLETEXT("EnableContextualMenu"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_OverlayMode(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OverlayMode"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEC24ImageDispT<T>::get_OverlayMode()
{
  _TDispID _dispid(*this, OLETEXT("OverlayMode"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_EnableScrollBars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EnableScrollBars"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEC24ImageDispT<T>::get_EnableScrollBars()
{
  _TDispID _dispid(*this, OLETEXT("EnableScrollBars"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextColor()
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextBold(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextBold"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextBold()
{
  _TDispID _dispid(*this, OLETEXT("TextBold"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextItalic(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextItalic"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextItalic()
{
  _TDispID _dispid(*this, OLETEXT("TextItalic"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextStrikeout(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextStrikeout"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextStrikeout()
{
  _TDispID _dispid(*this, OLETEXT("TextStrikeout"), DISPID(40));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextUnderline(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextUnderline"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextUnderline()
{
  _TDispID _dispid(*this, OLETEXT("TextUnderline"), DISPID(41));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextBackColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextBackColor"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextBackColor()
{
  _TDispID _dispid(*this, OLETEXT("TextBackColor"), DISPID(42));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextAlignV(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignV"), DISPID(43));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextAlignV()
{
  _TDispID _dispid(*this, OLETEXT("TextAlignV"), DISPID(43));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextAlignH(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignH"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextAlignH()
{
  _TDispID _dispid(*this, OLETEXT("TextAlignH"), DISPID(44));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextTransparent(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextTransparent"), DISPID(45));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextTransparent()
{
  _TDispID _dispid(*this, OLETEXT("TextTransparent"), DISPID(45));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextFont(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextFont"), DISPID(46));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall
_DEC24ImageDispT<T>::get_TextFont()
{
  _TDispID _dispid(*this, OLETEXT("TextFont"), DISPID(46));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_TextSize(CURRENCY /*[VT_CY:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextSize"), DISPID(47));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> CURRENCY /*[VT_CY:0]*/ __fastcall
_DEC24ImageDispT<T>::get_TextSize()
{
  _TDispID _dispid(*this, OLETEXT("TextSize"), DISPID(47));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::set_CursorMode(Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CursorMode"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumCursorMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumCursorMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ImageDispT<T>::get_CursorMode()
{
  _TDispID _dispid(*this, OLETEXT("CursorMode"), DISPID(48));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumCursorMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DEC24ImageDispT<T>::SameSize(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("SameSize"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::SetSize(long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetSize"), DISPID(50));
  TAutoArgs<2> _args;
  _args[1] = Width /*[VT_I4:0]*/;
  _args[2] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEC24ImageDispT<T>::GetImagePointer(long OriginX, long OriginY)
{
  _TDispID _dispid(*this, OLETEXT("GetImagePointer"), DISPID(51));
  TAutoArgs<2> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::SetImagePointer(long NewValue)
{
  _TDispID _dispid(*this, OLETEXT("SetImagePointer"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = NewValue /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::GetPixel(long X, long Y, short* RedValue, short* GreenValue, short* BlueValue)
{
  _TDispID _dispid(*this, OLETEXT("GetPixel"), DISPID(53));
  TAutoArgs<5> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = RedValue /*[VT_I2:1]*/;
  _args[4] = GreenValue /*[VT_I2:1]*/;
  _args[5] = BlueValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::SetPixel(long X, long Y, short RedValue, short GreenValue, short BlueValue)
{
  _TDispID _dispid(*this, OLETEXT("SetPixel"), DISPID(54));
  TAutoArgs<5> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = RedValue /*[VT_I2:0]*/;
  _args[4] = GreenValue /*[VT_I2:0]*/;
  _args[5] = BlueValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> TOLEBOOL __fastcall
_DEC24ImageDispT<T>::Void()
{
  _TDispID _dispid(*this, OLETEXT("Void"), DISPID(55));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::SaveFile(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("SaveFile"), DISPID(56));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumFileFormats __fastcall
_DEC24ImageDispT<T>::LoadFile(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("LoadFile"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::DrawToDC(OLE_HANDLE hDC)
{
  _TDispID _dispid(*this, OLETEXT("DrawToDC"), DISPID(58));
  TAutoArgs<1> _args;
  _args[1] = hDC /*[VT_INT:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::DrawLine(float X1, float Y1, float X2, float Y2)
{
  _TDispID _dispid(*this, OLETEXT("DrawLine"), DISPID(59));
  TAutoArgs<4> _args;
  _args[1] = X1 /*[VT_R4:0]*/;
  _args[2] = Y1 /*[VT_R4:0]*/;
  _args[3] = X2 /*[VT_R4:0]*/;
  _args[4] = Y2 /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::DrawBox(float X1, float Y1, float X2, float Y2)
{
  _TDispID _dispid(*this, OLETEXT("DrawBox"), DISPID(60));
  TAutoArgs<4> _args;
  _args[1] = X1 /*[VT_R4:0]*/;
  _args[2] = Y1 /*[VT_R4:0]*/;
  _args[3] = X2 /*[VT_R4:0]*/;
  _args[4] = Y2 /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::DrawCircle(float X, float Y, float Radius)
{
  _TDispID _dispid(*this, OLETEXT("DrawCircle"), DISPID(61));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Radius /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::DrawArc(float X, float Y, float Radius, float Start, float End)
{
  _TDispID _dispid(*this, OLETEXT("DrawArc"), DISPID(62));
  TAutoArgs<5> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Radius /*[VT_R4:0]*/;
  _args[4] = Start /*[VT_R4:0]*/;
  _args[5] = End /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::DrawText(long X, long Y, BSTR TextOut)
{
  _TDispID _dispid(*this, OLETEXT("DrawText"), DISPID(63));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = TextOut /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(64));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumFileFormats __fastcall
_DEC24ImageDispT<T>::Load(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(65));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ImageDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEC24ImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E15-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEC24ImageEventsDispT<T>::Refreshed()
{
  _TDispID _dispid(/* Refreshed */ DISPID(1));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEC24ImageEventsDispT<T>::MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  _TDispID _dispid(/* MouseMove */ DISPID(-606));
  TAutoArgs<4> _args;
  _args[1] = Button /*[VT_I2:0]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageEventsDispT<T>::MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  _TDispID _dispid(/* MouseDown */ DISPID(-605));
  TAutoArgs<4> _args;
  _args[1] = Button /*[VT_I2:0]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageEventsDispT<T>::MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  _TDispID _dispid(/* MouseUp */ DISPID(-607));
  TAutoArgs<4> _args;
  _args[1] = Button /*[VT_I2:0]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageEventsDispT<T>::KeyPress(short* KeyAscii)
{
  _TDispID _dispid(/* KeyPress */ DISPID(-603));
  TAutoArgs<1> _args;
  _args[1] = KeyAscii /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ImageEventsDispT<T>::KeyDown(short* KeyCode, short Shift)
{
  _TDispID _dispid(/* KeyDown */ DISPID(-602));
  TAutoArgs<2> _args;
  _args[1] = KeyCode /*[VT_I2:1]*/;
  _args[2] = Shift /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  _DEBW8ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E24-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_Title(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_Title()
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_ROIOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgX"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_ROIOrgX()
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgX"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_ROIWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIWidth"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_ROIWidth()
{
  _TDispID _dispid(*this, OLETEXT("ROIWidth"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_ROIHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIHeight"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_ROIHeight()
{
  _TDispID _dispid(*this, OLETEXT("ROIHeight"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_ROIOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgY"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_ROIOrgY()
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgY"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_TotalOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_TotalOrgX()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_TotalOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_TotalOrgY()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_ParentImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ParentImage"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_ParentImage()
{
  _TDispID _dispid(*this, OLETEXT("ParentImage"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_TotalWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_TotalWidth()
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_TotalHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_TotalHeight()
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_ColorSystem()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_RowPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_RowPitch()
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_ColPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_ColPitch()
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8ROIDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DEBW8ROIDispT<T>::SameSize(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("SameSize"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::Detach()
{
  _TDispID _dispid(*this, OLETEXT("Detach"), DISPID(23));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::SetSize(long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetSize"), DISPID(24));
  TAutoArgs<2> _args;
  _args[1] = Width /*[VT_I4:0]*/;
  _args[2] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::SetPlacement(long OriginX, long OriginY, long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetPlacement"), DISPID(25));
  TAutoArgs<4> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  _args[3] = Width /*[VT_I4:0]*/;
  _args[4] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEBW8ROIDispT<T>::GetImagePointer(long OriginX, long OriginY)
{
  _TDispID _dispid(*this, OLETEXT("GetImagePointer"), DISPID(26));
  TAutoArgs<2> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::GetPixel(long X, long Y, short* GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("GetPixel"), DISPID(27));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = GrayValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::SetPixel(long X, long Y, short GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("SetPixel"), DISPID(28));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = GrayValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> TOLEBOOL __fastcall
_DEBW8ROIDispT<T>::Void()
{
  _TDispID _dispid(*this, OLETEXT("Void"), DISPID(29));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::DrawFrame(Evision_tlb::enumFramePosition FramePosition, TOLEBOOL DrawHandles)
{
  _TDispID _dispid(*this, OLETEXT("DrawFrame"), DISPID(30));
  TAutoArgs<2> _args;
  _args[1] = (int)FramePosition /*[VT_USERDEFINED:0]*/;
  _args[2] = DrawHandles /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::DrawToDC()
{
  _TDispID _dispid(*this, OLETEXT("DrawToDC"), DISPID(31));
  OleProcedure(_dispid);
}

template <class T> Evision_tlb::enumHandleNames __fastcall
_DEBW8ROIDispT<T>::HitTest(long X, long Y)
{
  _TDispID _dispid(*this, OLETEXT("HitTest"), DISPID(32));
  TAutoArgs<2> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::Drag(Evision_tlb::enumHandleNames Handle, long X, long Y)
{
  _TDispID _dispid(*this, OLETEXT("Drag"), DISPID(33));
  TAutoArgs<3> _args;
  _args[1] = (int)Handle /*[VT_USERDEFINED:0]*/;
  _args[2] = X /*[VT_I4:0]*/;
  _args[3] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> short __fastcall
_DEBW8ROIDispT<T>::Load(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(35));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8ROIDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW8ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E25-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW8ROIEventsDispT<T>::Refreshed()
{
  _TDispID _dispid(/* Refreshed */ DISPID(1));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW16ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E28-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_Title(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_Title()
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_ROIOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgX"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_ROIOrgX()
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgX"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_ROIWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIWidth"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_ROIWidth()
{
  _TDispID _dispid(*this, OLETEXT("ROIWidth"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_ROIHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIHeight"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_ROIHeight()
{
  _TDispID _dispid(*this, OLETEXT("ROIHeight"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_ROIOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgY"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_ROIOrgY()
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgY"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_TotalOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_TotalOrgX()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_TotalOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_TotalOrgY()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_ParentImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ParentImage"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_ParentImage()
{
  _TDispID _dispid(*this, OLETEXT("ParentImage"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_TotalWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_TotalWidth()
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_TotalHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_TotalHeight()
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_ColorSystem()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_RowPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_RowPitch()
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_ColPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_ColPitch()
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16ROIDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DEBW16ROIDispT<T>::SameSize(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("SameSize"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::Detach()
{
  _TDispID _dispid(*this, OLETEXT("Detach"), DISPID(17));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::SetSize(long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetSize"), DISPID(18));
  TAutoArgs<2> _args;
  _args[1] = Width /*[VT_I4:0]*/;
  _args[2] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::SetPlacement(long OriginX, long OriginY, long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetPlacement"), DISPID(19));
  TAutoArgs<4> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  _args[3] = Width /*[VT_I4:0]*/;
  _args[4] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEBW16ROIDispT<T>::GetImagePointer(long OriginX, long OriginY)
{
  _TDispID _dispid(*this, OLETEXT("GetImagePointer"), DISPID(20));
  TAutoArgs<2> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::GetPixel(long X, long Y, short* Value)
{
  _TDispID _dispid(*this, OLETEXT("GetPixel"), DISPID(21));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = Value /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::SetPixel(long X, long Y, short Value)
{
  _TDispID _dispid(*this, OLETEXT("SetPixel"), DISPID(22));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = Value /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> TOLEBOOL __fastcall
_DEBW16ROIDispT<T>::Void()
{
  _TDispID _dispid(*this, OLETEXT("Void"), DISPID(23));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> Evision_tlb::enumFileFormats __fastcall
_DEBW16ROIDispT<T>::Load(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(25));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16ROIDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW16ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E29-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEC24ROI
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E30-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEC24ROIDispT<T>::set_Title(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEC24ROIDispT<T>::get_Title()
{
  _TDispID _dispid(*this, OLETEXT("Title"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_ROIOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgX"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_ROIOrgX()
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgX"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_ROIOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgY"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_ROIOrgY()
{
  _TDispID _dispid(*this, OLETEXT("ROIOrgY"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_ROIWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_ROIWidth()
{
  _TDispID _dispid(*this, OLETEXT("ROIWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_ROIHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ROIHeight"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_ROIHeight()
{
  _TDispID _dispid(*this, OLETEXT("ROIHeight"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_TotalOrgX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_TotalOrgX()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgX"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_TotalOrgY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_TotalOrgY()
{
  _TDispID _dispid(*this, OLETEXT("TotalOrgY"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_TotalWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_TotalWidth()
{
  _TDispID _dispid(*this, OLETEXT("TotalWidth"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_TotalHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_TotalHeight()
{
  _TDispID _dispid(*this, OLETEXT("TotalHeight"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_ParentImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ParentImage"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEC24ROIDispT<T>::get_ParentImage()
{
  _TDispID _dispid(*this, OLETEXT("ParentImage"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_ColorSystem(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ROIDispT<T>::get_ColorSystem()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystem"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEC24ROIDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ROIDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ROIDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24ROIDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_RowPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_RowPitch()
{
  _TDispID _dispid(*this, OLETEXT("RowPitch"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_ColPitch(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_ColPitch()
{
  _TDispID _dispid(*this, OLETEXT("ColPitch"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEC24ROIDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24ROIDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DEC24ROIDispT<T>::SameSize(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("SameSize"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::Detach()
{
  _TDispID _dispid(*this, OLETEXT("Detach"), DISPID(23));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::SetSize(long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetSize"), DISPID(24));
  TAutoArgs<2> _args;
  _args[1] = Width /*[VT_I4:0]*/;
  _args[2] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::SetPlacement(long OriginX, long OriginY, long Width, long Height)
{
  _TDispID _dispid(*this, OLETEXT("SetPlacement"), DISPID(25));
  TAutoArgs<4> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  _args[3] = Width /*[VT_I4:0]*/;
  _args[4] = Height /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEC24ROIDispT<T>::GetImagePointer(long OriginX, long OriginY)
{
  _TDispID _dispid(*this, OLETEXT("GetImagePointer"), DISPID(26));
  TAutoArgs<2> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::GetPixel(long X, long Y, short* RedValue, short* GreenValue, short* BlueValue)
{
  _TDispID _dispid(*this, OLETEXT("GetPixel"), DISPID(27));
  TAutoArgs<5> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = RedValue /*[VT_I2:1]*/;
  _args[4] = GreenValue /*[VT_I2:1]*/;
  _args[5] = BlueValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::SetPixel(long X, long Y, short RedValue, short GreenValue, short BlueValue)
{
  _TDispID _dispid(*this, OLETEXT("SetPixel"), DISPID(28));
  TAutoArgs<5> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = RedValue /*[VT_I2:0]*/;
  _args[4] = GreenValue /*[VT_I2:0]*/;
  _args[5] = BlueValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> TOLEBOOL __fastcall
_DEC24ROIDispT<T>::Void()
{
  _TDispID _dispid(*this, OLETEXT("Void"), DISPID(29));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::DrawFrame(Evision_tlb::enumFramePosition FramePosition, TOLEBOOL DrawHandles)
{
  _TDispID _dispid(*this, OLETEXT("DrawFrame"), DISPID(30));
  TAutoArgs<2> _args;
  _args[1] = (int)FramePosition /*[VT_USERDEFINED:0]*/;
  _args[2] = DrawHandles /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::DrawToDC()
{
  _TDispID _dispid(*this, OLETEXT("DrawToDC"), DISPID(31));
  OleProcedure(_dispid);
}

template <class T> Evision_tlb::enumHandleNames __fastcall
_DEC24ROIDispT<T>::HitTest(long X, long Y)
{
  _TDispID _dispid(*this, OLETEXT("HitTest"), DISPID(32));
  TAutoArgs<2> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::Drag(Evision_tlb::enumHandleNames Handle, long X, long Y)
{
  _TDispID _dispid(*this, OLETEXT("Drag"), DISPID(33));
  TAutoArgs<3> _args;
  _args[1] = (int)Handle /*[VT_USERDEFINED:0]*/;
  _args[2] = X /*[VT_I4:0]*/;
  _args[3] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumFileFormats __fastcall
_DEC24ROIDispT<T>::Load(BSTR FileName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumFileFormats /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(35));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = (int)FileFormat /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24ROIDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEC24ROIEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E31-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEC24ROIEventsDispT<T>::Refreshed()
{
  _TDispID _dispid(/* Refreshed */ DISPID(1));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW8Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E40-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall
_DEBW8VectorDispT<T>::get_Font()
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_OriginX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_OriginX()
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_OriginY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_OriginY()
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_hWnd()
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_hDC()
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8VectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(13));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::AddElement(short GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = GrayValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::GetAt(long Index, short* GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(15));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = GrayValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::SetAt(long Index, short GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(16));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = GrayValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8VectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW8VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E41-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEBW16Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E44-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall
_DEBW16VectorDispT<T>::get_Font()
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_OriginX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_OriginX()
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_OriginY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_OriginY()
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_hWnd()
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_hDC()
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW16VectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(13));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::AddElement(short GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = GrayValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::GetAt(long Index, short* GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(15));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = GrayValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::SetAt(long Index, short GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(16));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = GrayValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW16VectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW16VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E45-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEBW32Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E48-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall
_DEBW32VectorDispT<T>::get_Font()
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_OriginX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_OriginX()
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_OriginY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_OriginY()
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_hWnd()
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_hDC()
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW32VectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(13));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::AddElement(long GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = GrayValue /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::GetAt(long Index, long* GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(15));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = GrayValue /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::SetAt(long Index, long GrayValue)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(16));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = GrayValue /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW32VectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW32VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E49-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEC24Vector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E4C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEC24VectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24VectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24VectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEC24VectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24VectorDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24VectorDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24VectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_OriginX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24VectorDispT<T>::get_OriginX()
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_OriginY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEC24VectorDispT<T>::get_OriginY()
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEC24VectorDispT<T>::get_hWnd()
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEC24VectorDispT<T>::get_hDC()
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEC24VectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24VectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(12));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::AddElement(short RedValue, short GreenValue, short BlueValue)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(13));
  TAutoArgs<3> _args;
  _args[1] = RedValue /*[VT_I2:0]*/;
  _args[2] = GreenValue /*[VT_I2:0]*/;
  _args[3] = BlueValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::GetAt(long Index, short* RedValue, short* GreenValue, short* BlueValue)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(14));
  TAutoArgs<4> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = RedValue /*[VT_I2:1]*/;
  _args[3] = GreenValue /*[VT_I2:1]*/;
  _args[4] = BlueValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::SetAt(long Index, short RedValue, short GreenValue, short BlueValue)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(15));
  TAutoArgs<4> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = RedValue /*[VT_I2:0]*/;
  _args[3] = GreenValue /*[VT_I2:0]*/;
  _args[4] = BlueValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEC24VectorDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEC24VectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E4D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEPathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E5C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEPathVectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPathVectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEPathVectorDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEPathVectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEPathVectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEPathVectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEPathVectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPathVectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(8));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::AddElement(short X, short Y)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(9));
  TAutoArgs<2> _args;
  _args[1] = X /*[VT_I2:0]*/;
  _args[2] = Y /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::GetAt(long Index, short* X, short* Y)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(10));
  TAutoArgs<3> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = X /*[VT_I2:1]*/;
  _args[3] = Y /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::SetAt(long Index, short X, short Y)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(11));
  TAutoArgs<3> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = X /*[VT_I2:0]*/;
  _args[3] = Y /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::Draw(LPDISPATCH Image)
{
  _TDispID _dispid(*this, OLETEXT("Draw"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPathVectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEPathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E5D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEBW8HistogramVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E64-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_Font(IFontDispPtr /*[VT_USERDEFINED:1]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH) /*[VT_DISPATCH:1]*/ (IFontDisp* /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> IFontDispPtr /*[VT_USERDEFINED:1]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_Font()
{
  _TDispID _dispid(*this, OLETEXT("Font"), DISPID(-512));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (IFontDisp* /*[C3]*/)(LPDISPATCH)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_OriginX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_OriginX()
{
  _TDispID _dispid(*this, OLETEXT("OriginX"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_OriginY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_OriginY()
{
  _TDispID _dispid(*this, OLETEXT("OriginY"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_hWnd(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_hWnd()
{
  _TDispID _dispid(*this, OLETEXT("hWnd"), DISPID(-515));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_hDC(OLE_HANDLE /*[VT_INT:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> OLE_HANDLE /*[VT_INT:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_hDC()
{
  _TDispID _dispid(*this, OLETEXT("hDC"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8HistogramVectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(13));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::AddElement(long Value)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::GetAt(long Index, long* Value)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(15));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = Value /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::SetAt(long Index, long Value)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(16));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = Value /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8HistogramVectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW8HistogramVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E65-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEBW8PathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E68-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8PathVectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEBW8PathVectorDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8PathVectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEBW8PathVectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEBW8PathVectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEBW8PathVectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEBW8PathVectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(8));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::AddElement(short X, short Y, short Pixel)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(9));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I2:0]*/;
  _args[2] = Y /*[VT_I2:0]*/;
  _args[3] = Pixel /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::GetAt(long Index, short* X, short* Y, short* Pixel)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(10));
  TAutoArgs<4> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = X /*[VT_I2:1]*/;
  _args[3] = Y /*[VT_I2:1]*/;
  _args[4] = Pixel /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::SetAt(long Index, short X, short Y, short Pixel)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(11));
  TAutoArgs<4> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = X /*[VT_I2:0]*/;
  _args[3] = Y /*[VT_I2:0]*/;
  _args[4] = Pixel /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::Draw(LPDISPATCH Image)
{
  _TDispID _dispid(*this, OLETEXT("Draw"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEBW8PathVectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEBW8PathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E69-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEC24PathVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E6C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEC24PathVectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24PathVectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEC24PathVectorDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24PathVectorDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEC24PathVectorDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEC24PathVectorDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEC24PathVectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEC24PathVectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(8));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::AddElement(short X, short Y, short PixelRed, short PixelGreen, 
                                     short PixelBlue)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(9));
  TAutoArgs<5> _args;
  _args[1] = X /*[VT_I2:0]*/;
  _args[2] = Y /*[VT_I2:0]*/;
  _args[3] = PixelRed /*[VT_I2:0]*/;
  _args[4] = PixelGreen /*[VT_I2:0]*/;
  _args[5] = PixelBlue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::GetAt(short Index, short* X, long* Y, short* PixelRed, short* PixelGreen, 
                                short* PixelBlue)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(10));
  TAutoArgs<6> _args;
  _args[1] = Index /*[VT_I2:0]*/;
  _args[2] = X /*[VT_I2:1]*/;
  _args[3] = Y /*[VT_I4:1]*/;
  _args[4] = PixelRed /*[VT_I2:1]*/;
  _args[5] = PixelGreen /*[VT_I2:1]*/;
  _args[6] = PixelBlue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::SetAt(short Index, short X, long Y, short PixelRed, short PixelGreen, 
                                short PixelBlue)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(11));
  TAutoArgs<6> _args;
  _args[1] = Index /*[VT_I2:0]*/;
  _args[2] = X /*[VT_I2:0]*/;
  _args[3] = Y /*[VT_I4:0]*/;
  _args[4] = PixelRed /*[VT_I2:0]*/;
  _args[5] = PixelGreen /*[VT_I2:0]*/;
  _args[6] = PixelBlue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::Draw(LPDISPATCH Image)
{
  _TDispID _dispid(*this, OLETEXT("Draw"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEC24PathVectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEC24PathVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E6D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEPeaksVector
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E70-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEPeaksVectorDispT<T>::set_NumElements(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPeaksVectorDispT<T>::get_NumElements()
{
  _TDispID _dispid(*this, OLETEXT("NumElements"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPeaksVectorDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEPeaksVectorDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPeaksVectorDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPeaksVectorDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPeaksVectorDispT<T>::Empty()
{
  _TDispID _dispid(*this, OLETEXT("Empty"), DISPID(4));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEPeaksVectorDispT<T>::AddElement(long Start, long Length, long Amplitude, long Area, float Center)
{
  _TDispID _dispid(*this, OLETEXT("AddElement"), DISPID(5));
  TAutoArgs<5> _args;
  _args[1] = Start /*[VT_I4:0]*/;
  _args[2] = Length /*[VT_I4:0]*/;
  _args[3] = Amplitude /*[VT_I4:0]*/;
  _args[4] = Area /*[VT_I4:0]*/;
  _args[5] = Center /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPeaksVectorDispT<T>::GetAt(long Index, long* Start, long* Length, long* Amplitude, long* Area, 
                              float* Center)
{
  _TDispID _dispid(*this, OLETEXT("GetAt"), DISPID(6));
  TAutoArgs<6> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = Start /*[VT_I4:1]*/;
  _args[3] = Length /*[VT_I4:1]*/;
  _args[4] = Amplitude /*[VT_I4:1]*/;
  _args[5] = Area /*[VT_I4:1]*/;
  _args[6] = Center /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPeaksVectorDispT<T>::SetAt(long Index, long Start, long Length, long Amplitude, long Area, 
                              float Center)
{
  _TDispID _dispid(*this, OLETEXT("SetAt"), DISPID(7));
  TAutoArgs<6> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = Start /*[VT_I4:0]*/;
  _args[3] = Length /*[VT_I4:0]*/;
  _args[4] = Amplitude /*[VT_I4:0]*/;
  _args[5] = Area /*[VT_I4:0]*/;
  _args[6] = Center /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPeaksVectorDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEPeaksVectorEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E71-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEKernel
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E78-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEKernelDispT<T>::set_SizeX(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SizeX"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEKernelDispT<T>::get_SizeX()
{
  _TDispID _dispid(*this, OLETEXT("SizeX"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::set_SizeY(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SizeY"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEKernelDispT<T>::get_SizeY()
{
  _TDispID _dispid(*this, OLETEXT("SizeY"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::set_Gain(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Gain"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEKernelDispT<T>::get_Gain()
{
  _TDispID _dispid(*this, OLETEXT("Gain"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::set_Offset(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Offset"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEKernelDispT<T>::get_Offset()
{
  _TDispID _dispid(*this, OLETEXT("Offset"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::set_Rectifier(Evision_tlb::enumImgKernelRectifiers /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Rectifier"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumImgKernelRectifiers /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumImgKernelRectifiers /*[VT_USERDEFINED:0]*/ __fastcall
_DEKernelDispT<T>::get_Rectifier()
{
  _TDispID _dispid(*this, OLETEXT("Rectifier"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumImgKernelRectifiers /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::set_OutsideValue(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OutsideValue"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEKernelDispT<T>::get_OutsideValue()
{
  _TDispID _dispid(*this, OLETEXT("OutsideValue"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEKernelDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEKernelDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEKernelDispT<T>::GetKernelData(long X, long Y, float* Data)
{
  _TDispID _dispid(*this, OLETEXT("GetKernelData"), DISPID(9));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = Data /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEKernelDispT<T>::SetKernelData(long X, long Y, float Data)
{
  _TDispID _dispid(*this, OLETEXT("SetKernelData"), DISPID(10));
  TAutoArgs<3> _args;
  _args[1] = X /*[VT_I4:0]*/;
  _args[2] = Y /*[VT_I4:0]*/;
  _args[3] = Data /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEKernelDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEKernelEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E79-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEColorLookup
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E7C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEColorLookupDispT<T>::set_Interpolation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Interpolation"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEColorLookupDispT<T>::get_Interpolation()
{
  _TDispID _dispid(*this, OLETEXT("Interpolation"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_IndexBits(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("IndexBits"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEColorLookupDispT<T>::get_IndexBits()
{
  _TDispID _dispid(*this, OLETEXT("IndexBits"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_ColorSystemIn(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystemIn"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEColorLookupDispT<T>::get_ColorSystemIn()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystemIn"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_ColorSystemOut(Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ColorSystemOut"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumColorSystems /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumColorSystems /*[VT_USERDEFINED:0]*/ __fastcall
_DEColorLookupDispT<T>::get_ColorSystemOut()
{
  _TDispID _dispid(*this, OLETEXT("ColorSystemOut"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumColorSystems /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_RGBStandard(Evision_tlb::enumClrRGBStandards /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RGBStandard"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumClrRGBStandards /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumClrRGBStandards /*[VT_USERDEFINED:0]*/ __fastcall
_DEColorLookupDispT<T>::get_RGBStandard()
{
  _TDispID _dispid(*this, OLETEXT("RGBStandard"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumClrRGBStandards /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_SrcQuantization(Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SrcQuantization"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumClrQuantization /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ __fastcall
_DEColorLookupDispT<T>::get_SrcQuantization()
{
  _TDispID _dispid(*this, OLETEXT("SrcQuantization"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumClrQuantization /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_DstQuantization(Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DstQuantization"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumClrQuantization /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumClrQuantization /*[VT_USERDEFINED:0]*/ __fastcall
_DEColorLookupDispT<T>::get_DstQuantization()
{
  _TDispID _dispid(*this, OLETEXT("DstQuantization"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumClrQuantization /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEColorLookupDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEColorLookupDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::AdjustGainOffset(Evision_tlb::enumColorSystems ColorSystem, float Gain0, 
                                         float Offset0, float Gain1, float Offset1, float Gain2, 
                                         float Offset2)
{
  _TDispID _dispid(*this, OLETEXT("AdjustGainOffset"), DISPID(10));
  TAutoArgs<7> _args;
  _args[1] = (int)ColorSystem /*[VT_USERDEFINED:0]*/;
  _args[2] = Gain0 /*[VT_R4:0]*/;
  _args[3] = Offset0 /*[VT_R4:0]*/;
  _args[4] = Gain1 /*[VT_R4:0]*/;
  _args[5] = Offset1 /*[VT_R4:0]*/;
  _args[6] = Gain2 /*[VT_R4:0]*/;
  _args[7] = Offset2 /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::ConvertToRGB(Evision_tlb::enumColorSystems ColorSystem)
{
  _TDispID _dispid(*this, OLETEXT("ConvertToRGB"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = (int)ColorSystem /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::ConvertFromRGB(Evision_tlb::enumColorSystems ColorSystem)
{
  _TDispID _dispid(*this, OLETEXT("ConvertFromRGB"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = (int)ColorSystem /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::Calibrate1(short RedValue, short GreenValue, short BlueValue, float X, 
                                   float Y, float Z)
{
  _TDispID _dispid(*this, OLETEXT("Calibrate1"), DISPID(13));
  TAutoArgs<6> _args;
  _args[1] = RedValue /*[VT_I2:0]*/;
  _args[2] = GreenValue /*[VT_I2:0]*/;
  _args[3] = BlueValue /*[VT_I2:0]*/;
  _args[4] = X /*[VT_R4:0]*/;
  _args[5] = Y /*[VT_R4:0]*/;
  _args[6] = Z /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::Calibrate3(short RedValue1, short GreenValue1, short BlueValue1, float X1, 
                                   float Y1, float Z1, short RedValue2, short GreenValue2, 
                                   short BlueValue2, float X2, float Y2, float Z2, short RedValue3, 
                                   short GreenValue3, short BlueValue3, float X3, float Y3, float Z3)
{
  _TDispID _dispid(*this, OLETEXT("Calibrate3"), DISPID(14));
  TAutoArgs<18> _args;
  _args[1] = RedValue1 /*[VT_I2:0]*/;
  _args[2] = GreenValue1 /*[VT_I2:0]*/;
  _args[3] = BlueValue1 /*[VT_I2:0]*/;
  _args[4] = X1 /*[VT_R4:0]*/;
  _args[5] = Y1 /*[VT_R4:0]*/;
  _args[6] = Z1 /*[VT_R4:0]*/;
  _args[7] = RedValue2 /*[VT_I2:0]*/;
  _args[8] = GreenValue2 /*[VT_I2:0]*/;
  _args[9] = BlueValue2 /*[VT_I2:0]*/;
  _args[10] = X2 /*[VT_R4:0]*/;
  _args[11] = Y2 /*[VT_R4:0]*/;
  _args[12] = Z2 /*[VT_R4:0]*/;
  _args[13] = RedValue3 /*[VT_I2:0]*/;
  _args[14] = GreenValue3 /*[VT_I2:0]*/;
  _args[15] = BlueValue3 /*[VT_I2:0]*/;
  _args[16] = X3 /*[VT_R4:0]*/;
  _args[17] = Y3 /*[VT_R4:0]*/;
  _args[18] = Z3 /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::Calibrate4(short RedValue0, short GreenValue0, short BlueValue0, float X0, 
                                   float Y0, float Z0, short RedValue1, short GreenValue1, 
                                   short BlueValue1, float X1, float Y1, float Z1, short RedValue2, 
                                   short GreenValue2, short BlueValue2, float X2, float Y2, float Z2
                                   , short RedValue3, short GreenValue3, short BlueValue3, float X3
                                   , float Y3, float Z3)
{
  _TDispID _dispid(*this, OLETEXT("Calibrate4"), DISPID(15));
  TAutoArgs<24> _args;
  _args[1] = RedValue0 /*[VT_I2:0]*/;
  _args[2] = GreenValue0 /*[VT_I2:0]*/;
  _args[3] = BlueValue0 /*[VT_I2:0]*/;
  _args[4] = X0 /*[VT_R4:0]*/;
  _args[5] = Y0 /*[VT_R4:0]*/;
  _args[6] = Z0 /*[VT_R4:0]*/;
  _args[7] = RedValue1 /*[VT_I2:0]*/;
  _args[8] = GreenValue1 /*[VT_I2:0]*/;
  _args[9] = BlueValue1 /*[VT_I2:0]*/;
  _args[10] = X1 /*[VT_R4:0]*/;
  _args[11] = Y1 /*[VT_R4:0]*/;
  _args[12] = Z1 /*[VT_R4:0]*/;
  _args[13] = RedValue2 /*[VT_I2:0]*/;
  _args[14] = GreenValue2 /*[VT_I2:0]*/;
  _args[15] = BlueValue2 /*[VT_I2:0]*/;
  _args[16] = X2 /*[VT_R4:0]*/;
  _args[17] = Y2 /*[VT_R4:0]*/;
  _args[18] = Z2 /*[VT_R4:0]*/;
  _args[19] = RedValue3 /*[VT_I2:0]*/;
  _args[20] = GreenValue3 /*[VT_I2:0]*/;
  _args[21] = BlueValue3 /*[VT_I2:0]*/;
  _args[22] = X3 /*[VT_R4:0]*/;
  _args[23] = Y3 /*[VT_R4:0]*/;
  _args[24] = Z3 /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::SetTransform(long Transformation, 
                                     Evision_tlb::enumColorSystems ColorSystemIn, 
                                     Evision_tlb::enumColorSystems ColorSystemOut)
{
  _TDispID _dispid(*this, OLETEXT("SetTransform"), DISPID(16));
  TAutoArgs<3> _args;
  _args[1] = Transformation /*[VT_I4:0]*/;
  _args[2] = (int)ColorSystemIn /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)ColorSystemOut /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::Transform(short SrcRedValue, short SrcGreenValue, short SrcBlueValue, 
                                  short* DstRedValue, short* DstGreenValue, short* DstBlueValue)
{
  _TDispID _dispid(*this, OLETEXT("Transform"), DISPID(17));
  TAutoArgs<6> _args;
  _args[1] = SrcRedValue /*[VT_I2:0]*/;
  _args[2] = SrcGreenValue /*[VT_I2:0]*/;
  _args[3] = SrcBlueValue /*[VT_I2:0]*/;
  _args[4] = DstRedValue /*[VT_I2:1]*/;
  _args[5] = DstGreenValue /*[VT_I2:1]*/;
  _args[6] = DstBlueValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::TransformImage(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage)
{
  _TDispID _dispid(*this, OLETEXT("TransformImage"), DISPID(18));
  TAutoArgs<2> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::WhiteBalance(float Gain, float Gamma, float BalanceR, float BalanceG, 
                                     float BalanceB)
{
  _TDispID _dispid(*this, OLETEXT("WhiteBalance"), DISPID(19));
  TAutoArgs<5> _args;
  _args[1] = Gain /*[VT_R4:0]*/;
  _args[2] = Gamma /*[VT_R4:0]*/;
  _args[3] = BalanceR /*[VT_R4:0]*/;
  _args[4] = BalanceG /*[VT_R4:0]*/;
  _args[5] = BalanceB /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEColorLookupDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEColorLookupEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E7D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DECodedImage
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E90-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DECodedImageDispT<T>::set_WhiteClass(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("WhiteClass"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DECodedImageDispT<T>::get_WhiteClass()
{
  _TDispID _dispid(*this, OLETEXT("WhiteClass"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_NeutralClass(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NeutralClass"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DECodedImageDispT<T>::get_NeutralClass()
{
  _TDispID _dispid(*this, OLETEXT("NeutralClass"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_BlackClass(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BlackClass"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DECodedImageDispT<T>::get_BlackClass()
{
  _TDispID _dispid(*this, OLETEXT("BlackClass"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_LowThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LowThreshold"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECodedImageDispT<T>::get_LowThreshold()
{
  _TDispID _dispid(*this, OLETEXT("LowThreshold"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_HighThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("HighThreshold"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECodedImageDispT<T>::get_HighThreshold()
{
  _TDispID _dispid(*this, OLETEXT("HighThreshold"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_LowImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LowImage"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DECodedImageDispT<T>::get_LowImage()
{
  _TDispID _dispid(*this, OLETEXT("LowImage"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_HighImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("HighImage"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DECodedImageDispT<T>::get_HighImage()
{
  _TDispID _dispid(*this, OLETEXT("HighImage"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_NumberOfRuns(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumberOfRuns"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECodedImageDispT<T>::get_NumberOfRuns()
{
  _TDispID _dispid(*this, OLETEXT("NumberOfRuns"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_NumberOfObjects(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumberOfObjects"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECodedImageDispT<T>::get_NumberOfObjects()
{
  _TDispID _dispid(*this, OLETEXT("NumberOfObjects"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_NumberOfSelectedObjects(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumberOfSelectedObjects"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECodedImageDispT<T>::get_NumberOfSelectedObjects()
{
  _TDispID _dispid(*this, OLETEXT("NumberOfSelectedObjects"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DECodedImageDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DECodedImageDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DECodedImageDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DECodedImageDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DECodedImageDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_Connexity(Evision_tlb::enumObjObjectConnexity /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Connexity"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumObjObjectConnexity /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumObjObjectConnexity /*[VT_USERDEFINED:0]*/ __fastcall
_DECodedImageDispT<T>::get_Connexity()
{
  _TDispID _dispid(*this, OLETEXT("Connexity"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumObjObjectConnexity /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECodedImageDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_Threshold(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Threshold"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DECodedImageDispT<T>::get_Threshold()
{
  _TDispID _dispid(*this, OLETEXT("Threshold"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::set_LimitAngle(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LimitAngle"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECodedImageDispT<T>::get_LimitAngle()
{
  _TDispID _dispid(*this, OLETEXT("LimitAngle"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SetLowColorThreshold(short Red, short Green, short Blue)
{
  _TDispID _dispid(*this, OLETEXT("SetLowColorThreshold"), DISPID(20));
  TAutoArgs<3> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GetLowColorThreshold(short* Red, short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("GetLowColorThreshold"), DISPID(21));
  TAutoArgs<3> _args;
  _args[1] = Red /*[VT_I2:1]*/;
  _args[2] = Green /*[VT_I2:1]*/;
  _args[3] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SetHighColorThreshold(short Red, short Green, short Blue)
{
  _TDispID _dispid(*this, OLETEXT("SetHighColorThreshold"), DISPID(22));
  TAutoArgs<3> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GetHighColorThreshold(short* Red, short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("GetHighColorThreshold"), DISPID(23));
  TAutoArgs<3> _args;
  _args[1] = Red /*[VT_I2:1]*/;
  _args[2] = Green /*[VT_I2:1]*/;
  _args[3] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToFirstRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToFirstRun"), DISPID(24));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToLastRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToLastRun"), DISPID(25));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToNextRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToNextRun"), DISPID(26));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToPreviousRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToPreviousRun"), DISPID(27));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GetRunData(long* OriginX, long* OriginY, long* Length, long* Class, 
                                  long* RunIndex, long* ObjectIndex)
{
  _TDispID _dispid(*this, OLETEXT("GetRunData"), DISPID(28));
  TAutoArgs<6> _args;
  _args[1] = OriginX /*[VT_I4:1]*/;
  _args[2] = OriginY /*[VT_I4:1]*/;
  _args[3] = Length /*[VT_I4:1]*/;
  _args[4] = Class /*[VT_I4:1]*/;
  _args[5] = RunIndex /*[VT_I4:1]*/;
  _args[6] = ObjectIndex /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::RemoveAllRuns()
{
  _TDispID _dispid(*this, OLETEXT("RemoveAllRuns"), DISPID(29));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToFirstObject()
{
  _TDispID _dispid(*this, OLETEXT("GoToFirstObject"), DISPID(30));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToLastObject()
{
  _TDispID _dispid(*this, OLETEXT("GoToLastObject"), DISPID(31));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToNextObject()
{
  _TDispID _dispid(*this, OLETEXT("GoToNextObject"), DISPID(32));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToPreviousObject()
{
  _TDispID _dispid(*this, OLETEXT("GoToPreviousObject"), DISPID(33));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToObjectByIndex(long ObjectIndex)
{
  _TDispID _dispid(*this, OLETEXT("GoToObjectByIndex"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = ObjectIndex /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GetObjectData(long* Class, long* ObjectIndex, long* NumberOfRuns, 
                                     TOLEBOOL* IsSelected)
{
  _TDispID _dispid(*this, OLETEXT("GetObjectData"), DISPID(35));
  TAutoArgs<4> _args;
  _args[1] = Class /*[VT_I4:1]*/;
  _args[2] = ObjectIndex /*[VT_I4:1]*/;
  _args[3] = NumberOfRuns /*[VT_I4:1]*/;
  _args[4] = IsSelected /*[VT_BOOL:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DECodedImageDispT<T>::GetObjectIndex()
{
  _TDispID _dispid(*this, OLETEXT("GetObjectIndex"), DISPID(36));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SelectObject()
{
  _TDispID _dispid(*this, OLETEXT("SelectObject"), DISPID(37));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::UnselectObject()
{
  _TDispID _dispid(*this, OLETEXT("UnselectObject"), DISPID(38));
  OleProcedure(_dispid);
}

template <class T> TOLEBOOL __fastcall
_DECodedImageDispT<T>::IsObjectSelected()
{
  _TDispID _dispid(*this, OLETEXT("IsObjectSelected"), DISPID(39));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SelectAllObjects()
{
  _TDispID _dispid(*this, OLETEXT("SelectAllObjects"), DISPID(40));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::UnselectAllObjects()
{
  _TDispID _dispid(*this, OLETEXT("UnselectAllObjects"), DISPID(41));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::RemoveAllObjects()
{
  _TDispID _dispid(*this, OLETEXT("RemoveAllObjects"), DISPID(42));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToFirstObjectRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToFirstObjectRun"), DISPID(43));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToLastObjectRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToLastObjectRun"), DISPID(44));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToNextObjectRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToNextObjectRun"), DISPID(45));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GoToPreviousObjectRun()
{
  _TDispID _dispid(*this, OLETEXT("GoToPreviousObjectRun"), DISPID(46));
  OleProcedure(_dispid);
}

template <class T> long __fastcall
_DECodedImageDispT<T>::GetNumberOfObjectRuns()
{
  _TDispID _dispid(*this, OLETEXT("GetNumberOfObjectRuns"), DISPID(47));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> short __fastcall
_DECodedImageDispT<T>::GetObjectIntegerFeature(Evision_tlb::enumObjObjectFeatures Feature)
{
  _TDispID _dispid(*this, OLETEXT("GetObjectIntegerFeature"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DECodedImageDispT<T>::GetObjectLongFeature(Evision_tlb::enumObjObjectFeatures Feature)
{
  _TDispID _dispid(*this, OLETEXT("GetObjectLongFeature"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DECodedImageDispT<T>::GetObjectSingleFeature(Evision_tlb::enumObjObjectFeatures Feature)
{
  _TDispID _dispid(*this, OLETEXT("GetObjectSingleFeature"), DISPID(50));
  TAutoArgs<1> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECodedImageDispT<T>::BuildRuns(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("BuildRuns"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::BuildObjects(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("BuildObjects"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::AnalyseObjects(Evision_tlb::enumObjObjectFeatures Feature)
{
  _TDispID _dispid(*this, OLETEXT("AnalyseObjects"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SelectObjectsUsingIntegerFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                                        short Min, short Max, 
                                                        Evision_tlb::enumObjSelectOptions Operation)
{
  _TDispID _dispid(*this, OLETEXT("SelectObjectsUsingIntegerFeature"), DISPID(54));
  TAutoArgs<4> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = Min /*[VT_I2:0]*/;
  _args[3] = Max /*[VT_I2:0]*/;
  _args[4] = (int)Operation /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SelectObjectsUsingLongFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                                     long Min, long Max, 
                                                     Evision_tlb::enumObjSelectOptions Operation)
{
  _TDispID _dispid(*this, OLETEXT("SelectObjectsUsingLongFeature"), DISPID(55));
  TAutoArgs<4> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = Min /*[VT_I4:0]*/;
  _args[3] = Max /*[VT_I4:0]*/;
  _args[4] = (int)Operation /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SelectObjectsUsingSingleFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                                       float Min, float Max, 
                                                       Evision_tlb::enumObjSelectOptions Operation)
{
  _TDispID _dispid(*this, OLETEXT("SelectObjectsUsingSingleFeature"), DISPID(56));
  TAutoArgs<4> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = Min /*[VT_R4:0]*/;
  _args[3] = Max /*[VT_R4:0]*/;
  _args[4] = (int)Operation /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SelectObjectsUsingPosition(long OriginX, long OriginY, long Width, 
                                                  long Height, 
                                                  Evision_tlb::enumObjSelectByPosition Operation)
{
  _TDispID _dispid(*this, OLETEXT("SelectObjectsUsingPosition"), DISPID(57));
  TAutoArgs<5> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  _args[3] = Width /*[VT_I4:0]*/;
  _args[4] = Height /*[VT_I4:0]*/;
  _args[5] = (int)Operation /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::SortObjectsUsingFeature(Evision_tlb::enumObjObjectFeatures Feature, 
                                               Evision_tlb::enumObjSortOptions Operation)
{
  _TDispID _dispid(*this, OLETEXT("SortObjectsUsingFeature"), DISPID(58));
  TAutoArgs<2> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = (int)Operation /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::GetObjectRunData(long* OriginX, long* OriginY, long* Length, long* Class, 
                                        long* RunIndex, long* ObjectIndex)
{
  _TDispID _dispid(*this, OLETEXT("GetObjectRunData"), DISPID(59));
  TAutoArgs<6> _args;
  _args[1] = OriginX /*[VT_I4:1]*/;
  _args[2] = OriginY /*[VT_I4:1]*/;
  _args[3] = Length /*[VT_I4:1]*/;
  _args[4] = Class /*[VT_I4:1]*/;
  _args[5] = RunIndex /*[VT_I4:1]*/;
  _args[6] = ObjectIndex /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::DrawObject(LPDISPATCH Image)
{
  _TDispID _dispid(*this, OLETEXT("DrawObject"), DISPID(60));
  TAutoArgs<1> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::DrawObjects(LPDISPATCH Image, Evision_tlb::enumObjSelectionMode SelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("DrawObjects"), DISPID(61));
  TAutoArgs<2> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)SelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::DrawObjectFeature(LPDISPATCH Image, 
                                         Evision_tlb::enumObjObjectFeatures Feature)
{
  _TDispID _dispid(*this, OLETEXT("DrawObjectFeature"), DISPID(62));
  TAutoArgs<2> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)Feature /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::DrawObjectsFeature(LPDISPATCH Image, 
                                          Evision_tlb::enumObjObjectFeatures Feature, 
                                          Evision_tlb::enumObjSelectionMode SelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("DrawObjectsFeature"), DISPID(63));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)SelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::BuildLabeledRuns(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("BuildLabeledRuns"), DISPID(64));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::BuildLabeledObjects(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("BuildLabeledObjects"), DISPID(65));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::FeatureAverage(Evision_tlb::enumObjObjectFeatures Feature, float* Average)
{
  _TDispID _dispid(*this, OLETEXT("FeatureAverage"), DISPID(66));
  TAutoArgs<2> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = Average /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::FeatureVariance(Evision_tlb::enumObjObjectFeatures Feature, float* Average, 
                                       float* Variance)
{
  _TDispID _dispid(*this, OLETEXT("FeatureVariance"), DISPID(67));
  TAutoArgs<3> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = Average /*[VT_R4:1]*/;
  _args[3] = Variance /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::FeatureMinimum(Evision_tlb::enumObjObjectFeatures Feature, float* Minimum)
{
  _TDispID _dispid(*this, OLETEXT("FeatureMinimum"), DISPID(68));
  TAutoArgs<2> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = Minimum /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::FeatureMaximum(Evision_tlb::enumObjObjectFeatures Feature, float* Maximum)
{
  _TDispID _dispid(*this, OLETEXT("FeatureMaximum"), DISPID(69));
  TAutoArgs<2> _args;
  _args[1] = (int)Feature /*[VT_USERDEFINED:0]*/;
  _args[2] = Maximum /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::ConvexHull(LPDISPATCH PathVector)
{
  _TDispID _dispid(*this, OLETEXT("ConvexHull"), DISPID(70));
  TAutoArgs<1> _args;
  _args[1] = PathVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECodedImageDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DECodedImageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E91-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEMatch
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E94-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEMatchDispT<T>::set_MinReducedArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinReducedArea"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_MinReducedArea()
{
  _TDispID _dispid(*this, OLETEXT("MinReducedArea"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_DontCareThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DontCareThreshold"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_DontCareThreshold()
{
  _TDispID _dispid(*this, OLETEXT("DontCareThreshold"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_CorrelationMode(Evision_tlb::enumMchCorrelationMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CorrelationMode"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMchCorrelationMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMchCorrelationMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatchDispT<T>::get_CorrelationMode()
{
  _TDispID _dispid(*this, OLETEXT("CorrelationMode"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMchCorrelationMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MaxPositions(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxPositions"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_MaxPositions()
{
  _TDispID _dispid(*this, OLETEXT("MaxPositions"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MaxInitialPositions(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxInitialPositions"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_MaxInitialPositions()
{
  _TDispID _dispid(*this, OLETEXT("MaxInitialPositions"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MinScore(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinScore"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MinScore()
{
  _TDispID _dispid(*this, OLETEXT("MinScore"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MinAngle(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinAngle"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MinAngle()
{
  _TDispID _dispid(*this, OLETEXT("MinAngle"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MaxAngle(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxAngle"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MaxAngle()
{
  _TDispID _dispid(*this, OLETEXT("MaxAngle"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MinScale(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinScale"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MinScale()
{
  _TDispID _dispid(*this, OLETEXT("MinScale"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MaxScale(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxScale"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MaxScale()
{
  _TDispID _dispid(*this, OLETEXT("MaxScale"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MinScaleX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinScaleX"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MinScaleX()
{
  _TDispID _dispid(*this, OLETEXT("MinScaleX"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MaxScaleX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxScaleX"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MaxScaleX()
{
  _TDispID _dispid(*this, OLETEXT("MaxScaleX"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MinScaleY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinScaleY"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MinScaleY()
{
  _TDispID _dispid(*this, OLETEXT("MinScaleY"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_MaxScaleY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxScaleY"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_MaxScaleY()
{
  _TDispID _dispid(*this, OLETEXT("MaxScaleY"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_Interpolate(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Interpolate"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEMatchDispT<T>::get_Interpolate()
{
  _TDispID _dispid(*this, OLETEXT("Interpolate"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_FinalReduction(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FinalReduction"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_FinalReduction()
{
  _TDispID _dispid(*this, OLETEXT("FinalReduction"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_PixelWidth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_PixelWidth()
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_PixelHeight(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatchDispT<T>::get_PixelHeight()
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_NumPositions(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumPositions"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_NumPositions()
{
  _TDispID _dispid(*this, OLETEXT("NumPositions"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEMatchDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatchDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEMatchDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatchDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEMatchDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_NumReductions(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumReductions"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_NumReductions()
{
  _TDispID _dispid(*this, OLETEXT("NumReductions"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatchDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::set_ContrastMode(Evision_tlb::enumMchContrastMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ContrastMode"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMchContrastMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMchContrastMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatchDispT<T>::get_ContrastMode()
{
  _TDispID _dispid(*this, OLETEXT("ContrastMode"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMchContrastMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatchDispT<T>::LearnPattern(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("LearnPattern"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::Match(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("Match"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::GetPosition(long Index, float* CenterX, float* CenterY, float* Angle, 
                              float* ScaleX, float* ScaleY, float* Score)
{
  _TDispID _dispid(*this, OLETEXT("GetPosition"), DISPID(30));
  TAutoArgs<7> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = CenterX /*[VT_R4:1]*/;
  _args[3] = CenterY /*[VT_R4:1]*/;
  _args[4] = Angle /*[VT_R4:1]*/;
  _args[5] = ScaleX /*[VT_R4:1]*/;
  _args[6] = ScaleY /*[VT_R4:1]*/;
  _args[7] = Score /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::DrawPosition(LPDISPATCH Image, long Index)
{
  _TDispID _dispid(*this, OLETEXT("DrawPosition"), DISPID(31));
  TAutoArgs<2> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = Index /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::DrawPositions(LPDISPATCH Image)
{
  _TDispID _dispid(*this, OLETEXT("DrawPositions"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::Load(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::Save(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::GetPattern(LPDISPATCH DstImg)
{
  _TDispID _dispid(*this, OLETEXT("GetPattern"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = DstImg /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatchDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEMatchEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E95-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEPointMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86E9C-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_TransitionType(Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionType"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionType /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_TransitionType()
{
  _TDispID _dispid(*this, OLETEXT("TransitionType"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionType /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_ProjectionThickness(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ProjectionThickness"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_ProjectionThickness()
{
  _TDispID _dispid(*this, OLETEXT("ProjectionThickness"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionSmoothing"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionSmoothing /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_TransitionSmoothing()
{
  _TDispID _dispid(*this, OLETEXT("TransitionSmoothing"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionSmoothing /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_DerivativeThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DerivativeThreshold"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_DerivativeThreshold()
{
  _TDispID _dispid(*this, OLETEXT("DerivativeThreshold"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionChoice"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionChoice /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_TransitionChoice()
{
  _TDispID _dispid(*this, OLETEXT("TransitionChoice"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionChoice /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_TransitionHysteresis(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionHysteresis"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_TransitionHysteresis()
{
  _TDispID _dispid(*this, OLETEXT("TransitionHysteresis"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_TransitionMinGreyStep(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionMinGreyStep"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_TransitionMinGreyStep()
{
  _TDispID _dispid(*this, OLETEXT("TransitionMinGreyStep"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_TransitionNumber(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionNumber"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_TransitionNumber()
{
  _TDispID _dispid(*this, OLETEXT("TransitionNumber"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_MeasuredX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredX"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_MeasuredX()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredX"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_MeasuredY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredY"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_MeasuredY()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredY"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_InverseTransition(Evision_tlb::enumMsrInverseTransition /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("InverseTransition"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrInverseTransition /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrInverseTransition /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_InverseTransition()
{
  _TDispID _dispid(*this, OLETEXT("InverseTransition"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrInverseTransition /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_ToleranceVertically(Evision_tlb::enumMsrToleranceVertically /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ToleranceVertically"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrToleranceVertically /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrToleranceVertically /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_ToleranceVertically()
{
  _TDispID _dispid(*this, OLETEXT("ToleranceVertically"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrToleranceVertically /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_PositionX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PositionX"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_PositionX()
{
  _TDispID _dispid(*this, OLETEXT("PositionX"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_PositionY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PositionY"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_PositionY()
{
  _TDispID _dispid(*this, OLETEXT("PositionY"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_HVTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("HVTolerance"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_HVTolerance()
{
  _TDispID _dispid(*this, OLETEXT("HVTolerance"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_Slope(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Slope"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_Slope()
{
  _TDispID _dispid(*this, OLETEXT("Slope"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_MeasuredGrayStep(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredGrayStep"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_MeasuredGrayStep()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredGrayStep"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_PixelWidth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_PixelWidth()
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_PixelHeight(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_PixelHeight()
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_PixelUnit()
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_Angle(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Angle"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_Angle()
{
  _TDispID _dispid(*this, OLETEXT("Angle"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEPointMeasureDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::FindPointAlongLine(LPDISPATCH BW8SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("FindPointAlongLine"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                              TOLEBOOL DrawHandles)
{
  _TDispID _dispid(*this, OLETEXT("Draw"), DISPID(31));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)DrawingMode /*[VT_USERDEFINED:0]*/;
  _args[3] = DrawHandles /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrHandleNames __fastcall
_DEPointMeasureDispT<T>::HitTest(LPDISPATCH Image, long X, long Y)
{
  _TDispID _dispid(*this, OLETEXT("HitTest"), DISPID(32));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = X /*[VT_I4:0]*/;
  _args[3] = Y /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumMsrHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, 
                              long Y)
{
  _TDispID _dispid(*this, OLETEXT("Drag"), DISPID(33));
  TAutoArgs<4> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)Handle /*[VT_USERDEFINED:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEPointMeasureDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEPointMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86E9D-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DELineMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DELineMeasureDispT<T>::set_TransitionType(Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionType"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionType /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_TransitionType()
{
  _TDispID _dispid(*this, OLETEXT("TransitionType"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionType /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_ProjectionThickness(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ProjectionThickness"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_ProjectionThickness()
{
  _TDispID _dispid(*this, OLETEXT("ProjectionThickness"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionSmoothing"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionSmoothing /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_TransitionSmoothing()
{
  _TDispID _dispid(*this, OLETEXT("TransitionSmoothing"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionSmoothing /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_DerivativeThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DerivativeThreshold"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_DerivativeThreshold()
{
  _TDispID _dispid(*this, OLETEXT("DerivativeThreshold"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionChoice"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionChoice /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_TransitionChoice()
{
  _TDispID _dispid(*this, OLETEXT("TransitionChoice"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionChoice /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_TransitionHysteresis(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionHysteresis"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_TransitionHysteresis()
{
  _TDispID _dispid(*this, OLETEXT("TransitionHysteresis"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_TransitionMinGreyStep(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionMinGreyStep"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_TransitionMinGreyStep()
{
  _TDispID _dispid(*this, OLETEXT("TransitionMinGreyStep"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_TransitionNumber(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionNumber"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_TransitionNumber()
{
  _TDispID _dispid(*this, OLETEXT("TransitionNumber"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_MeasuredX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredX"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_MeasuredX()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredX"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_MeasuredY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredY"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_MeasuredY()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredY"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_SamplingStep(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SamplingStep"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_SamplingStep()
{
  _TDispID _dispid(*this, OLETEXT("SamplingStep"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_FilteringCount(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FilteringCount"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_FilteringCount()
{
  _TDispID _dispid(*this, OLETEXT("FilteringCount"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_PointCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PointCount"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_PointCount()
{
  _TDispID _dispid(*this, OLETEXT("PointCount"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_PointValidCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PointValidCount"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_PointValidCount()
{
  _TDispID _dispid(*this, OLETEXT("PointValidCount"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_OutlineTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OutlineTolerance"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_OutlineTolerance()
{
  _TDispID _dispid(*this, OLETEXT("OutlineTolerance"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_FilteringThreshold(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FilteringThreshold"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_FilteringThreshold()
{
  _TDispID _dispid(*this, OLETEXT("FilteringThreshold"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_NominalX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NominalX"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_NominalX()
{
  _TDispID _dispid(*this, OLETEXT("NominalX"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_NominalY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NominalY"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_NominalY()
{
  _TDispID _dispid(*this, OLETEXT("NominalY"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_FixedSlope(Evision_tlb::enumMsrSlope /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FixedSlope"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrSlope /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrSlope /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_FixedSlope()
{
  _TDispID _dispid(*this, OLETEXT("FixedSlope"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrSlope /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_BaseVertically(Evision_tlb::enumMsrBaseVertically /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BaseVertically"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrBaseVertically /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrBaseVertically /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_BaseVertically()
{
  _TDispID _dispid(*this, OLETEXT("BaseVertically"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrBaseVertically /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_NominalSlope(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NominalSlope"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_NominalSlope()
{
  _TDispID _dispid(*this, OLETEXT("NominalSlope"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_BaseSize(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BaseSize"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_BaseSize()
{
  _TDispID _dispid(*this, OLETEXT("BaseSize"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_MeasuredSlope(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredSlope"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_MeasuredSlope()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredSlope"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DELineMeasureDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DELineMeasureDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_MeasuredDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredDeviation"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_MeasuredDeviation()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredDeviation"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_PixelWidth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_PixelWidth()
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_PixelHeight(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_PixelHeight()
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall
_DELineMeasureDispT<T>::get_PixelUnit()
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_BaseAngle(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BaseAngle"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_BaseAngle()
{
  _TDispID _dispid(*this, OLETEXT("BaseAngle"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_MeasuredAngle(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredAngle"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_MeasuredAngle()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredAngle"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_NumPoints(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumPoints"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_NumPoints()
{
  _TDispID _dispid(*this, OLETEXT("NumPoints"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::set_NumValidPoints(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumValidPoints"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DELineMeasureDispT<T>::get_NumValidPoints()
{
  _TDispID _dispid(*this, OLETEXT("NumValidPoints"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::FitLine(LPDISPATCH BW8SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("FitLine"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                             TOLEBOOL DrawHandles)
{
  _TDispID _dispid(*this, OLETEXT("Draw"), DISPID(41));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)DrawingMode /*[VT_USERDEFINED:0]*/;
  _args[3] = DrawHandles /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrHandleNames __fastcall
_DELineMeasureDispT<T>::HitTest(LPDISPATCH Image, long X, long Y)
{
  _TDispID _dispid(*this, OLETEXT("HitTest"), DISPID(42));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = X /*[VT_I4:0]*/;
  _args[3] = Y /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumMsrHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, 
                             long Y)
{
  _TDispID _dispid(*this, OLETEXT("Drag"), DISPID(43));
  TAutoArgs<4> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)Handle /*[VT_USERDEFINED:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> float __fastcall
_DELineMeasureDispT<T>::get_PointX(short Indice)
{
  _TDispID _dispid(*this, OLETEXT("PointX"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = Indice /*[VT_I2:0]*/;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DELineMeasureDispT<T>::get_PointY(short Indice)
{
  _TDispID _dispid(*this, OLETEXT("PointY"), DISPID(45));
  TAutoArgs<1> _args;
  _args[1] = Indice /*[VT_I2:0]*/;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DELineMeasureDispT<T>::get_PointValid(short Indice)
{
  _TDispID _dispid(*this, OLETEXT("PointValid"), DISPID(46));
  TAutoArgs<1> _args;
  _args[1] = Indice /*[VT_I2:0]*/;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DELineMeasureDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DELineMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DECircleMeasure
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_TransitionType(Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionType"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionType /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionType /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_TransitionType()
{
  _TDispID _dispid(*this, OLETEXT("TransitionType"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionType /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_ProjectionThickness(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ProjectionThickness"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_ProjectionThickness()
{
  _TDispID _dispid(*this, OLETEXT("ProjectionThickness"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_TransitionSmoothing(Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionSmoothing"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionSmoothing /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionSmoothing /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_TransitionSmoothing()
{
  _TDispID _dispid(*this, OLETEXT("TransitionSmoothing"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionSmoothing /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_DerivativeThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DerivativeThreshold"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_DerivativeThreshold()
{
  _TDispID _dispid(*this, OLETEXT("DerivativeThreshold"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_TransitionChoice(Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionChoice"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrTransitionChoice /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrTransitionChoice /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_TransitionChoice()
{
  _TDispID _dispid(*this, OLETEXT("TransitionChoice"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrTransitionChoice /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_TransitionHysteresis(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionHysteresis"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_TransitionHysteresis()
{
  _TDispID _dispid(*this, OLETEXT("TransitionHysteresis"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_TransitionMinGreyStep(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionMinGreyStep"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_TransitionMinGreyStep()
{
  _TDispID _dispid(*this, OLETEXT("TransitionMinGreyStep"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_TransitionNumber(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TransitionNumber"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_TransitionNumber()
{
  _TDispID _dispid(*this, OLETEXT("TransitionNumber"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_MeasuredX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredX"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_MeasuredX()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredX"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_MeasuredY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredY"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_MeasuredY()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredY"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_SamplingStep(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SamplingStep"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_SamplingStep()
{
  _TDispID _dispid(*this, OLETEXT("SamplingStep"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_FilteringCount(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FilteringCount"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_FilteringCount()
{
  _TDispID _dispid(*this, OLETEXT("FilteringCount"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_PointCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PointCount"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_PointCount()
{
  _TDispID _dispid(*this, OLETEXT("PointCount"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_PointValidCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PointValidCount"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_PointValidCount()
{
  _TDispID _dispid(*this, OLETEXT("PointValidCount"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_OutlineTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OutlineTolerance"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_OutlineTolerance()
{
  _TDispID _dispid(*this, OLETEXT("OutlineTolerance"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_FilteringThreshold(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FilteringThreshold"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_FilteringThreshold()
{
  _TDispID _dispid(*this, OLETEXT("FilteringThreshold"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_NominalX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NominalX"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_NominalX()
{
  _TDispID _dispid(*this, OLETEXT("NominalX"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_NominalY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NominalY"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_NominalY()
{
  _TDispID _dispid(*this, OLETEXT("NominalY"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_Centering(Evision_tlb::enumMsrCircleCentering /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Centering"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrCircleCentering /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrCircleCentering /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_Centering()
{
  _TDispID _dispid(*this, OLETEXT("Centering"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrCircleCentering /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_Isotropic(Evision_tlb::enumMsrCircleIsotropic /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Isotropic"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrCircleIsotropic /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrCircleIsotropic /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_Isotropic()
{
  _TDispID _dispid(*this, OLETEXT("Isotropic"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrCircleIsotropic /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_IterationCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("IterationCount"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_IterationCount()
{
  _TDispID _dispid(*this, OLETEXT("IterationCount"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_NormalPoint(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NormalPoint"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_NormalPoint()
{
  _TDispID _dispid(*this, OLETEXT("NormalPoint"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_AutomaticStop(Evision_tlb::enumMsrCircleAutomaticStop /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AutomaticStop"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMsrCircleAutomaticStop /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrCircleAutomaticStop /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_AutomaticStop()
{
  _TDispID _dispid(*this, OLETEXT("AutomaticStop"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMsrCircleAutomaticStop /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_NominalRadius(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NominalRadius"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_NominalRadius()
{
  _TDispID _dispid(*this, OLETEXT("NominalRadius"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_SectorAxe(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SectorAxe"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_SectorAxe()
{
  _TDispID _dispid(*this, OLETEXT("SectorAxe"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_SectorExcursion(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SectorExcursion"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_SectorExcursion()
{
  _TDispID _dispid(*this, OLETEXT("SectorExcursion"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_MaxDisplacement(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxDisplacement"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_MaxDisplacement()
{
  _TDispID _dispid(*this, OLETEXT("MaxDisplacement"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_MeasuredRadius(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredRadius"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_MeasuredRadius()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredRadius"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_FillColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_FillColor()
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_FillStyle(Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFillStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFillStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_FillStyle()
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFillStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_MeasuredDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredDeviation"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_MeasuredDeviation()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredDeviation"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_PixelWidth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_PixelWidth()
{
  _TDispID _dispid(*this, OLETEXT("PixelWidth"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_PixelHeight(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_PixelHeight()
{
  _TDispID _dispid(*this, OLETEXT("PixelHeight"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_PixelUnit(Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumUnits /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumUnits /*[VT_USERDEFINED:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_PixelUnit()
{
  _TDispID _dispid(*this, OLETEXT("PixelUnit"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumUnits /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(40));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_NumPoints(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumPoints"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_NumPoints()
{
  _TDispID _dispid(*this, OLETEXT("NumPoints"), DISPID(41));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::set_NumValidPoints(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumValidPoints"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DECircleMeasureDispT<T>::get_NumValidPoints()
{
  _TDispID _dispid(*this, OLETEXT("NumValidPoints"), DISPID(42));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::FitCircle(LPDISPATCH BW8SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("FitCircle"), DISPID(43));
  TAutoArgs<1> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::Draw(LPDISPATCH Image, Evision_tlb::enumMsrDrawingMode DrawingMode, 
                               TOLEBOOL DrawHandles)
{
  _TDispID _dispid(*this, OLETEXT("Draw"), DISPID(44));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)DrawingMode /*[VT_USERDEFINED:0]*/;
  _args[3] = DrawHandles /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumMsrHandleNames __fastcall
_DECircleMeasureDispT<T>::HitTest(LPDISPATCH Image, long X, long Y)
{
  _TDispID _dispid(*this, OLETEXT("HitTest"), DISPID(45));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = X /*[VT_I4:0]*/;
  _args[3] = Y /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumMsrHandleNames /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::Drag(LPDISPATCH Image, Evision_tlb::enumMsrHandleNames Handle, long X, 
                               long Y)
{
  _TDispID _dispid(*this, OLETEXT("Drag"), DISPID(46));
  TAutoArgs<4> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)Handle /*[VT_USERDEFINED:0]*/;
  _args[3] = X /*[VT_I4:0]*/;
  _args[4] = Y /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> float __fastcall
_DECircleMeasureDispT<T>::get_PointX(short Indice)
{
  _TDispID _dispid(*this, OLETEXT("PointX"), DISPID(47));
  TAutoArgs<1> _args;
  _args[1] = Indice /*[VT_I2:0]*/;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DECircleMeasureDispT<T>::get_PointY(short Indice)
{
  _TDispID _dispid(*this, OLETEXT("PointY"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = Indice /*[VT_I2:0]*/;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> TOLEBOOL __fastcall
_DECircleMeasureDispT<T>::get_PointValid(short Indice)
{
  _TDispID _dispid(*this, OLETEXT("PointValid"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = Indice /*[VT_I2:0]*/;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DECircleMeasureDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DECircleMeasureEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEOCR
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EA8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEOCRDispT<T>::set_TextColor(Evision_tlb::enumOcrColor /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrColor /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumOcrColor /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCRDispT<T>::get_TextColor()
{
  _TDispID _dispid(*this, OLETEXT("TextColor"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumOcrColor /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_Threshold(Evision_tlb::enumImgThresholdModes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Threshold"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumImgThresholdModes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumImgThresholdModes /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCRDispT<T>::get_Threshold()
{
  _TDispID _dispid(*this, OLETEXT("Threshold"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumImgThresholdModes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_MinCharWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinCharWidth"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_MinCharWidth()
{
  _TDispID _dispid(*this, OLETEXT("MinCharWidth"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_MaxCharWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxCharWidth"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_MaxCharWidth()
{
  _TDispID _dispid(*this, OLETEXT("MaxCharWidth"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_MinCharHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinCharHeight"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_MinCharHeight()
{
  _TDispID _dispid(*this, OLETEXT("MinCharHeight"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_MaxCharHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxCharHeight"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_MaxCharHeight()
{
  _TDispID _dispid(*this, OLETEXT("MaxCharHeight"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_CharSpacing(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CharSpacing"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_CharSpacing()
{
  _TDispID _dispid(*this, OLETEXT("CharSpacing"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_NoiseArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NoiseArea"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_NoiseArea()
{
  _TDispID _dispid(*this, OLETEXT("NoiseArea"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_SegmentationMode(Evision_tlb::enumOcrSegmentationMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SegmentationMode"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrSegmentationMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumOcrSegmentationMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCRDispT<T>::get_SegmentationMode()
{
  _TDispID _dispid(*this, OLETEXT("SegmentationMode"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumOcrSegmentationMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_NumChars(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumChars"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_NumChars()
{
  _TDispID _dispid(*this, OLETEXT("NumChars"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_NumPatterns(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumPatterns"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_NumPatterns()
{
  _TDispID _dispid(*this, OLETEXT("NumPatterns"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEOCRDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCRDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEOCRDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCRDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEOCRDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_PatternWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PatternWidth"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_PatternWidth()
{
  _TDispID _dispid(*this, OLETEXT("PatternWidth"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_PatternHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PatternHeight"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_PatternHeight()
{
  _TDispID _dispid(*this, OLETEXT("PatternHeight"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_CutLargeCharacters(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CutLargeCharacters"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCRDispT<T>::get_CutLargeCharacters()
{
  _TDispID _dispid(*this, OLETEXT("CutLargeCharacters"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_CompareAspectRatio(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CompareAspectRatio"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCRDispT<T>::get_CompareAspectRatio()
{
  _TDispID _dispid(*this, OLETEXT("CompareAspectRatio"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_RemoveNarrowOrFlat(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RemoveNarrowOrFlat"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCRDispT<T>::get_RemoveNarrowOrFlat()
{
  _TDispID _dispid(*this, OLETEXT("RemoveNarrowOrFlat"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_RemoveBorder(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RemoveBorder"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCRDispT<T>::get_RemoveBorder()
{
  _TDispID _dispid(*this, OLETEXT("RemoveBorder"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_RelativeSpacing(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("RelativeSpacing"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCRDispT<T>::get_RelativeSpacing()
{
  _TDispID _dispid(*this, OLETEXT("RelativeSpacing"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_AverageFirstCharDistance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AverageFirstCharDistance"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCRDispT<T>::get_AverageFirstCharDistance()
{
  _TDispID _dispid(*this, OLETEXT("AverageFirstCharDistance"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_ShiftToleranceX(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftToleranceX"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_ShiftToleranceX()
{
  _TDispID _dispid(*this, OLETEXT("ShiftToleranceX"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_MatchingMode(Evision_tlb::enumOcrMatchingMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MatchingMode"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrMatchingMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumOcrMatchingMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCRDispT<T>::get_MatchingMode()
{
  _TDispID _dispid(*this, OLETEXT("MatchingMode"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumOcrMatchingMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_ShiftingMode(Evision_tlb::enumOcrShiftingMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftingMode"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcrShiftingMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumOcrShiftingMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCRDispT<T>::get_ShiftingMode()
{
  _TDispID _dispid(*this, OLETEXT("ShiftingMode"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumOcrShiftingMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::set_ShiftToleranceY(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftToleranceY"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCRDispT<T>::get_ShiftToleranceY()
{
  _TDispID _dispid(*this, OLETEXT("ShiftToleranceY"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::GetFirstCharCode(long Index)
{
  _TDispID _dispid(*this, OLETEXT("GetFirstCharCode"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::GetSecondCharCode(long Index)
{
  _TDispID _dispid(*this, OLETEXT("GetSecondCharCode"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DEOCRDispT<T>::GetFirstCharDistance(long Index)
{
  _TDispID _dispid(*this, OLETEXT("GetFirstCharDistance"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DEOCRDispT<T>::GetSecondCharDistance(long Index)
{
  _TDispID _dispid(*this, OLETEXT("GetSecondCharDistance"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharOrgX(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharOrgX"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharOrgY(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharOrgY"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharDstX(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharDstX"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharDstY(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharDstY"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharTotalOrgX(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharTotalOrgX"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharTotalOrgY(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharTotalOrgY"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharTotalDstX(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharTotalDstX"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharTotalDstY(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharTotalDstY"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharWidth(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharWidth"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::CharHeight(long Index)
{
  _TDispID _dispid(*this, OLETEXT("CharHeight"), DISPID(43));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::AddClasses(long Classes)
{
  _TDispID _dispid(*this, OLETEXT("AddClasses"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = Classes /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::EmptyClasses()
{
  _TDispID _dispid(*this, OLETEXT("EmptyClasses"), DISPID(45));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEOCRDispT<T>::RecognizeClasses(LPDISPATCH BW8SrcImage, long MaxChars, BSTR* DstString)
{
  _TDispID _dispid(*this, OLETEXT("RecognizeClasses"), DISPID(46));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = MaxChars /*[VT_I4:0]*/;
  _args[3] = DstString /*[VT_BSTR:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::RecognizeClass(LPDISPATCH BW8SrcImage, long MaxChars, 
                               Evision_tlb::enumOcrClasses Classes, BSTR* DstString)
{
  _TDispID _dispid(*this, OLETEXT("RecognizeClass"), DISPID(47));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = MaxChars /*[VT_I4:0]*/;
  _args[3] = (int)Classes /*[VT_USERDEFINED:0]*/;
  _args[4] = DstString /*[VT_BSTR:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::LoadFont(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("LoadFont"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::SaveFont(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("SaveFont"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEOCRDispT<T>::GetPatternCode(long Index)
{
  _TDispID _dispid(*this, OLETEXT("GetPatternCode"), DISPID(50));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> long __fastcall
_DEOCRDispT<T>::GetPatternClass(long Index)
{
  _TDispID _dispid(*this, OLETEXT("GetPatternClass"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::AddPatternFromImage(LPDISPATCH BW8SrcImage, long OriginX, long OriginY, long Width, 
                                    long Height, long Code, Evision_tlb::enumOcrClasses Class)
{
  _TDispID _dispid(*this, OLETEXT("AddPatternFromImage"), DISPID(52));
  TAutoArgs<7> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = OriginX /*[VT_I4:0]*/;
  _args[3] = OriginY /*[VT_I4:0]*/;
  _args[4] = Width /*[VT_I4:0]*/;
  _args[5] = Height /*[VT_I4:0]*/;
  _args[6] = Code /*[VT_I4:0]*/;
  _args[7] = (int)Class /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::DrawChar(LPDISPATCH Image, long Index)
{
  _TDispID _dispid(*this, OLETEXT("DrawChar"), DISPID(53));
  TAutoArgs<2> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = Index /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::DrawChars(LPDISPATCH Image)
{
  _TDispID _dispid(*this, OLETEXT("DrawChars"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::NewFont(long PatternWidth, long PatternHeight)
{
  _TDispID _dispid(*this, OLETEXT("NewFont"), DISPID(55));
  TAutoArgs<2> _args;
  _args[1] = PatternWidth /*[VT_I4:0]*/;
  _args[2] = PatternHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::BuildObjects(LPDISPATCH BW8SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("BuildObjects"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::FindAllChars(LPDISPATCH BW8SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("FindAllChars"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::EmptyChars()
{
  _TDispID _dispid(*this, OLETEXT("EmptyChars"), DISPID(58));
  OleProcedure(_dispid);
}

template <class T> short __fastcall
_DEOCRDispT<T>::AddChars(long OrgX, long OrgY, long EndX, long EndY)
{
  _TDispID _dispid(*this, OLETEXT("AddChars"), DISPID(59));
  TAutoArgs<4> _args;
  _args[1] = OrgX /*[VT_I4:0]*/;
  _args[2] = OrgY /*[VT_I4:0]*/;
  _args[3] = EndX /*[VT_I4:0]*/;
  _args[4] = EndY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::ReadTextClass(LPDISPATCH BW8SrcImage, long MaxChars, 
                              Evision_tlb::enumOcrClasses Classes, BSTR* DstString)
{
  _TDispID _dispid(*this, OLETEXT("ReadTextClass"), DISPID(60));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = MaxChars /*[VT_I4:0]*/;
  _args[3] = (int)Classes /*[VT_USERDEFINED:0]*/;
  _args[4] = DstString /*[VT_BSTR:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::ReadTextClasses(LPDISPATCH BW8SrcImage, long MaxChars, BSTR* DstString)
{
  _TDispID _dispid(*this, OLETEXT("ReadTextClasses"), DISPID(61));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = MaxChars /*[VT_I4:0]*/;
  _args[3] = DstString /*[VT_BSTR:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> TOLEBOOL __fastcall
_DEOCRDispT<T>::HitChars(float CursorX, float CursorY, long CharIndex, float ZoomX, float ZoomY, 
                         float PanX, float PanY)
{
  _TDispID _dispid(*this, OLETEXT("HitChars"), DISPID(62));
  TAutoArgs<7> _args;
  _args[1] = CursorX /*[VT_R4:0]*/;
  _args[2] = CursorY /*[VT_R4:0]*/;
  _args[3] = CharIndex /*[VT_I4:0]*/;
  _args[4] = ZoomX /*[VT_R4:0]*/;
  _args[5] = ZoomY /*[VT_R4:0]*/;
  _args[6] = PanX /*[VT_R4:0]*/;
  _args[7] = PanY /*[VT_R4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCRDispT<T>::LearnPattern(LPDISPATCH BW8SrcImg, long* CharIndex, long Code, 
                             Evision_tlb::enumOcrClasses Class)
{
  _TDispID _dispid(*this, OLETEXT("LearnPattern"), DISPID(63));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImg /*[VT_DISPATCH:0]*/;
  _args[2] = CharIndex /*[VT_I4:1]*/;
  _args[3] = Code /*[VT_I4:0]*/;
  _args[4] = (int)Class /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCRDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEOCREvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EA9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEOCV
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEOCVDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEOCVDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEOCVDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_QualityArea(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("QualityArea"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_QualityArea()
{
  _TDispID _dispid(*this, OLETEXT("QualityArea"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_QualityCorrelation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("QualityCorrelation"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_QualityCorrelation()
{
  _TDispID _dispid(*this, OLETEXT("QualityCorrelation"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_QualityLocation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("QualityLocation"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_QualityLocation()
{
  _TDispID _dispid(*this, OLETEXT("QualityLocation"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_QualitySum(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("QualitySum"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_QualitySum()
{
  _TDispID _dispid(*this, OLETEXT("QualitySum"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_LocationMode(Evision_tlb::enumOcvLocationMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationMode"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumOcvLocationMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumOcvLocationMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_LocationMode()
{
  _TDispID _dispid(*this, OLETEXT("LocationMode"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumOcvLocationMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_SampleThreshold(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleThreshold"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEOCVDispT<T>::get_SampleThreshold()
{
  _TDispID _dispid(*this, OLETEXT("SampleThreshold"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_SampleBackground(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleBackground"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVDispT<T>::get_SampleBackground()
{
  _TDispID _dispid(*this, OLETEXT("SampleBackground"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_SampleForeground(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleForeground"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVDispT<T>::get_SampleForeground()
{
  _TDispID _dispid(*this, OLETEXT("SampleForeground"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_NumTexts(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumTexts"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVDispT<T>::get_NumTexts()
{
  _TDispID _dispid(*this, OLETEXT("NumTexts"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_ResampleChars(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ResampleChars"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_ResampleChars()
{
  _TDispID _dispid(*this, OLETEXT("ResampleChars"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticCharNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharNotFound"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticCharNotFound()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharNotFound"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticTextNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextNotFound"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticTextNotFound()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextNotFound"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticCharOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharOverprinting"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticCharOverprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharOverprinting"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticTextOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextOverprinting"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticTextOverprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextOverprinting"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticCharUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharUnderprinting"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticCharUnderprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharUnderprinting"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticTextUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextUnderprinting"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticTextUnderprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextUnderprinting"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticCharMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharMismatch"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticCharMismatch()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharMismatch"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticTextMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextMismatch"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticTextMismatch()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextMismatch"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_StatisticsCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("StatisticsCount"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVDispT<T>::get_StatisticsCount()
{
  _TDispID _dispid(*this, OLETEXT("StatisticsCount"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEOCVDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_QualityContrast(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("QualityContrast"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_QualityContrast()
{
  _TDispID _dispid(*this, OLETEXT("QualityContrast"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_DiagnosticBadContrast(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticBadContrast"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVDispT<T>::get_DiagnosticBadContrast()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticBadContrast"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_ReduceLocationScore(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ReduceLocationScore"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_ReduceLocationScore()
{
  _TDispID _dispid(*this, OLETEXT("ReduceLocationScore"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_NormalizeLocationScore(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NormalizeLocationScore"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_NormalizeLocationScore()
{
  _TDispID _dispid(*this, OLETEXT("NormalizeLocationScore"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_AccurateTextLocation(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AccurateTextLocation"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVDispT<T>::get_AccurateTextLocation()
{
  _TDispID _dispid(*this, OLETEXT("AccurateTextLocation"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_TemplateThreshold(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateThreshold"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEOCVDispT<T>::get_TemplateThreshold()
{
  _TDispID _dispid(*this, OLETEXT("TemplateThreshold"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_TemplateBackground(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackground"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVDispT<T>::get_TemplateBackground()
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackground"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::set_TemplateForeground(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateForeground"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVDispT<T>::get_TemplateForeground()
{
  _TDispID _dispid(*this, OLETEXT("TemplateForeground"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::Load(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::Save(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::Inspect(LPDISPATCH BW8SampleImage, long Threshold)
{
  _TDispID _dispid(*this, OLETEXT("Inspect"), DISPID(36));
  TAutoArgs<2> _args;
  _args[1] = BW8SampleImage /*[VT_DISPATCH:0]*/;
  _args[2] = Threshold /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::DrawText(LPDISPATCH Image, LPDISPATCH OCVText)
{
  _TDispID _dispid(*this, OLETEXT("DrawText"), DISPID(37));
  TAutoArgs<2> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = OCVText /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::DrawTexts(LPDISPATCH Image, Evision_tlb::enumSelectionMode eTextsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("DrawTexts"), DISPID(38));
  TAutoArgs<2> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::DrawTextChars(LPDISPATCH Image, LPDISPATCH OCVText, 
                              Evision_tlb::enumSelectionMode eCharsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("DrawTextChars"), DISPID(39));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = OCVText /*[VT_DISPATCH:0]*/;
  _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::DrawTextsChars(LPDISPATCH Image, Evision_tlb::enumSelectionMode eTextsSelectionMode
                               , Evision_tlb::enumSelectionMode eCharsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("DrawTextsChars"), DISPID(40));
  TAutoArgs<3> _args;
  _args[1] = Image /*[VT_DISPATCH:0]*/;
  _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::GetTextParameters(LPDISPATCH OCVText, long TextIndex)
{
  _TDispID _dispid(*this, OLETEXT("GetTextParameters"), DISPID(41));
  TAutoArgs<2> _args;
  _args[1] = OCVText /*[VT_DISPATCH:0]*/;
  _args[2] = TextIndex /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::SetTextParameters(LPDISPATCH OCVText, long TextIndex)
{
  _TDispID _dispid(*this, OLETEXT("SetTextParameters"), DISPID(42));
  TAutoArgs<2> _args;
  _args[1] = OCVText /*[VT_DISPATCH:0]*/;
  _args[2] = TextIndex /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::GatherTextsParameters(LPDISPATCH OCVText, 
                                      Evision_tlb::enumSelectionMode eTextsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("GatherTextsParameters"), DISPID(43));
  TAutoArgs<2> _args;
  _args[1] = OCVText /*[VT_DISPATCH:0]*/;
  _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::ScatterTextsParameters(LPDISPATCH OCVText, 
                                       Evision_tlb::enumSelectionMode eTextsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("ScatterTextsParameters"), DISPID(44));
  TAutoArgs<2> _args;
  _args[1] = OCVText /*[VT_DISPATCH:0]*/;
  _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::GetTextCharParameters(LPDISPATCH OCVChar, long TextIndex, long CharIndex)
{
  _TDispID _dispid(*this, OLETEXT("GetTextCharParameters"), DISPID(45));
  TAutoArgs<3> _args;
  _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
  _args[2] = TextIndex /*[VT_I4:0]*/;
  _args[3] = CharIndex /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::SetTextCharParameters(LPDISPATCH OCVChar, long TextIndex, long CharIndex)
{
  _TDispID _dispid(*this, OLETEXT("SetTextCharParameters"), DISPID(46));
  TAutoArgs<3> _args;
  _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
  _args[2] = TextIndex /*[VT_I4:0]*/;
  _args[3] = CharIndex /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::GatherTextsCharsParameters(LPDISPATCH OCVChar, 
                                           Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                           Evision_tlb::enumSelectionMode eCharsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("GatherTextsCharsParameters"), DISPID(47));
  TAutoArgs<3> _args;
  _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
  _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::ScatterTextsCharsParameters(LPDISPATCH OCVChar, 
                                            Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                            Evision_tlb::enumSelectionMode eCharsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("ScatterTextsCharsParameters"), DISPID(48));
  TAutoArgs<3> _args;
  _args[1] = OCVChar /*[VT_DISPATCH:0]*/;
  _args[2] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> long __fastcall
_DEOCVDispT<T>::get_NumTextChars(long TextIndex)
{
  _TDispID _dispid(*this, OLETEXT("NumTextChars"), DISPID(65));
  TAutoArgs<1> _args;
  _args[1] = TextIndex /*[VT_I4:0]*/;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::SelectSampleTexts(long OriginX, long OriginY, long Width, long Height, 
                                  Evision_tlb::enumSelectionMode eTextsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("SelectSampleTexts"), DISPID(49));
  TAutoArgs<5> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  _args[3] = Width /*[VT_I4:0]*/;
  _args[4] = Height /*[VT_I4:0]*/;
  _args[5] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::SelectSampleTextsChars(long OriginX, long OriginY, long Width, long Height, 
                                       Evision_tlb::enumSelectionMode eTextsSelectionMode, 
                                       Evision_tlb::enumSelectionMode eCharsSelectionMode)
{
  _TDispID _dispid(*this, OLETEXT("SelectSampleTextsChars"), DISPID(50));
  TAutoArgs<6> _args;
  _args[1] = OriginX /*[VT_I4:0]*/;
  _args[2] = OriginY /*[VT_I4:0]*/;
  _args[3] = Width /*[VT_I4:0]*/;
  _args[4] = Height /*[VT_I4:0]*/;
  _args[5] = (int)eTextsSelectionMode /*[VT_USERDEFINED:0]*/;
  _args[6] = (int)eCharsSelectionMode /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::ClearStatistics()
{
  _TDispID _dispid(*this, OLETEXT("ClearStatistics"), DISPID(51));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEOCVDispT<T>::UpdateStatistics()
{
  _TDispID _dispid(*this, OLETEXT("UpdateStatistics"), DISPID(52));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEOCVDispT<T>::ComputeDefaultTolerances(LPDISPATCH BW8Image, long Threshold)
{
  _TDispID _dispid(*this, OLETEXT("ComputeDefaultTolerances"), DISPID(53));
  TAutoArgs<2> _args;
  _args[1] = BW8Image /*[VT_DISPATCH:0]*/;
  _args[2] = Threshold /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> float __fastcall
_DEOCVDispT<T>::GetSampleContrast()
{
  _TDispID _dispid(*this, OLETEXT("GetSampleContrast"), DISPID(54));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DEOCVDispT<T>::GetContrastAverage()
{
  _TDispID _dispid(*this, OLETEXT("GetContrastAverage"), DISPID(55));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DEOCVDispT<T>::GetContrastDeviation()
{
  _TDispID _dispid(*this, OLETEXT("GetContrastDeviation"), DISPID(56));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::SetContrastTolerance(float fNewValue)
{
  _TDispID _dispid(*this, OLETEXT("SetContrastTolerance"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = fNewValue /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> float __fastcall
_DEOCVDispT<T>::GetConstrastTolerance()
{
  _TDispID _dispid(*this, OLETEXT("GetConstrastTolerance"), DISPID(58));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DEOCVDispT<T>::GetTemplateContrast()
{
  _TDispID _dispid(*this, OLETEXT("GetTemplateContrast"), DISPID(59));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVDispT<T>::AdjustShiftTolerance(LPDISPATCH BW8Image)
{
  _TDispID _dispid(*this, OLETEXT("AdjustShiftTolerance"), DISPID(60));
  TAutoArgs<1> _args;
  _args[1] = BW8Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::AdjustTextsLocationRanges(float fFactor, Evision_tlb::enumSelectionMode eSelection)
{
  _TDispID _dispid(*this, OLETEXT("AdjustTextsLocationRanges"), DISPID(61));
  TAutoArgs<2> _args;
  _args[1] = fFactor /*[VT_R4:0]*/;
  _args[2] = (int)eSelection /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::AdjustTextsQualityRanges(float fFactor, 
                                         Evision_tlb::enumSelectionMode eModeSelection)
{
  _TDispID _dispid(*this, OLETEXT("AdjustTextsQualityRanges"), DISPID(62));
  TAutoArgs<2> _args;
  _args[1] = fFactor /*[VT_R4:0]*/;
  _args[2] = (int)eModeSelection /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::AdjustCharsLocationRanges(float fFactor, 
                                          Evision_tlb::enumSelectionMode eTextSelection, 
                                          Evision_tlb::enumSelectionMode eCharSelection)
{
  _TDispID _dispid(*this, OLETEXT("AdjustCharsLocationRanges"), DISPID(63));
  TAutoArgs<3> _args;
  _args[1] = fFactor /*[VT_R4:0]*/;
  _args[2] = (int)eTextSelection /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)eCharSelection /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::AdjustCharsQualityRanges(float fFacor, Evision_tlb::enumSelectionMode eTextSelection
                                         , Evision_tlb::enumSelectionMode eCharSelection)
{
  _TDispID _dispid(*this, OLETEXT("AdjustCharsQualityRanges"), DISPID(64));
  TAutoArgs<3> _args;
  _args[1] = fFacor /*[VT_R4:0]*/;
  _args[2] = (int)eTextSelection /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)eCharSelection /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEOCVDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEOCVEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEOCVChar
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEOCVCharDispT<T>::set_NumContourPoints(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumContourPoints"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_NumContourPoints()
{
  _TDispID _dispid(*this, OLETEXT("NumContourPoints"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_TemplateLocationScore(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateLocationScore"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_TemplateLocationScore()
{
  _TDispID _dispid(*this, OLETEXT("TemplateLocationScore"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_SampleLocationScore(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleLocationScore"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_SampleLocationScore()
{
  _TDispID _dispid(*this, OLETEXT("SampleLocationScore"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_LocationScoreTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreTolerance"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_LocationScoreTolerance()
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreTolerance"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftX"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftX()
{
  _TDispID _dispid(*this, OLETEXT("ShiftX"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftXBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXBias"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftXBias()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXBias"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftXTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXTolerance"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftXTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXTolerance"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftXStride(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXStride"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftXStride()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXStride"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftY"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftY()
{
  _TDispID _dispid(*this, OLETEXT("ShiftY"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftYBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYBias"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftYBias()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYBias"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftYTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYTolerance"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftYTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYTolerance"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftYStride(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYStride"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftYStride()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYStride"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_DiagnosticCharNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharNotFound"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVCharDispT<T>::get_DiagnosticCharNotFound()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharNotFound"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_DiagnosticCharOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharOverprinting"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVCharDispT<T>::get_DiagnosticCharOverprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharOverprinting"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_DiagnosticCharUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharUnderprinting"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVCharDispT<T>::get_DiagnosticCharUnderprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharUnderprinting"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_DiagnosticCharMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharMismatch"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVCharDispT<T>::get_DiagnosticCharMismatch()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticCharMismatch"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_TemplateForegroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundArea"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_TemplateForegroundArea()
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundArea"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_SampleForegroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundArea"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_SampleForegroundArea()
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundArea"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ForegroundAreaTolerance(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaTolerance"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ForegroundAreaTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaTolerance"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_TemplateBackgroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundArea"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_TemplateBackgroundArea()
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundArea"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_SampleBackgroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundArea"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_SampleBackgroundArea()
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundArea"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_BackgroundAreaTolerance(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaTolerance"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_BackgroundAreaTolerance()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaTolerance"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_TemplateForegroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundSum"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_TemplateForegroundSum()
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundSum"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_SampleForegroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundSum"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_SampleForegroundSum()
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundSum"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ForegroundSumTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumTolerance"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ForegroundSumTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumTolerance"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_TemplateBackgroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundSum"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_TemplateBackgroundSum()
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundSum"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_SampleBackgroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundSum"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_SampleBackgroundSum()
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundSum"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_BackgroundSumTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumTolerance"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_BackgroundSumTolerance()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumTolerance"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_Correlation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Correlation"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_Correlation()
{
  _TDispID _dispid(*this, OLETEXT("Correlation"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_CorrelationTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CorrelationTolerance"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_CorrelationTolerance()
{
  _TDispID _dispid(*this, OLETEXT("CorrelationTolerance"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_MarginWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MarginWidth"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_MarginWidth()
{
  _TDispID _dispid(*this, OLETEXT("MarginWidth"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_LocationScoreAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreAverage"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_LocationScoreAverage()
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreAverage"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_LocationScoreDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreDeviation"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_LocationScoreDeviation()
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreDeviation"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftXAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXAverage"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftXAverage()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXAverage"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftXDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXDeviation"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftXDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXDeviation"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftYAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYAverage"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftYAverage()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYAverage"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftYDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYDeviation"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftYDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYDeviation"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ForegroundAreaAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaAverage"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ForegroundAreaAverage()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaAverage"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ForegroundAreaDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaDeviation"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ForegroundAreaDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaDeviation"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_BackgroundAreaAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaAverage"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_BackgroundAreaAverage()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaAverage"), DISPID(40));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_BackgroundAreaDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaDeviation"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_BackgroundAreaDeviation()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaDeviation"), DISPID(41));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ForegroundSumAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumAverage"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ForegroundSumAverage()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumAverage"), DISPID(42));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ForegroundSumDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumDeviation"), DISPID(43));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ForegroundSumDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumDeviation"), DISPID(43));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_BackgroundSumAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumAverage"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_BackgroundSumAverage()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumAverage"), DISPID(44));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_BackgroundSumDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumDeviation"), DISPID(45));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_BackgroundSumDeviation()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumDeviation"), DISPID(45));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_CorrelationAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CorrelationAverage"), DISPID(46));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_CorrelationAverage()
{
  _TDispID _dispid(*this, OLETEXT("CorrelationAverage"), DISPID(46));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_CorrelationDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CorrelationDeviation"), DISPID(47));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_CorrelationDeviation()
{
  _TDispID _dispid(*this, OLETEXT("CorrelationDeviation"), DISPID(47));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_Selected(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVCharDispT<T>::get_Selected()
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(48));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_WhiteOnBlack(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("WhiteOnBlack"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVCharDispT<T>::get_WhiteOnBlack()
{
  _TDispID _dispid(*this, OLETEXT("WhiteOnBlack"), DISPID(49));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(50));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEOCVCharDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(50));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(51));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftXMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMax"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftXMax()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMax"), DISPID(52));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftXMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMin"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftXMin()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMin"), DISPID(53));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftYMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMax"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftYMax()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMax"), DISPID(54));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_ShiftYMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMin"), DISPID(55));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_ShiftYMin()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMin"), DISPID(55));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_LearntTemplateForegroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LearntTemplateForegroundArea"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_LearntTemplateForegroundArea()
{
  _TDispID _dispid(*this, OLETEXT("LearntTemplateForegroundArea"), DISPID(56));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::set_LearntTemplateBackgroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LearntTemplateBackgroundArea"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVCharDispT<T>::get_LearntTemplateBackgroundArea()
{
  _TDispID _dispid(*this, OLETEXT("LearntTemplateBackgroundArea"), DISPID(57));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::ResetParameters()
{
  _TDispID _dispid(*this, OLETEXT("ResetParameters"), DISPID(58));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEOCVCharDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEOCVCharEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEOCVText
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EB8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEOCVTextDispT<T>::set_NumContourPoints(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumContourPoints"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_NumContourPoints()
{
  _TDispID _dispid(*this, OLETEXT("NumContourPoints"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_TemplateLocationScore(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateLocationScore"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_TemplateLocationScore()
{
  _TDispID _dispid(*this, OLETEXT("TemplateLocationScore"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SampleLocationScore(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleLocationScore"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SampleLocationScore()
{
  _TDispID _dispid(*this, OLETEXT("SampleLocationScore"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_LocationScoreTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreTolerance"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_LocationScoreTolerance()
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreTolerance"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftX"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftX()
{
  _TDispID _dispid(*this, OLETEXT("ShiftX"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftXBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXBias"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftXBias()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXBias"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftXTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXTolerance"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftXTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXTolerance"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftXStride(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXStride"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftXStride()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXStride"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftY"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftY()
{
  _TDispID _dispid(*this, OLETEXT("ShiftY"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftYBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYBias"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftYBias()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYBias"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftYTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYTolerance"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftYTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYTolerance"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftYStride(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYStride"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftYStride()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYStride"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_Skew(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Skew"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_Skew()
{
  _TDispID _dispid(*this, OLETEXT("Skew"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SkewBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewBias"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SkewBias()
{
  _TDispID _dispid(*this, OLETEXT("SkewBias"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SkewTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewTolerance"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SkewTolerance()
{
  _TDispID _dispid(*this, OLETEXT("SkewTolerance"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SkewCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewCount"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SkewCount()
{
  _TDispID _dispid(*this, OLETEXT("SkewCount"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleX"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleX()
{
  _TDispID _dispid(*this, OLETEXT("ScaleX"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleXBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleXBias"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleXBias()
{
  _TDispID _dispid(*this, OLETEXT("ScaleXBias"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleXTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleXTolerance"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleXTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ScaleXTolerance"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleXCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleXCount"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleXCount()
{
  _TDispID _dispid(*this, OLETEXT("ScaleXCount"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleY"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleY()
{
  _TDispID _dispid(*this, OLETEXT("ScaleY"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleYBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleYBias"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleYBias()
{
  _TDispID _dispid(*this, OLETEXT("ScaleYBias"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleYTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleYTolerance"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleYTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ScaleYTolerance"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleYCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleYCount"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleYCount()
{
  _TDispID _dispid(*this, OLETEXT("ScaleYCount"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_Shear(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Shear"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_Shear()
{
  _TDispID _dispid(*this, OLETEXT("Shear"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShearBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShearBias"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShearBias()
{
  _TDispID _dispid(*this, OLETEXT("ShearBias"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShearTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShearTolerance"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShearTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ShearTolerance"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShearCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShearCount"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShearCount()
{
  _TDispID _dispid(*this, OLETEXT("ShearCount"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_DiagnosticTextNotFound(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextNotFound"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVTextDispT<T>::get_DiagnosticTextNotFound()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextNotFound"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_DiagnosticTextOverprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextOverprinting"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVTextDispT<T>::get_DiagnosticTextOverprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextOverprinting"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_DiagnosticTextUnderprinting(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextUnderprinting"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVTextDispT<T>::get_DiagnosticTextUnderprinting()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextUnderprinting"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_DiagnosticTextMismatch(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextMismatch"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVTextDispT<T>::get_DiagnosticTextMismatch()
{
  _TDispID _dispid(*this, OLETEXT("DiagnosticTextMismatch"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_TemplateForegroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundArea"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_TemplateForegroundArea()
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundArea"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SampleForegroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundArea"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SampleForegroundArea()
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundArea"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ForegroundAreaTolerance(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaTolerance"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ForegroundAreaTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaTolerance"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_TemplateBackgroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundArea"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_TemplateBackgroundArea()
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundArea"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SampleBackgroundArea(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundArea"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SampleBackgroundArea()
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundArea"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_BackgroundAreaTolerance(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaTolerance"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_BackgroundAreaTolerance()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaTolerance"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_TemplateForegroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundSum"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_TemplateForegroundSum()
{
  _TDispID _dispid(*this, OLETEXT("TemplateForegroundSum"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SampleForegroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundSum"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SampleForegroundSum()
{
  _TDispID _dispid(*this, OLETEXT("SampleForegroundSum"), DISPID(40));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ForegroundSumTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumTolerance"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ForegroundSumTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumTolerance"), DISPID(41));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_TemplateBackgroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundSum"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_TemplateBackgroundSum()
{
  _TDispID _dispid(*this, OLETEXT("TemplateBackgroundSum"), DISPID(42));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SampleBackgroundSum(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundSum"), DISPID(43));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SampleBackgroundSum()
{
  _TDispID _dispid(*this, OLETEXT("SampleBackgroundSum"), DISPID(43));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_BackgroundSumTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumTolerance"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_BackgroundSumTolerance()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumTolerance"), DISPID(44));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_Correlation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Correlation"), DISPID(45));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_Correlation()
{
  _TDispID _dispid(*this, OLETEXT("Correlation"), DISPID(45));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_CorrelationTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CorrelationTolerance"), DISPID(46));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_CorrelationTolerance()
{
  _TDispID _dispid(*this, OLETEXT("CorrelationTolerance"), DISPID(46));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_LocationScoreAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreAverage"), DISPID(47));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_LocationScoreAverage()
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreAverage"), DISPID(47));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_LocationScoreDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreDeviation"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_LocationScoreDeviation()
{
  _TDispID _dispid(*this, OLETEXT("LocationScoreDeviation"), DISPID(48));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftXAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXAverage"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftXAverage()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXAverage"), DISPID(49));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftXDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXDeviation"), DISPID(50));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftXDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXDeviation"), DISPID(50));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftYAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYAverage"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftYAverage()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYAverage"), DISPID(51));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftYDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYDeviation"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftYDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYDeviation"), DISPID(52));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShearAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShearAverage"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShearAverage()
{
  _TDispID _dispid(*this, OLETEXT("ShearAverage"), DISPID(53));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShearDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShearDeviation"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShearDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ShearDeviation"), DISPID(54));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SkewAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewAverage"), DISPID(55));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SkewAverage()
{
  _TDispID _dispid(*this, OLETEXT("SkewAverage"), DISPID(55));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SkewDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewDeviation"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SkewDeviation()
{
  _TDispID _dispid(*this, OLETEXT("SkewDeviation"), DISPID(56));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleXAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleXAverage"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleXAverage()
{
  _TDispID _dispid(*this, OLETEXT("ScaleXAverage"), DISPID(57));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleXDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleXDeviation"), DISPID(58));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleXDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ScaleXDeviation"), DISPID(58));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleYAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleYAverage"), DISPID(59));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleYAverage()
{
  _TDispID _dispid(*this, OLETEXT("ScaleYAverage"), DISPID(59));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleYDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleYDeviation"), DISPID(60));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleYDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ScaleYDeviation"), DISPID(60));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ForegroundAreaAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaAverage"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ForegroundAreaAverage()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaAverage"), DISPID(61));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ForegroundAreaDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaDeviation"), DISPID(62));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ForegroundAreaDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundAreaDeviation"), DISPID(62));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_BackgroundAreaAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaAverage"), DISPID(63));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_BackgroundAreaAverage()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaAverage"), DISPID(63));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_BackgroundAreaDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaDeviation"), DISPID(64));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_BackgroundAreaDeviation()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundAreaDeviation"), DISPID(64));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ForegroundSumAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumAverage"), DISPID(65));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ForegroundSumAverage()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumAverage"), DISPID(65));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ForegroundSumDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumDeviation"), DISPID(66));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ForegroundSumDeviation()
{
  _TDispID _dispid(*this, OLETEXT("ForegroundSumDeviation"), DISPID(66));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_BackgroundSumAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumAverage"), DISPID(67));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_BackgroundSumAverage()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumAverage"), DISPID(67));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_BackgroundSumDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumDeviation"), DISPID(68));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_BackgroundSumDeviation()
{
  _TDispID _dispid(*this, OLETEXT("BackgroundSumDeviation"), DISPID(68));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_CorrelationAverage(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CorrelationAverage"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_CorrelationAverage()
{
  _TDispID _dispid(*this, OLETEXT("CorrelationAverage"), DISPID(69));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_CorrelationDeviation(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CorrelationDeviation"), DISPID(70));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_CorrelationDeviation()
{
  _TDispID _dispid(*this, OLETEXT("CorrelationDeviation"), DISPID(70));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_Selected(Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(71));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumBooleanValues /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumBooleanValues /*[VT_USERDEFINED:0]*/ __fastcall
_DEOCVTextDispT<T>::get_Selected()
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(71));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumBooleanValues /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(72));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEOCVTextDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(72));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(73));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(73));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftXMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMin"), DISPID(74));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftXMin()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMin"), DISPID(74));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftXMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMax"), DISPID(75));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftXMax()
{
  _TDispID _dispid(*this, OLETEXT("ShiftXMax"), DISPID(75));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftYMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMin"), DISPID(76));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftYMin()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMin"), DISPID(76));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShiftYMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMax"), DISPID(77));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShiftYMax()
{
  _TDispID _dispid(*this, OLETEXT("ShiftYMax"), DISPID(77));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_IsotropicScaling(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("IsotropicScaling"), DISPID(78));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEOCVTextDispT<T>::get_IsotropicScaling()
{
  _TDispID _dispid(*this, OLETEXT("IsotropicScaling"), DISPID(78));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShearMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShearMin"), DISPID(79));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShearMin()
{
  _TDispID _dispid(*this, OLETEXT("ShearMin"), DISPID(79));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ShearMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ShearMax"), DISPID(80));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ShearMax()
{
  _TDispID _dispid(*this, OLETEXT("ShearMax"), DISPID(80));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SkewMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewMin"), DISPID(81));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SkewMin()
{
  _TDispID _dispid(*this, OLETEXT("SkewMin"), DISPID(81));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_SkewMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewMax"), DISPID(82));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_SkewMax()
{
  _TDispID _dispid(*this, OLETEXT("SkewMax"), DISPID(82));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleXMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleXMin"), DISPID(83));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleXMin()
{
  _TDispID _dispid(*this, OLETEXT("ScaleXMin"), DISPID(83));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleXMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleXMax"), DISPID(84));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleXMax()
{
  _TDispID _dispid(*this, OLETEXT("ScaleXMax"), DISPID(84));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleYMin(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleYMin"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleYMin()
{
  _TDispID _dispid(*this, OLETEXT("ScaleYMin"), DISPID(85));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::set_ScaleYMax(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleYMax"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEOCVTextDispT<T>::get_ScaleYMax()
{
  _TDispID _dispid(*this, OLETEXT("ScaleYMax"), DISPID(86));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::ResetParameters()
{
  _TDispID _dispid(*this, OLETEXT("ResetParameters"), DISPID(87));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEOCVTextDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEOCVTextEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EB9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEasyMain
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EAC-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEasyMainDispT<T>::set_TraceMode(Evision_tlb::enumTraceModes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TraceMode"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumTraceModes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumTraceModes /*[VT_USERDEFINED:0]*/ __fastcall
_DEasyMainDispT<T>::get_TraceMode()
{
  _TDispID _dispid(*this, OLETEXT("TraceMode"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumTraceModes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_Version(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Version"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEasyMainDispT<T>::get_Version()
{
  _TDispID _dispid(*this, OLETEXT("Version"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_Error(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Error"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEasyMainDispT<T>::get_Error()
{
  _TDispID _dispid(*this, OLETEXT("Error"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_ErrorText(BSTR /*[VT_BSTR:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ErrorText"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> BSTR /*[VT_BSTR:0]*/ __fastcall
_DEasyMainDispT<T>::get_ErrorText()
{
  _TDispID _dispid(*this, OLETEXT("ErrorText"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_JpegQuality(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("JpegQuality"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEasyMainDispT<T>::get_JpegQuality()
{
  _TDispID _dispid(*this, OLETEXT("JpegQuality"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_TiffThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TiffThreshold"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEasyMainDispT<T>::get_TiffThreshold()
{
  _TDispID _dispid(*this, OLETEXT("TiffThreshold"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEasyMainDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_AngleUnit(Evision_tlb::enumAngleUnits /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AngleUnit"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumAngleUnits /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumAngleUnits /*[VT_USERDEFINED:0]*/ __fastcall
_DEasyMainDispT<T>::get_AngleUnit()
{
  _TDispID _dispid(*this, OLETEXT("AngleUnit"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumAngleUnits /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_MMX(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MMX"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEasyMainDispT<T>::get_MMX()
{
  _TDispID _dispid(*this, OLETEXT("MMX"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_TrueTimingResolution(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("TrueTimingResolution"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEasyMainDispT<T>::get_TrueTimingResolution()
{
  _TDispID _dispid(*this, OLETEXT("TrueTimingResolution"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::set_EnableExceptions(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EnableExceptions"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEasyMainDispT<T>::get_EnableExceptions()
{
  _TDispID _dispid(*this, OLETEXT("EnableExceptions"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Render3DBW8(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float Phi, float Psi
                                , float XScale, float YScale, float ZScale, long PixelSize)
{
  _TDispID _dispid(*this, OLETEXT("Render3DBW8"), DISPID(12));
  TAutoArgs<8> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Phi /*[VT_R4:0]*/;
  _args[4] = Psi /*[VT_R4:0]*/;
  _args[5] = XScale /*[VT_R4:0]*/;
  _args[6] = YScale /*[VT_R4:0]*/;
  _args[7] = ZScale /*[VT_R4:0]*/;
  _args[8] = PixelSize /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Render3DC24(LPDISPATCH C24SrcImage, LPDISPATCH BW8ZImage, LPDISPATCH C24DstImage
                                , float Phi, float Psi, float XScale, float YScale, float ZScale, 
                                long PixelSize)
{
  _TDispID _dispid(*this, OLETEXT("Render3DC24"), DISPID(13));
  TAutoArgs<9> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8ZImage /*[VT_DISPATCH:0]*/;
  _args[3] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[4] = Phi /*[VT_R4:0]*/;
  _args[5] = Psi /*[VT_R4:0]*/;
  _args[6] = XScale /*[VT_R4:0]*/;
  _args[7] = YScale /*[VT_R4:0]*/;
  _args[8] = ZScale /*[VT_R4:0]*/;
  _args[9] = PixelSize /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::RenderColorHistogram(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, float Phi, 
                                         float Psi, float XScale, float YScale, float ZScale)
{
  _TDispID _dispid(*this, OLETEXT("RenderColorHistogram"), DISPID(14));
  TAutoArgs<7> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Phi /*[VT_R4:0]*/;
  _args[4] = Psi /*[VT_R4:0]*/;
  _args[5] = XScale /*[VT_R4:0]*/;
  _args[6] = YScale /*[VT_R4:0]*/;
  _args[7] = ZScale /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::OpBW8Cst2(Evision_tlb::enumImgOperators Operation, short GrayCst, 
                              LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("OpBW8Cst2"), DISPID(15));
  TAutoArgs<3> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = GrayCst /*[VT_I2:0]*/;
  _args[3] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::OpBW8Cst23(Evision_tlb::enumImgOperators Operation, short GrayCst, 
                               LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("OpBW8Cst23"), DISPID(16));
  TAutoArgs<4> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = GrayCst /*[VT_I2:0]*/;
  _args[3] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[4] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Op1BW8Cst3(Evision_tlb::enumImgOperators Operation, LPDISPATCH BW8SrcImage, 
                               short GrayCst, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Op1BW8Cst3"), DISPID(17));
  TAutoArgs<4> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[3] = GrayCst /*[VT_I2:0]*/;
  _args[4] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::OpC24Cst2(Evision_tlb::enumImgOperators Operation, short RedCst, short GreenCst
                              , short BlueCst, LPDISPATCH C24DstImage)
{
  _TDispID _dispid(*this, OLETEXT("OpC24Cst2"), DISPID(18));
  TAutoArgs<5> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = RedCst /*[VT_I2:0]*/;
  _args[3] = GreenCst /*[VT_I2:0]*/;
  _args[4] = BlueCst /*[VT_I2:0]*/;
  _args[5] = C24DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::OpC24Cst23(Evision_tlb::enumImgOperators Operation, short RedCst, short GreenCst
                               , short BlueCst, LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage)
{
  _TDispID _dispid(*this, OLETEXT("OpC24Cst23"), DISPID(19));
  TAutoArgs<6> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = RedCst /*[VT_I2:0]*/;
  _args[3] = GreenCst /*[VT_I2:0]*/;
  _args[4] = BlueCst /*[VT_I2:0]*/;
  _args[5] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[6] = C24DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Op1C24Cst3(Evision_tlb::enumImgOperators Operation, LPDISPATCH C24SrcImage, 
                               short RedCst, short GreenCst, short BlueCst, LPDISPATCH C24DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Op1C24Cst3"), DISPID(20));
  TAutoArgs<6> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[3] = RedCst /*[VT_I2:0]*/;
  _args[4] = GreenCst /*[VT_I2:0]*/;
  _args[5] = BlueCst /*[VT_I2:0]*/;
  _args[6] = C24DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Op12(Evision_tlb::enumImgOperators Operation, LPDISPATCH SrcImage, 
                         LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Op12"), DISPID(21));
  TAutoArgs<3> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[3] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Op123(Evision_tlb::enumImgOperators Operation, LPDISPATCH SrcImage1, 
                          LPDISPATCH SrcImage2, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Op123"), DISPID(22));
  TAutoArgs<4> _args;
  _args[1] = (int)Operation /*[VT_USERDEFINED:0]*/;
  _args[2] = SrcImage1 /*[VT_DISPATCH:0]*/;
  _args[3] = SrcImage2 /*[VT_DISPATCH:0]*/;
  _args[4] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Convert(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Convert"), DISPID(23));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GainOffset(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float Gain, 
                               float Offset)
{
  _TDispID _dispid(*this, OLETEXT("GainOffset"), DISPID(24));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Gain /*[VT_R4:0]*/;
  _args[4] = Offset /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Transform(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long Transformation, 
                              TOLEBOOL UseLUT)
{
  _TDispID _dispid(*this, OLETEXT("Transform"), DISPID(25));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Transformation /*[VT_I4:0]*/;
  _args[4] = UseLUT /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Lut(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, LPDISPATCH BW8LUTVector)
{
  _TDispID _dispid(*this, OLETEXT("Lut"), DISPID(26));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = BW8LUTVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Normalize(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, float NewAverage, 
                              float NewStdDev)
{
  _TDispID _dispid(*this, OLETEXT("Normalize"), DISPID(27));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = NewAverage /*[VT_R4:0]*/;
  _args[4] = NewStdDev /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Uniformize1(LPDISPATCH BW8SrcImage, short Light, 
                                LPDISPATCH BW8LightBackgroundImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Uniformize1"), DISPID(28));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Light /*[VT_I2:0]*/;
  _args[3] = BW8LightBackgroundImage /*[VT_DISPATCH:0]*/;
  _args[4] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Uniformize2(LPDISPATCH BW8SrcImage, short Light, 
                                LPDISPATCH BW8LightBackgroundImage, short Dark, 
                                LPDISPATCH BW8DarkBackgroundImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Uniformize2"), DISPID(29));
  TAutoArgs<6> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Light /*[VT_I2:0]*/;
  _args[3] = BW8LightBackgroundImage /*[VT_DISPATCH:0]*/;
  _args[4] = Dark /*[VT_I2:0]*/;
  _args[5] = BW8DarkBackgroundImage /*[VT_DISPATCH:0]*/;
  _args[6] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SetRecursiveAverageLUT(LPDISPATCH BW16LUTVector, float Reduction, float Width)
{
  _TDispID _dispid(*this, OLETEXT("SetRecursiveAverageLUT"), DISPID(30));
  TAutoArgs<3> _args;
  _args[1] = BW16LUTVector /*[VT_DISPATCH:0]*/;
  _args[2] = Reduction /*[VT_R4:0]*/;
  _args[3] = Width /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::RecursiveAverage(LPDISPATCH BW8SrcImage, LPDISPATCH BW16StoreImage, 
                                     LPDISPATCH BW8DstImage, LPDISPATCH BW16LUTVector)
{
  _TDispID _dispid(*this, OLETEXT("RecursiveAverage"), DISPID(31));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW16StoreImage /*[VT_DISPATCH:0]*/;
  _args[3] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[4] = BW16LUTVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ThresholdBW8(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long Threshold, 
                                 short LowValue, short HighValue)
{
  _TDispID _dispid(*this, OLETEXT("ThresholdBW8"), DISPID(32));
  TAutoArgs<5> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Threshold /*[VT_I4:0]*/;
  _args[4] = LowValue /*[VT_I2:0]*/;
  _args[5] = HighValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DoubleThreshold(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                    long LowThreshold, long HighThreshold, short LowValue, 
                                    short MidValue, short HighValue)
{
  _TDispID _dispid(*this, OLETEXT("DoubleThreshold"), DISPID(33));
  TAutoArgs<7> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = LowThreshold /*[VT_I4:0]*/;
  _args[4] = HighThreshold /*[VT_I4:0]*/;
  _args[5] = LowValue /*[VT_I2:0]*/;
  _args[6] = MidValue /*[VT_I2:0]*/;
  _args[7] = HighValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ThresholdC24Lookup(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                       short MinRedValue, short MinGreenValue, short MinBlueValue, 
                                       short MaxRedValue, short MaxGreenValue, short MaxBlueValue, 
                                       LPDISPATCH ColorLookup, short RejectValue, short AcceptValue)
{
  _TDispID _dispid(*this, OLETEXT("ThresholdC24Lookup"), DISPID(34));
  TAutoArgs<11> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = MinRedValue /*[VT_I2:0]*/;
  _args[4] = MinGreenValue /*[VT_I2:0]*/;
  _args[5] = MinBlueValue /*[VT_I2:0]*/;
  _args[6] = MaxRedValue /*[VT_I2:0]*/;
  _args[7] = MaxGreenValue /*[VT_I2:0]*/;
  _args[8] = MaxBlueValue /*[VT_I2:0]*/;
  _args[9] = ColorLookup /*[VT_DISPATCH:0]*/;
  _args[10] = RejectValue /*[VT_I2:0]*/;
  _args[11] = AcceptValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ThresholdC24(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, short MinRedValue, 
                                 short MinGreenValue, short MinBlueValue, short MaxRedValue, 
                                 short MaxGreenValue, short MaxBlueValue, short RejectValue, 
                                 short AcceptValue)
{
  _TDispID _dispid(*this, OLETEXT("ThresholdC24"), DISPID(35));
  TAutoArgs<10> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = MinRedValue /*[VT_I2:0]*/;
  _args[4] = MinGreenValue /*[VT_I2:0]*/;
  _args[5] = MinBlueValue /*[VT_I2:0]*/;
  _args[6] = MaxRedValue /*[VT_I2:0]*/;
  _args[7] = MaxGreenValue /*[VT_I2:0]*/;
  _args[8] = MaxBlueValue /*[VT_I2:0]*/;
  _args[9] = RejectValue /*[VT_I2:0]*/;
  _args[10] = AcceptValue /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::IsodataThreshold(LPDISPATCH BW8HistogramVector, long From, long To, 
                                     long* Threshold)
{
  _TDispID _dispid(*this, OLETEXT("IsodataThreshold"), DISPID(36));
  TAutoArgs<4> _args;
  _args[1] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
  _args[2] = From /*[VT_I4:0]*/;
  _args[3] = To /*[VT_I4:0]*/;
  _args[4] = Threshold /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Convolution(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH Kernel)
{
  _TDispID _dispid(*this, OLETEXT("Convolution"), DISPID(37));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Kernel /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Highpass1(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Highpass1"), DISPID(38));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Highpass2(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Highpass2"), DISPID(39));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Lowpass1(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Lowpass1"), DISPID(40));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Lowpass2(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Lowpass2"), DISPID(41));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Lowpass3(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Lowpass3"), DISPID(42));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SobelX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("SobelX"), DISPID(43));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SobelY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("SobelY"), DISPID(44));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Sobel(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Sobel"), DISPID(45));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PrewittX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("PrewittX"), DISPID(46));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PrewittY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("PrewittY"), DISPID(47));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Prewitt(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Prewitt"), DISPID(48));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Laplacian4(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Laplacian4"), DISPID(49));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Laplacian8(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Laplacian8"), DISPID(50));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Open(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
{
  _TDispID _dispid(*this, OLETEXT("Open"), DISPID(51));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Passes /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Close(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
{
  _TDispID _dispid(*this, OLETEXT("Close"), DISPID(52));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Passes /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Erode(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
{
  _TDispID _dispid(*this, OLETEXT("Erode"), DISPID(53));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Passes /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Dilate(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
{
  _TDispID _dispid(*this, OLETEXT("Dilate"), DISPID(54));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Passes /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::BlackTopHat(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
{
  _TDispID _dispid(*this, OLETEXT("BlackTopHat"), DISPID(55));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Passes /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::WhiteTopHat(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Passes)
{
  _TDispID _dispid(*this, OLETEXT("WhiteTopHat"), DISPID(56));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Passes /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Median(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Median"), DISPID(57));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Thin(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH ThinKernel, 
                         Evision_tlb::enumImgKernelRotationModes KernelRotationMode, 
                         short Iterations)
{
  _TDispID _dispid(*this, OLETEXT("Thin"), DISPID(58));
  TAutoArgs<5> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = ThinKernel /*[VT_DISPATCH:0]*/;
  _args[4] = (int)KernelRotationMode /*[VT_USERDEFINED:0]*/;
  _args[5] = Iterations /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Thick(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH ThickKernel, 
                          Evision_tlb::enumImgKernelRotationModes KernelRotationMode, 
                          short Iterations)
{
  _TDispID _dispid(*this, OLETEXT("Thick"), DISPID(59));
  TAutoArgs<5> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = ThickKernel /*[VT_DISPATCH:0]*/;
  _args[4] = (int)KernelRotationMode /*[VT_USERDEFINED:0]*/;
  _args[5] = Iterations /*[VT_I2:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Histogram(LPDISPATCH BW8SrcImage, LPDISPATCH BW8HistogramVector)
{
  _TDispID _dispid(*this, OLETEXT("Histogram"), DISPID(60));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> float __fastcall
_DEasyMainDispT<T>::AnalyseHistogram(LPDISPATCH BW8HistogramVector, 
                                     Evision_tlb::enumImgHistogramFeatures HistogramFeature, 
                                     long MinIndex, long MaxIndex)
{
  _TDispID _dispid(*this, OLETEXT("AnalyseHistogram"), DISPID(61));
  TAutoArgs<4> _args;
  _args[1] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
  _args[2] = (int)HistogramFeature /*[VT_USERDEFINED:0]*/;
  _args[3] = MinIndex /*[VT_I4:0]*/;
  _args[4] = MaxIndex /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Equalize(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Equalize"), DISPID(62));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ProjectOnARow(LPDISPATCH BW8SrcImage, LPDISPATCH BW32ProjectionVector)
{
  _TDispID _dispid(*this, OLETEXT("ProjectOnARow"), DISPID(63));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW32ProjectionVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ProjectOnAColumn(LPDISPATCH BW8SrcImage, LPDISPATCH BW32ProjectionVector)
{
  _TDispID _dispid(*this, OLETEXT("ProjectOnAColumn"), DISPID(64));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW32ProjectionVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::RebuildFrame(LPDISPATCH SrcImage, LPDISPATCH DstImage, long FixedRow)
{
  _TDispID _dispid(*this, OLETEXT("RebuildFrame"), DISPID(65));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = FixedRow /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::RealignFrame(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Offset, 
                                 long FixedRow)
{
  _TDispID _dispid(*this, OLETEXT("RealignFrame"), DISPID(66));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Offset /*[VT_I4:0]*/;
  _args[4] = FixedRow /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::MatchFrames(LPDISPATCH SrcImage, long FixedRow, long MinOffset, long MaxOffset, 
                                long* BestOffset)
{
  _TDispID _dispid(*this, OLETEXT("MatchFrames"), DISPID(67));
  TAutoArgs<5> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = FixedRow /*[VT_I4:0]*/;
  _args[3] = MinOffset /*[VT_I4:0]*/;
  _args[4] = MaxOffset /*[VT_I4:0]*/;
  _args[5] = BestOffset /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SetupEqualize(LPDISPATCH BW8HistogramVector, LPDISPATCH BW8VectorLookupTable)
{
  _TDispID _dispid(*this, OLETEXT("SetupEqualize"), DISPID(68));
  TAutoArgs<2> _args;
  _args[1] = BW8HistogramVector /*[VT_DISPATCH:0]*/;
  _args[2] = BW8VectorLookupTable /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ImageToLineSegment(LPDISPATCH SrcImage, LPDISPATCH Vector, long X0, long Y0, 
                                       long X1, long Y1)
{
  _TDispID _dispid(*this, OLETEXT("ImageToLineSegment"), DISPID(69));
  TAutoArgs<6> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Vector /*[VT_DISPATCH:0]*/;
  _args[3] = X0 /*[VT_I4:0]*/;
  _args[4] = Y0 /*[VT_I4:0]*/;
  _args[5] = X1 /*[VT_I4:0]*/;
  _args[6] = Y1 /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::LineSegmentToImage(LPDISPATCH DstImage, LPDISPATCH Vector, long X0, long Y0, 
                                       long X1, long Y1)
{
  _TDispID _dispid(*this, OLETEXT("LineSegmentToImage"), DISPID(70));
  TAutoArgs<6> _args;
  _args[1] = DstImage /*[VT_DISPATCH:0]*/;
  _args[2] = Vector /*[VT_DISPATCH:0]*/;
  _args[3] = X0 /*[VT_I4:0]*/;
  _args[4] = Y0 /*[VT_I4:0]*/;
  _args[5] = X1 /*[VT_I4:0]*/;
  _args[6] = Y1 /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ImageToPath(LPDISPATCH SrcImage, LPDISPATCH PathVector)
{
  _TDispID _dispid(*this, OLETEXT("ImageToPath"), DISPID(71));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = PathVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PathToImage(LPDISPATCH DstImage, LPDISPATCH PathVector)
{
  _TDispID _dispid(*this, OLETEXT("PathToImage"), DISPID(72));
  TAutoArgs<2> _args;
  _args[1] = DstImage /*[VT_DISPATCH:0]*/;
  _args[2] = PathVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ProfileDerivative(LPDISPATCH BW8SrcVector, LPDISPATCH BW8DstVector)
{
  _TDispID _dispid(*this, OLETEXT("ProfileDerivative"), DISPID(73));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcVector /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GetProfilePeaks(LPDISPATCH BW8VectorProfile, LPDISPATCH PeaksVector, 
                                    long LowThreshold, long HighThreshold, long MinAmplitude, 
                                    long MinArea)
{
  _TDispID _dispid(*this, OLETEXT("GetProfilePeaks"), DISPID(74));
  TAutoArgs<6> _args;
  _args[1] = BW8VectorProfile /*[VT_DISPATCH:0]*/;
  _args[2] = PeaksVector /*[VT_DISPATCH:0]*/;
  _args[3] = LowThreshold /*[VT_I4:0]*/;
  _args[4] = HighThreshold /*[VT_I4:0]*/;
  _args[5] = MinAmplitude /*[VT_I4:0]*/;
  _args[6] = MinArea /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelMin(LPDISPATCH BW8SrcImage, short* MinPixelValue)
{
  _TDispID _dispid(*this, OLETEXT("PixelMin"), DISPID(75));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = MinPixelValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelMax(LPDISPATCH BW8SrcImage, short* MaxPixelValue)
{
  _TDispID _dispid(*this, OLETEXT("PixelMax"), DISPID(76));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = MaxPixelValue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelAverageBW8(LPDISPATCH BW8SrcImage, float* Average)
{
  _TDispID _dispid(*this, OLETEXT("PixelAverageBW8"), DISPID(77));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Average /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelAverageC24(LPDISPATCH C24SrcImage, float* Mean0, float* Mean1, float* Mean2)
{
  _TDispID _dispid(*this, OLETEXT("PixelAverageC24"), DISPID(78));
  TAutoArgs<4> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Mean0 /*[VT_R4:1]*/;
  _args[3] = Mean1 /*[VT_R4:1]*/;
  _args[4] = Mean2 /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelStat(LPDISPATCH BW8SrcImage, short* MinPixelValue, short* MaxPixelValue, 
                              float* Average)
{
  _TDispID _dispid(*this, OLETEXT("PixelStat"), DISPID(79));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = MinPixelValue /*[VT_I2:1]*/;
  _args[3] = MaxPixelValue /*[VT_I2:1]*/;
  _args[4] = Average /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelStdDevBW8(LPDISPATCH BW8SrcImage, float* StdDev, float* Average)
{
  _TDispID _dispid(*this, OLETEXT("PixelStdDevBW8"), DISPID(80));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = StdDev /*[VT_R4:1]*/;
  _args[3] = Average /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelStdDevC24(LPDISPATCH C24SrcImage, float* StdDev0, float* StdDev1, 
                                   float* StdDev2, float* Correlation01, float* Correlation12, 
                                   float* Correlation20, float* Mean0, float* Mean1, float* Mean2)
{
  _TDispID _dispid(*this, OLETEXT("PixelStdDevC24"), DISPID(81));
  TAutoArgs<10> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = StdDev0 /*[VT_R4:1]*/;
  _args[3] = StdDev1 /*[VT_R4:1]*/;
  _args[4] = StdDev2 /*[VT_R4:1]*/;
  _args[5] = Correlation01 /*[VT_R4:1]*/;
  _args[6] = Correlation12 /*[VT_R4:1]*/;
  _args[7] = Correlation20 /*[VT_R4:1]*/;
  _args[8] = Mean0 /*[VT_R4:1]*/;
  _args[9] = Mean1 /*[VT_R4:1]*/;
  _args[10] = Mean2 /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelCount(LPDISPATCH BW8SrcImage, short LowThreshold, short HighThreshold, 
                               long* PixelsBelow, long* PixelsBetween, long* PixelsAbove)
{
  _TDispID _dispid(*this, OLETEXT("PixelCount"), DISPID(82));
  TAutoArgs<6> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = LowThreshold /*[VT_I2:0]*/;
  _args[3] = HighThreshold /*[VT_I2:0]*/;
  _args[4] = PixelsBelow /*[VT_I4:1]*/;
  _args[5] = PixelsBetween /*[VT_I4:1]*/;
  _args[6] = PixelsAbove /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Area(LPDISPATCH BW8SrcImage, short Threshold, long* PixelsAbove)
{
  _TDispID _dispid(*this, OLETEXT("Area"), DISPID(83));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Threshold /*[VT_I2:0]*/;
  _args[3] = PixelsAbove /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::AreaDoubleThreshold(LPDISPATCH BW8SrcImage, short LowThreshold, 
                                        short HighThreshold, long* PixelsBetween)
{
  _TDispID _dispid(*this, OLETEXT("AreaDoubleThreshold"), DISPID(84));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = LowThreshold /*[VT_I2:0]*/;
  _args[3] = HighThreshold /*[VT_I2:0]*/;
  _args[4] = PixelsBetween /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelVarianceBW8(LPDISPATCH BW8SrcImage, float* Variance, float* Mean)
{
  _TDispID _dispid(*this, OLETEXT("PixelVarianceBW8"), DISPID(85));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Variance /*[VT_R4:1]*/;
  _args[3] = Mean /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PixelVarianceC24(LPDISPATCH C24SrcImage, float* Variance0, float* Variance1, 
                                     float* Variance2, float* Covariance01, float* Covariance12, 
                                     float* Covariance20, float* Mean0, float* Mean1, float* Mean2)
{
  _TDispID _dispid(*this, OLETEXT("PixelVarianceC24"), DISPID(86));
  TAutoArgs<10> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Variance0 /*[VT_R4:1]*/;
  _args[3] = Variance1 /*[VT_R4:1]*/;
  _args[4] = Variance2 /*[VT_R4:1]*/;
  _args[5] = Covariance01 /*[VT_R4:1]*/;
  _args[6] = Covariance12 /*[VT_R4:1]*/;
  _args[7] = Covariance20 /*[VT_R4:1]*/;
  _args[8] = Mean0 /*[VT_R4:1]*/;
  _args[9] = Mean1 /*[VT_R4:1]*/;
  _args[10] = Mean2 /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GravityCenter(LPDISPATCH BW8SrcImage, long Threshold, float* GravityX, 
                                  float* GravityY)
{
  _TDispID _dispid(*this, OLETEXT("GravityCenter"), DISPID(87));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Threshold /*[VT_I4:0]*/;
  _args[3] = GravityX /*[VT_R4:1]*/;
  _args[4] = GravityY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::BinaryMoments1(LPDISPATCH BW8SrcImage, long Threshold, float* M, float* Mx, 
                                   float* My)
{
  _TDispID _dispid(*this, OLETEXT("BinaryMoments1"), DISPID(88));
  TAutoArgs<5> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Threshold /*[VT_I4:0]*/;
  _args[3] = M /*[VT_R4:1]*/;
  _args[4] = Mx /*[VT_R4:1]*/;
  _args[5] = My /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::BinaryMoments2(LPDISPATCH BW8SrcImage, long Threshold, float* M, float* Mx, 
                                   float* My, float* Mxx, float* Mxy, float* Myy)
{
  _TDispID _dispid(*this, OLETEXT("BinaryMoments2"), DISPID(89));
  TAutoArgs<8> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = Threshold /*[VT_I4:0]*/;
  _args[3] = M /*[VT_R4:1]*/;
  _args[4] = Mx /*[VT_R4:1]*/;
  _args[5] = My /*[VT_R4:1]*/;
  _args[6] = Mxx /*[VT_R4:1]*/;
  _args[7] = Mxy /*[VT_R4:1]*/;
  _args[8] = Myy /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::WeighedMoments1(LPDISPATCH BW8SrcImage, float* M, float* Mx, float* My)
{
  _TDispID _dispid(*this, OLETEXT("WeighedMoments1"), DISPID(90));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = M /*[VT_R4:1]*/;
  _args[3] = Mx /*[VT_R4:1]*/;
  _args[4] = My /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::WeighedMoments2(LPDISPATCH BW8SrcImage, float* M, float* Mx, float* My, 
                                    float* Mxx, float* Mxy, float* Myy)
{
  _TDispID _dispid(*this, OLETEXT("WeighedMoments2"), DISPID(91));
  TAutoArgs<7> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = M /*[VT_R4:1]*/;
  _args[3] = Mx /*[VT_R4:1]*/;
  _args[4] = My /*[VT_R4:1]*/;
  _args[5] = Mxx /*[VT_R4:1]*/;
  _args[6] = Mxy /*[VT_R4:1]*/;
  _args[7] = Myy /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ContourBW8(LPDISPATCH BW8SrcImage, Evision_tlb::enumImgContourMode ContourMode, 
                               long StartX, long StartY, 
                               Evision_tlb::enumImgContourThreshold ThresholdMode, long Threshold, 
                               Evision_tlb::enumImgContourConnexity ConnexityMode, 
                               LPDISPATCH BW8PathVector)
{
  _TDispID _dispid(*this, OLETEXT("ContourBW8"), DISPID(92));
  TAutoArgs<8> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = (int)ContourMode /*[VT_USERDEFINED:0]*/;
  _args[3] = StartX /*[VT_I4:0]*/;
  _args[4] = StartY /*[VT_I4:0]*/;
  _args[5] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
  _args[6] = Threshold /*[VT_I4:0]*/;
  _args[7] = (int)ConnexityMode /*[VT_USERDEFINED:0]*/;
  _args[8] = BW8PathVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::VerticalMirror(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("VerticalMirror"), DISPID(93));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::HorizontalMirror(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("HorizontalMirror"), DISPID(94));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ScaleRotate(LPDISPATCH SrcImage, float SrcPivotX, float SrcPivotY, 
                                float DstPivotX, float DstPivotY, float ScaleX, float ScaleY, 
                                float Rotation, LPDISPATCH DstImage, long InterpolationBits)
{
  _TDispID _dispid(*this, OLETEXT("ScaleRotate"), DISPID(95));
  TAutoArgs<10> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = SrcPivotX /*[VT_R4:0]*/;
  _args[3] = SrcPivotY /*[VT_R4:0]*/;
  _args[4] = DstPivotX /*[VT_R4:0]*/;
  _args[5] = DstPivotY /*[VT_R4:0]*/;
  _args[6] = ScaleX /*[VT_R4:0]*/;
  _args[7] = ScaleY /*[VT_R4:0]*/;
  _args[8] = Rotation /*[VT_R4:0]*/;
  _args[9] = DstImage /*[VT_DISPATCH:0]*/;
  _args[10] = InterpolationBits /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Shrink(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Shrink"), DISPID(96));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeRGB(short SrcRed, short SrcGreen, short SrcBlue, float* DstRed, 
                                  float* DstGreen, float* DstBlue)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeRGB"), DISPID(97));
  TAutoArgs<6> _args;
  _args[1] = SrcRed /*[VT_I2:0]*/;
  _args[2] = SrcGreen /*[VT_I2:0]*/;
  _args[3] = SrcBlue /*[VT_I2:0]*/;
  _args[4] = DstRed /*[VT_R4:1]*/;
  _args[5] = DstGreen /*[VT_R4:1]*/;
  _args[6] = DstBlue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeRGB(float SrcRed, float SrcGreen, float SrcBlue, short* DstRed, 
                                short* DstGreen, short* DstBlue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeRGB"), DISPID(98));
  TAutoArgs<6> _args;
  _args[1] = SrcRed /*[VT_R4:0]*/;
  _args[2] = SrcGreen /*[VT_R4:0]*/;
  _args[3] = SrcBlue /*[VT_R4:0]*/;
  _args[4] = DstRed /*[VT_I2:1]*/;
  _args[5] = DstGreen /*[VT_I2:1]*/;
  _args[6] = DstBlue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeXYZ(short Red, short Green, short Blue, float* X, float* Y, float* Z)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeXYZ"), DISPID(99));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = X /*[VT_R4:1]*/;
  _args[5] = Y /*[VT_R4:1]*/;
  _args[6] = Z /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeXYZ(float X, float Y, float Z, short* Red, short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeXYZ"), DISPID(100));
  TAutoArgs<6> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Z /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToXYZ(float Red, float Green, float Blue, float* X, float* Y, 
                                        float* Z)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToXYZ"), DISPID(101));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = X /*[VT_R4:1]*/;
  _args[5] = Y /*[VT_R4:1]*/;
  _args[6] = Z /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedXYZToRGB(float X, float Y, float Z, float* Red, float* Green, 
                                        float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedXYZToRGB"), DISPID(102));
  TAutoArgs<6> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Z /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToReducedXYZ(float Red, float Green, float Blue, float* X, 
                                               float* Y, float* Z)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToReducedXYZ"), DISPID(103));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = X /*[VT_R4:1]*/;
  _args[5] = Y /*[VT_R4:1]*/;
  _args[6] = Z /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeYUV(short Red, short Green, short Blue, float* YLuma, float* UChroma, 
                                  float* VChroma)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeYUV"), DISPID(104));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = YLuma /*[VT_R4:1]*/;
  _args[5] = UChroma /*[VT_R4:1]*/;
  _args[6] = VChroma /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeYUV(float YLuma, float UChroma, float VChroma, short* Red, short* Green
                                , short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeYUV"), DISPID(105));
  TAutoArgs<6> _args;
  _args[1] = YLuma /*[VT_R4:0]*/;
  _args[2] = UChroma /*[VT_R4:0]*/;
  _args[3] = VChroma /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToYUV(float Red, float Green, float Blue, float* YLuma, 
                                        float* UChroma, float* VChroma)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToYUV"), DISPID(106));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = YLuma /*[VT_R4:1]*/;
  _args[5] = UChroma /*[VT_R4:1]*/;
  _args[6] = VChroma /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedYUVToRGB(float YLuma, float UChroma, float VChroma, float* Red, 
                                        float* Green, float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedYUVToRGB"), DISPID(107));
  TAutoArgs<6> _args;
  _args[1] = YLuma /*[VT_R4:0]*/;
  _args[2] = UChroma /*[VT_R4:0]*/;
  _args[3] = VChroma /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeYIQ(short Red, short Green, short Blue, float* YLuma, float* Inphase, 
                                  float* Quadrature)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeYIQ"), DISPID(108));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = YLuma /*[VT_R4:1]*/;
  _args[5] = Inphase /*[VT_R4:1]*/;
  _args[6] = Quadrature /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeYIQ(float YLuma, float Inphase, float Quadrature, short* Red, 
                                short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeYIQ"), DISPID(109));
  TAutoArgs<6> _args;
  _args[1] = YLuma /*[VT_R4:0]*/;
  _args[2] = Inphase /*[VT_R4:0]*/;
  _args[3] = Quadrature /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToYIQ(float Red, float Green, float Blue, float* YLuma, 
                                        float* Inphase, float* Quadrature)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToYIQ"), DISPID(110));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = YLuma /*[VT_R4:1]*/;
  _args[5] = Inphase /*[VT_R4:1]*/;
  _args[6] = Quadrature /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedYIQToRGB(float YLuma, float Inphase, float Quadrature, float* Red, 
                                        float* Green, float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedYIQToRGB"), DISPID(111));
  TAutoArgs<6> _args;
  _args[1] = YLuma /*[VT_R4:0]*/;
  _args[2] = Inphase /*[VT_R4:0]*/;
  _args[3] = Quadrature /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeLSH(short Red, short Green, short Blue, float* Lightness, 
                                  float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeLSH"), DISPID(112));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeLSH(float Lightness, float Saturation, float Hue, short* Red, 
                                short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeLSH"), DISPID(113));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToLSH(float Red, float Green, float Blue, float* Lightness, 
                                        float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToLSH"), DISPID(114));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedLSHToRGB(float Lightness, float Saturation, float Hue, float* Red, 
                                        float* Green, float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedLSHToRGB"), DISPID(115));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeVSH(short Red, short Green, short Blue, float* Value, 
                                  float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeVSH"), DISPID(116));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Value /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeVSH(float Value, float Saturation, float Hue, short* Red, short* Green, 
                                short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeVSH"), DISPID(117));
  TAutoArgs<6> _args;
  _args[1] = Value /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToVSH(float Red, float Green, float Blue, float* Value, 
                                        float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToVSH"), DISPID(118));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = Value /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedVSHToRGB(float Value, float Saturation, float Hue, float* Red, 
                                        float* Green, float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedVSHToRGB"), DISPID(119));
  TAutoArgs<6> _args;
  _args[1] = Value /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeISH(short Red, short Green, short Blue, float* Intensity, 
                                  float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeISH"), DISPID(120));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Intensity /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeISH(float Intensity, float Saturation, float Hue, short* Red, 
                                short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeISH"), DISPID(121));
  TAutoArgs<6> _args;
  _args[1] = Intensity /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToISH(float Red, float Green, float Blue, float* Intensity, 
                                        float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToISH"), DISPID(122));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = Intensity /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedISHToRGB(float Intensity, float Saturation, float Hue, float* Red, 
                                        float* Green, float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedISHToRGB"), DISPID(123));
  TAutoArgs<6> _args;
  _args[1] = Intensity /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeYSH(short Red, short Green, short Blue, float* Brightness, 
                                  float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeYSH"), DISPID(124));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Brightness /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeYSH(float Brightness, float Saturation, float Hue, short* Red, 
                                short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeYSH"), DISPID(125));
  TAutoArgs<6> _args;
  _args[1] = Brightness /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToYSH(float Red, float Green, float Blue, float* Brightness, 
                                        float* Saturation, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToYSH"), DISPID(126));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = Brightness /*[VT_R4:1]*/;
  _args[5] = Saturation /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedYSHToRGB(float Brightness, float Saturation, float Hue, float* Red, 
                                        float* Green, float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedYSHToRGB"), DISPID(127));
  TAutoArgs<6> _args;
  _args[1] = Brightness /*[VT_R4:0]*/;
  _args[2] = Saturation /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeLAB(short Red, short Green, short Blue, float* Lightness, float* A, 
                                  float* B)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeLAB"), DISPID(128));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = A /*[VT_R4:1]*/;
  _args[6] = B /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeLAB(float Lightness, float A, float B, short* Red, short* Green, 
                                short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeLAB"), DISPID(129));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = A /*[VT_R4:0]*/;
  _args[3] = B /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToLAB(float Red, float Green, float Blue, float* Lightness, 
                                        float* A, float* B)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToLAB"), DISPID(130));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = A /*[VT_R4:1]*/;
  _args[6] = B /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedLABToRGB(float Lightness, float A, float B, float* Red, float* Green
                                        , float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedLABToRGB"), DISPID(131));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = A /*[VT_R4:0]*/;
  _args[3] = B /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedXYZToLAB(float X, float Y, float Z, float* Lightness, float* A, 
                                        float* B)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedXYZToLAB"), DISPID(132));
  TAutoArgs<6> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Z /*[VT_R4:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = A /*[VT_R4:1]*/;
  _args[6] = B /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedLABToXYZ(float Lightness, float A, float B, float* X, float* Y, 
                                        float* Z)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedLABToXYZ"), DISPID(133));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = A /*[VT_R4:0]*/;
  _args[3] = B /*[VT_R4:0]*/;
  _args[4] = X /*[VT_R4:1]*/;
  _args[5] = Y /*[VT_R4:1]*/;
  _args[6] = Z /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeLCH(short Red, short Green, short Blue, float* Lightness, 
                                  float* Chroma, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeLCH"), DISPID(134));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = Chroma /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeLCH(float Lightness, float Chroma, float Hue, short* Red, short* Green, 
                                short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeLCH"), DISPID(135));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = Chroma /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToLCH(float Red, float Green, float Blue, float* Lightness, 
                                        float* Chroma, float* Hue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToLCH"), DISPID(136));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = Chroma /*[VT_R4:1]*/;
  _args[6] = Hue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedLCHToRGB(float Lightness, float Chroma, float Hue, float* Red, 
                                        float* Green, float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedLCHToRGB"), DISPID(137));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = Chroma /*[VT_R4:0]*/;
  _args[3] = Hue /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DequantizeLUV(short Red, short Green, short Blue, float* Lightness, float* U, 
                                  float* V)
{
  _TDispID _dispid(*this, OLETEXT("DequantizeLUV"), DISPID(138));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = U /*[VT_R4:1]*/;
  _args[6] = V /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizeLUV(float Lightness, float U, float V, short* Red, short* Green, 
                                short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizeLUV"), DISPID(139));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = U /*[VT_R4:0]*/;
  _args[3] = V /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedRGBToLUV(float Red, float Green, float Blue, float* Lightness, 
                                        float* U, float* V)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedRGBToLUV"), DISPID(140));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_R4:0]*/;
  _args[2] = Green /*[VT_R4:0]*/;
  _args[3] = Blue /*[VT_R4:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = U /*[VT_R4:1]*/;
  _args[6] = V /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedLUVToRGB(float Lightness, float U, float V, float* Red, float* Green
                                        , float* Blue)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedLUVToRGB"), DISPID(141));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = U /*[VT_R4:0]*/;
  _args[3] = V /*[VT_R4:0]*/;
  _args[4] = Red /*[VT_R4:1]*/;
  _args[5] = Green /*[VT_R4:1]*/;
  _args[6] = Blue /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedXYZToLUV(float X, float Y, float Z, float* Lightness, float* U, 
                                        float* V)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedXYZToLUV"), DISPID(142));
  TAutoArgs<6> _args;
  _args[1] = X /*[VT_R4:0]*/;
  _args[2] = Y /*[VT_R4:0]*/;
  _args[3] = Z /*[VT_R4:0]*/;
  _args[4] = Lightness /*[VT_R4:1]*/;
  _args[5] = U /*[VT_R4:1]*/;
  _args[6] = V /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::UnquantizedLUVToXYZ(float Lightness, float U, float V, float* X, float* Y, 
                                        float* Z)
{
  _TDispID _dispid(*this, OLETEXT("UnquantizedLUVToXYZ"), DISPID(143));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_R4:0]*/;
  _args[2] = U /*[VT_R4:0]*/;
  _args[3] = V /*[VT_R4:0]*/;
  _args[4] = X /*[VT_R4:1]*/;
  _args[5] = Y /*[VT_R4:1]*/;
  _args[6] = Z /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToXYZ(short Red, short Green, short Blue, short* X, short* Y, 
                                      short* Z)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToXYZ"), DISPID(144));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = X /*[VT_I2:1]*/;
  _args[5] = Y /*[VT_I2:1]*/;
  _args[6] = Z /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedXYZToRGB(short X, short Y, short Z, short* Red, short* Green, 
                                      short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedXYZToRGB"), DISPID(145));
  TAutoArgs<6> _args;
  _args[1] = X /*[VT_I2:0]*/;
  _args[2] = Y /*[VT_I2:0]*/;
  _args[3] = Z /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToReducedXYZ(short Red, short Green, short Blue, short* X, short* Y
                                             , short* Z)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToReducedXYZ"), DISPID(146));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = X /*[VT_I2:1]*/;
  _args[5] = Y /*[VT_I2:1]*/;
  _args[6] = Z /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToYUV(short Red, short Green, short Blue, short* YLuma, 
                                      short* UChroma, short* VChroma)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToYUV"), DISPID(147));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = YLuma /*[VT_I2:1]*/;
  _args[5] = UChroma /*[VT_I2:1]*/;
  _args[6] = VChroma /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedYUVToRGB(short YLuma, short UChroma, short VChroma, short* Red, 
                                      short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedYUVToRGB"), DISPID(148));
  TAutoArgs<6> _args;
  _args[1] = YLuma /*[VT_I2:0]*/;
  _args[2] = UChroma /*[VT_I2:0]*/;
  _args[3] = VChroma /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToYIQ(short Red, short Green, short Blue, short* YLuma, 
                                      short* Inphase, short* Quadrature)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToYIQ"), DISPID(149));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = YLuma /*[VT_I2:1]*/;
  _args[5] = Inphase /*[VT_I2:1]*/;
  _args[6] = Quadrature /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedYIQToRGB(short YLuma, short Inphase, short Quadrature, short* Red, 
                                      short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedYIQToRGB"), DISPID(150));
  TAutoArgs<6> _args;
  _args[1] = YLuma /*[VT_I2:0]*/;
  _args[2] = Inphase /*[VT_I2:0]*/;
  _args[3] = Quadrature /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToLSH(short Red, short Green, short Blue, short* Lightness, 
                                      short* Saturation, short* Hue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToLSH"), DISPID(151));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Lightness /*[VT_I2:1]*/;
  _args[5] = Saturation /*[VT_I2:1]*/;
  _args[6] = Hue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedLSHToRGB(short Lightness, short Saturation, short Hue, short* Red, 
                                      short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedLSHToRGB"), DISPID(152));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_I2:0]*/;
  _args[2] = Saturation /*[VT_I2:0]*/;
  _args[3] = Hue /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToVSH(short Red, short Green, short Blue, short* Value, 
                                      short* Saturation, short* Hue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToVSH"), DISPID(153));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Value /*[VT_I2:1]*/;
  _args[5] = Saturation /*[VT_I2:1]*/;
  _args[6] = Hue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedVSHToRGB(short Value, short Saturation, short Hue, short* Red, 
                                      short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedVSHToRGB"), DISPID(154));
  TAutoArgs<6> _args;
  _args[1] = Value /*[VT_I2:0]*/;
  _args[2] = Saturation /*[VT_I2:0]*/;
  _args[3] = Hue /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToISH(short Red, short Green, short Blue, short* Intensity, 
                                      short* Saturation, short* Hue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToISH"), DISPID(155));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Intensity /*[VT_I2:1]*/;
  _args[5] = Saturation /*[VT_I2:1]*/;
  _args[6] = Hue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedISHToRGB(short Intensity, short Saturation, short Hue, short* Red, 
                                      short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedISHToRGB"), DISPID(156));
  TAutoArgs<6> _args;
  _args[1] = Intensity /*[VT_I2:0]*/;
  _args[2] = Saturation /*[VT_I2:0]*/;
  _args[3] = Hue /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToYSH(short Red, short Green, short Blue, short* Brightness, 
                                      short* Saturation, short* Hue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToYSH"), DISPID(157));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Brightness /*[VT_I2:1]*/;
  _args[5] = Saturation /*[VT_I2:1]*/;
  _args[6] = Hue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedYSHToRGB(short Brightness, short Saturation, short Hue, short* Red, 
                                      short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedYSHToRGB"), DISPID(158));
  TAutoArgs<6> _args;
  _args[1] = Brightness /*[VT_I2:0]*/;
  _args[2] = Saturation /*[VT_I2:0]*/;
  _args[3] = Hue /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToLAB(short Red, short Green, short Blue, short* Luminance, short* A
                                      , short* B)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToLAB"), DISPID(159));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Luminance /*[VT_I2:1]*/;
  _args[5] = A /*[VT_I2:1]*/;
  _args[6] = B /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedLABToRGB(short Luminance, short A, short B, short* Red, short* Green, 
                                      short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedLABToRGB"), DISPID(160));
  TAutoArgs<6> _args;
  _args[1] = Luminance /*[VT_I2:0]*/;
  _args[2] = A /*[VT_I2:0]*/;
  _args[3] = B /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedXYZToLAB(short X, short Y, short Z, short* Luminance, short* A, 
                                      short* B)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedXYZToLAB"), DISPID(161));
  TAutoArgs<6> _args;
  _args[1] = X /*[VT_I2:0]*/;
  _args[2] = Y /*[VT_I2:0]*/;
  _args[3] = Z /*[VT_I2:0]*/;
  _args[4] = Luminance /*[VT_I2:1]*/;
  _args[5] = A /*[VT_I2:1]*/;
  _args[6] = B /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedLABToXYZ(short Luminance, short A, short B, short* X, short* Y, 
                                      short* Z)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedLABToXYZ"), DISPID(162));
  TAutoArgs<6> _args;
  _args[1] = Luminance /*[VT_I2:0]*/;
  _args[2] = A /*[VT_I2:0]*/;
  _args[3] = B /*[VT_I2:0]*/;
  _args[4] = X /*[VT_I2:1]*/;
  _args[5] = Y /*[VT_I2:1]*/;
  _args[6] = Z /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToLCH(short Red, short Green, short Blue, short* Lightness, 
                                      short* Chroma, short* Hue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToLCH"), DISPID(163));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Lightness /*[VT_I2:1]*/;
  _args[5] = Chroma /*[VT_I2:1]*/;
  _args[6] = Hue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedLCHToRGB(short Lightness, short Chroma, short Hue, short* Red, 
                                      short* Green, short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedLCHToRGB"), DISPID(164));
  TAutoArgs<6> _args;
  _args[1] = Lightness /*[VT_I2:0]*/;
  _args[2] = Chroma /*[VT_I2:0]*/;
  _args[3] = Hue /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedRGBToLUV(short Red, short Green, short Blue, short* Luminance, short* U
                                      , short* V)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedRGBToLUV"), DISPID(165));
  TAutoArgs<6> _args;
  _args[1] = Red /*[VT_I2:0]*/;
  _args[2] = Green /*[VT_I2:0]*/;
  _args[3] = Blue /*[VT_I2:0]*/;
  _args[4] = Luminance /*[VT_I2:1]*/;
  _args[5] = U /*[VT_I2:1]*/;
  _args[6] = V /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedLUVToRGB(short Luminance, short U, short V, short* Red, short* Green, 
                                      short* Blue)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedLUVToRGB"), DISPID(166));
  TAutoArgs<6> _args;
  _args[1] = Luminance /*[VT_I2:0]*/;
  _args[2] = U /*[VT_I2:0]*/;
  _args[3] = V /*[VT_I2:0]*/;
  _args[4] = Red /*[VT_I2:1]*/;
  _args[5] = Green /*[VT_I2:1]*/;
  _args[6] = Blue /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedXYZToLUV(short X, short Y, short Z, short* Luminance, short* U, 
                                      short* V)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedXYZToLUV"), DISPID(167));
  TAutoArgs<6> _args;
  _args[1] = X /*[VT_I2:0]*/;
  _args[2] = Y /*[VT_I2:0]*/;
  _args[3] = Z /*[VT_I2:0]*/;
  _args[4] = Luminance /*[VT_I2:1]*/;
  _args[5] = U /*[VT_I2:1]*/;
  _args[6] = V /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::QuantizedLUVToXYZ(short Luminance, short U, short V, short* X, short* Y, 
                                      short* Z)
{
  _TDispID _dispid(*this, OLETEXT("QuantizedLUVToXYZ"), DISPID(168));
  TAutoArgs<6> _args;
  _args[1] = Luminance /*[VT_I2:0]*/;
  _args[2] = U /*[VT_I2:0]*/;
  _args[3] = V /*[VT_I2:0]*/;
  _args[4] = X /*[VT_I2:1]*/;
  _args[5] = Y /*[VT_I2:1]*/;
  _args[6] = Z /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Compose(LPDISPATCH BW8SrcC0Image, LPDISPATCH BW8SrcC1Image, 
                            LPDISPATCH BW8SrcC2Image, LPDISPATCH C24DstImage, LPDISPATCH ColorLookup)
{
  _TDispID _dispid(*this, OLETEXT("Compose"), DISPID(169));
  TAutoArgs<5> _args;
  _args[1] = BW8SrcC0Image /*[VT_DISPATCH:0]*/;
  _args[2] = BW8SrcC1Image /*[VT_DISPATCH:0]*/;
  _args[3] = BW8SrcC2Image /*[VT_DISPATCH:0]*/;
  _args[4] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[5] = ColorLookup /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Decompose(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstC0Image, 
                              LPDISPATCH BW8DstC1Image, LPDISPATCH BW8DstC2Image, 
                              LPDISPATCH ColorLookup)
{
  _TDispID _dispid(*this, OLETEXT("Decompose"), DISPID(170));
  TAutoArgs<5> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstC0Image /*[VT_DISPATCH:0]*/;
  _args[3] = BW8DstC1Image /*[VT_DISPATCH:0]*/;
  _args[4] = BW8DstC2Image /*[VT_DISPATCH:0]*/;
  _args[5] = ColorLookup /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SetComponent(LPDISPATCH BW8SrcImage, LPDISPATCH C24DstImage, long Component)
{
  _TDispID _dispid(*this, OLETEXT("SetComponent"), DISPID(171));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Component /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::TransformLookup(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                    LPDISPATCH ColorLookup)
{
  _TDispID _dispid(*this, OLETEXT("TransformLookup"), DISPID(172));
  TAutoArgs<3> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = ColorLookup /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::TransformQuantized(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                       long Transformation, 
                                       Evision_tlb::enumColorSystems ColorSystemIn, 
                                       Evision_tlb::enumColorSystems ColorSystemOut)
{
  _TDispID _dispid(*this, OLETEXT("TransformQuantized"), DISPID(173));
  TAutoArgs<5> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Transformation /*[VT_I4:0]*/;
  _args[4] = (int)ColorSystemIn /*[VT_USERDEFINED:0]*/;
  _args[5] = (int)ColorSystemOut /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::TransformUnquantized(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, 
                                         long Transformation, 
                                         Evision_tlb::enumColorSystems ColorSystemIn, 
                                         Evision_tlb::enumColorSystems ColorSystemOut)
{
  _TDispID _dispid(*this, OLETEXT("TransformUnquantized"), DISPID(174));
  TAutoArgs<5> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Transformation /*[VT_I4:0]*/;
  _args[4] = (int)ColorSystemIn /*[VT_USERDEFINED:0]*/;
  _args[5] = (int)ColorSystemOut /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GetComponent(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, long Component)
{
  _TDispID _dispid(*this, OLETEXT("GetComponent"), DISPID(175));
  TAutoArgs<3> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Component /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GetComponentLookup(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, 
                                       long Component, LPDISPATCH ColorLookup)
{
  _TDispID _dispid(*this, OLETEXT("GetComponentLookup"), DISPID(176));
  TAutoArgs<4> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Component /*[VT_I4:0]*/;
  _args[4] = ColorLookup /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::StartTiming()
{
  _TDispID _dispid(*this, OLETEXT("StartTiming"), DISPID(177));
  OleProcedure(_dispid);
}

template <class T> long __fastcall
_DEasyMainDispT<T>::StopTiming()
{
  _TDispID _dispid(*this, OLETEXT("StopTiming"), DISPID(178));
  TAutoArgs<0> _args;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::FromRadians(float* Angle)
{
  _TDispID _dispid(*this, OLETEXT("FromRadians"), DISPID(179));
  TAutoArgs<1> _args;
  _args[1] = Angle /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ToRadians(float* Angle)
{
  _TDispID _dispid(*this, OLETEXT("ToRadians"), DISPID(180));
  TAutoArgs<1> _args;
  _args[1] = Angle /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ContourArea(LPDISPATCH PathVector, long* Area)
{
  _TDispID _dispid(*this, OLETEXT("ContourArea"), DISPID(181));
  TAutoArgs<2> _args;
  _args[1] = PathVector /*[VT_DISPATCH:0]*/;
  _args[2] = Area /*[VT_I4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ContourGravityCenter(LPDISPATCH PathVector, long* Area, float* GravityCenterX, 
                                         float* GravityCenterY)
{
  _TDispID _dispid(*this, OLETEXT("ContourGravityCenter"), DISPID(182));
  TAutoArgs<4> _args;
  _args[1] = PathVector /*[VT_DISPATCH:0]*/;
  _args[2] = Area /*[VT_I4:1]*/;
  _args[3] = GravityCenterX /*[VT_R4:1]*/;
  _args[4] = GravityCenterY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ContourInertia(LPDISPATCH PathVector, long* Area, float* GravityCenterX, 
                                   float* GravityCenterY, float* SigmaX, float* SigmaY, 
                                   float* sigmaXY)
{
  _TDispID _dispid(*this, OLETEXT("ContourInertia"), DISPID(183));
  TAutoArgs<7> _args;
  _args[1] = PathVector /*[VT_DISPATCH:0]*/;
  _args[2] = Area /*[VT_I4:1]*/;
  _args[3] = GravityCenterX /*[VT_R4:1]*/;
  _args[4] = GravityCenterY /*[VT_R4:1]*/;
  _args[5] = SigmaX /*[VT_R4:1]*/;
  _args[6] = SigmaY /*[VT_R4:1]*/;
  _args[7] = sigmaXY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Contour(LPDISPATCH BW8SrcImage, Evision_tlb::enumImgContourMode ContourMode, 
                            long StartX, long StartY, 
                            Evision_tlb::enumImgContourThreshold ThresholdMode, long Threshold, 
                            Evision_tlb::enumImgContourConnexity ConnexityMode, 
                            LPDISPATCH PathVector)
{
  _TDispID _dispid(*this, OLETEXT("Contour"), DISPID(184));
  TAutoArgs<8> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = (int)ContourMode /*[VT_USERDEFINED:0]*/;
  _args[3] = StartX /*[VT_I4:0]*/;
  _args[4] = StartY /*[VT_I4:0]*/;
  _args[5] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
  _args[6] = Threshold /*[VT_I4:0]*/;
  _args[7] = (int)ConnexityMode /*[VT_USERDEFINED:0]*/;
  _args[8] = PathVector /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Roberts(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Roberts"), DISPID(185));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Distance(LPDISPATCH BW8SrcImage, LPDISPATCH BW16DstImage, long ValOut)
{
  _TDispID _dispid(*this, OLETEXT("Distance"), DISPID(186));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW16DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = ValOut /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ConvertBW16(LPDISPATCH SrcImage, LPDISPATCH DstImage, long Shift)
{
  _TDispID _dispid(*this, OLETEXT("ConvertBW16"), DISPID(187));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Shift /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GainOffsetC24(LPDISPATCH C24SrcImage, LPDISPATCH C24DstImage, float RedGain, 
                                  float GreenGain, float BlueGain, float RedOffset, 
                                  float GreenOffset, float BlueOffset)
{
  _TDispID _dispid(*this, OLETEXT("GainOffsetC24"), DISPID(188));
  TAutoArgs<8> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = RedGain /*[VT_R4:0]*/;
  _args[4] = GreenGain /*[VT_R4:0]*/;
  _args[5] = BlueGain /*[VT_R4:0]*/;
  _args[6] = RedOffset /*[VT_R4:0]*/;
  _args[7] = GreenOffset /*[VT_R4:0]*/;
  _args[8] = BlueOffset /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> short __fastcall
_DEasyMainDispT<T>::AutoThresholdLevel(LPDISPATCH BW8SrcImage, 
                                       Evision_tlb::enumImgThresholdModes ThresholdMode, 
                                       float RelativeThreshold)
{
  _TDispID _dispid(*this, OLETEXT("AutoThresholdLevel"), DISPID(189));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
  _args[3] = RelativeThreshold /*[VT_R4:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::AutoThreshold(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                  Evision_tlb::enumImgThresholdModes ThresholdMode, 
                                  float RelativeThreshold)
{
  _TDispID _dispid(*this, OLETEXT("AutoThreshold"), DISPID(190));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = (int)ThresholdMode /*[VT_USERDEFINED:0]*/;
  _args[4] = RelativeThreshold /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Uniform(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                            long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("Uniform"), DISPID(191));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::VectorUniform(LPDISPATCH BW8SrcVector, LPDISPATCH BW8DstVector, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("VectorUniform"), DISPID(192));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcVector /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstVector /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> float __fastcall
_DEasyMainDispT<T>::Focusing(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("Focusing"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DEasyMainDispT<T>::RmsNoise(LPDISPATCH BW8SrcImage, LPDISPATCH BW8RefImage, 
                             Evision_tlb::enumImgReferenceNoise ReferenceNoise)
{
  _TDispID _dispid(*this, OLETEXT("RmsNoise"), DISPID(194));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8RefImage /*[VT_DISPATCH:0]*/;
  _args[3] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> float __fastcall
_DEasyMainDispT<T>::RmsNoiseAveraged(LPDISPATCH BW8SrcImage, LPDISPATCH BW16RefImage, long Count, 
                                     Evision_tlb::enumImgReferenceNoise ReferenceNoise)
{
  _TDispID _dispid(*this, OLETEXT("RmsNoiseAveraged"), DISPID(195));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW16RefImage /*[VT_DISPATCH:0]*/;
  _args[3] = Count /*[VT_I4:0]*/;
  _args[4] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SignalNoiseRatio(LPDISPATCH BW8SrcImage, LPDISPATCH BW8RefImage, 
                                     Evision_tlb::enumImgReferenceNoise ReferenceNoise)
{
  _TDispID _dispid(*this, OLETEXT("SignalNoiseRatio"), DISPID(196));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8RefImage /*[VT_DISPATCH:0]*/;
  _args[3] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SignalNoiseRatioAveraged(LPDISPATCH BW8SrcImage, LPDISPATCH BW16RefImage, 
                                             long Count, 
                                             Evision_tlb::enumImgReferenceNoise ReferenceNoise)
{
  _TDispID _dispid(*this, OLETEXT("SignalNoiseRatioAveraged"), DISPID(197));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW16RefImage /*[VT_DISPATCH:0]*/;
  _args[3] = Count /*[VT_I4:0]*/;
  _args[4] = (int)ReferenceNoise /*[VT_USERDEFINED:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::RegisterTranslate(LPDISPATCH SrcImage, LPDISPATCH DstImage, float SrcPivot0X, 
                                      float SrcPivot0Y, float DstPivot0X, float DstPivot0Y, 
                                      long InterpolationBits)
{
  _TDispID _dispid(*this, OLETEXT("RegisterTranslate"), DISPID(198));
  TAutoArgs<7> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = SrcPivot0X /*[VT_R4:0]*/;
  _args[4] = SrcPivot0Y /*[VT_R4:0]*/;
  _args[5] = DstPivot0X /*[VT_R4:0]*/;
  _args[6] = DstPivot0Y /*[VT_R4:0]*/;
  _args[7] = InterpolationBits /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Register(LPDISPATCH SrcImage, LPDISPATCH DstImage, float SrcPivot0X, 
                             float SrcPivot0Y, float SrcPivot1X, float SrcPivot1Y, float DstPivot0X
                             , float DstPivot0Y, float DstPivot1X, float DstPivot1Y, 
                             long InterpolationBits, TOLEBOOL Resize)
{
  _TDispID _dispid(*this, OLETEXT("Register"), DISPID(199));
  TAutoArgs<12> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = SrcPivot0X /*[VT_R4:0]*/;
  _args[4] = SrcPivot0Y /*[VT_R4:0]*/;
  _args[5] = SrcPivot1X /*[VT_R4:0]*/;
  _args[6] = SrcPivot1Y /*[VT_R4:0]*/;
  _args[7] = DstPivot0X /*[VT_R4:0]*/;
  _args[8] = DstPivot0Y /*[VT_R4:0]*/;
  _args[9] = DstPivot1X /*[VT_R4:0]*/;
  _args[10] = DstPivot1Y /*[VT_R4:0]*/;
  _args[11] = InterpolationBits /*[VT_I4:0]*/;
  _args[12] = Resize /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::EmptyCalibrationPointPairs()
{
  _TDispID _dispid(*this, OLETEXT("EmptyCalibrationPointPairs"), DISPID(200));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::AddCalibrationPointPair(float WorldX, float WorldY, float ImageX, float ImageY)
{
  _TDispID _dispid(*this, OLETEXT("AddCalibrationPointPair"), DISPID(201));
  TAutoArgs<4> _args;
  _args[1] = WorldX /*[VT_R4:0]*/;
  _args[2] = WorldY /*[VT_R4:0]*/;
  _args[3] = ImageX /*[VT_R4:0]*/;
  _args[4] = ImageY /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SetupLinearCalibration()
{
  _TDispID _dispid(*this, OLETEXT("SetupLinearCalibration"), DISPID(202));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SetupPerspectiveCalibration()
{
  _TDispID _dispid(*this, OLETEXT("SetupPerspectiveCalibration"), DISPID(203));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GetCalibration(float* Axx, float* Axy, float* Ax, float* Ayx, float* Ayy, 
                                   float* Ay, float* Bx, float* By)
{
  _TDispID _dispid(*this, OLETEXT("GetCalibration"), DISPID(204));
  TAutoArgs<8> _args;
  _args[1] = Axx /*[VT_R4:1]*/;
  _args[2] = Axy /*[VT_R4:1]*/;
  _args[3] = Ax /*[VT_R4:1]*/;
  _args[4] = Ayx /*[VT_R4:1]*/;
  _args[5] = Ayy /*[VT_R4:1]*/;
  _args[6] = Ay /*[VT_R4:1]*/;
  _args[7] = Bx /*[VT_R4:1]*/;
  _args[8] = By /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GetInvCalibration(float* Axx, float* Axy, float* Ax, float* Ayx, float* Ayy, 
                                      float* Ay, float* Bx, float* By)
{
  _TDispID _dispid(*this, OLETEXT("GetInvCalibration"), DISPID(205));
  TAutoArgs<8> _args;
  _args[1] = Axx /*[VT_R4:1]*/;
  _args[2] = Axy /*[VT_R4:1]*/;
  _args[3] = Ax /*[VT_R4:1]*/;
  _args[4] = Ayx /*[VT_R4:1]*/;
  _args[5] = Ayy /*[VT_R4:1]*/;
  _args[6] = Ay /*[VT_R4:1]*/;
  _args[7] = Bx /*[VT_R4:1]*/;
  _args[8] = By /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GetCalibrationAngles(float* AngleX, float* AngleY, float* AngleZ)
{
  _TDispID _dispid(*this, OLETEXT("GetCalibrationAngles"), DISPID(206));
  TAutoArgs<3> _args;
  _args[1] = AngleX /*[VT_R4:1]*/;
  _args[2] = AngleY /*[VT_R4:1]*/;
  _args[3] = AngleZ /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::LinearCalibration(float WorldX, float WorldY, float* ImageX, float* ImageY)
{
  _TDispID _dispid(*this, OLETEXT("LinearCalibration"), DISPID(207));
  TAutoArgs<4> _args;
  _args[1] = WorldX /*[VT_R4:0]*/;
  _args[2] = WorldY /*[VT_R4:0]*/;
  _args[3] = ImageX /*[VT_R4:1]*/;
  _args[4] = ImageY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::InvLinearCalibration(float ImageX, float ImageY, float* WorldX, float* WorldY)
{
  _TDispID _dispid(*this, OLETEXT("InvLinearCalibration"), DISPID(208));
  TAutoArgs<4> _args;
  _args[1] = ImageX /*[VT_R4:0]*/;
  _args[2] = ImageY /*[VT_R4:0]*/;
  _args[3] = WorldX /*[VT_R4:1]*/;
  _args[4] = WorldY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PerspectiveCalibration(float WorldX, float WorldY, float* ImageX, float* ImageY)
{
  _TDispID _dispid(*this, OLETEXT("PerspectiveCalibration"), DISPID(209));
  TAutoArgs<4> _args;
  _args[1] = WorldX /*[VT_R4:0]*/;
  _args[2] = WorldY /*[VT_R4:0]*/;
  _args[3] = ImageX /*[VT_R4:1]*/;
  _args[4] = ImageY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::InvPerspectiveCalibration(float ImageX, float ImageY, float* WorldX, 
                                              float* WorldY)
{
  _TDispID _dispid(*this, OLETEXT("InvPerspectiveCalibration"), DISPID(210));
  TAutoArgs<4> _args;
  _args[1] = ImageX /*[VT_R4:0]*/;
  _args[2] = ImageY /*[VT_R4:0]*/;
  _args[3] = WorldX /*[VT_R4:1]*/;
  _args[4] = WorldY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::LinearCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("LinearCalibrationImg"), DISPID(211));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::InvLinearCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("InvLinearCalibrationImg"), DISPID(212));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::PerspectiveCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("PerspectiveCalibrationImg"), DISPID(213));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::InvPerspectiveCalibrationImg(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("InvPerspectiveCalibrationImg"), DISPID(214));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ConvolSymmetric(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                    LPDISPATCH Kernel)
{
  _TDispID _dispid(*this, OLETEXT("ConvolSymmetric"), DISPID(215));
  TAutoArgs<3> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = Kernel /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Uniform3x3(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Uniform3x3"), DISPID(216));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Uniform5x5(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Uniform5x5"), DISPID(217));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Uniform7x7(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Uniform7x7"), DISPID(218));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Gaussian3x3(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Gaussian3x3"), DISPID(219));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Gaussian5x5(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Gaussian5x5"), DISPID(220));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Gaussian7x7(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Gaussian7x7"), DISPID(221));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::LocalAverage(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long HalfWidth, 
                                 long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("LocalAverage"), DISPID(222));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::LocalDeviation(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, long HalfWidth, 
                                   long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("LocalDeviation"), DISPID(223));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DilateBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                              long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("DilateBox"), DISPID(224));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ErodeBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                             long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("ErodeBox"), DISPID(225));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::OpenBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                            long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("OpenBox"), DISPID(226));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::CloseBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                             long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("CloseBox"), DISPID(227));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::WhiteTopHatBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                   long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("WhiteTopHatBox"), DISPID(228));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::BlackTopHatBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                   long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("BlackTopHatBox"), DISPID(229));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DilateDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("DilateDisk"), DISPID(230));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ErodeDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("ErodeDisk"), DISPID(231));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::OpenDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("OpenDisk"), DISPID(232));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::CloseDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("CloseDisk"), DISPID(233));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::WhiteTopHatDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("WhiteTopHatDisk"), DISPID(234));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::BlackTopHatDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("BlackTopHatDisk"), DISPID(235));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::SetCircleWarp(float XCenter, float YCenter, long NumCircles, float MinRadius, 
                                  float MaxRadius, long NumRadii, float MinAngle, float MaxAngle, 
                                  LPDISPATCH BW16XImage, LPDISPATCH BW16YImage)
{
  _TDispID _dispid(*this, OLETEXT("SetCircleWarp"), DISPID(236));
  TAutoArgs<10> _args;
  _args[1] = XCenter /*[VT_R4:0]*/;
  _args[2] = YCenter /*[VT_R4:0]*/;
  _args[3] = NumCircles /*[VT_I4:0]*/;
  _args[4] = MinRadius /*[VT_R4:0]*/;
  _args[5] = MaxRadius /*[VT_R4:0]*/;
  _args[6] = NumRadii /*[VT_I4:0]*/;
  _args[7] = MinAngle /*[VT_R4:0]*/;
  _args[8] = MaxAngle /*[VT_R4:0]*/;
  _args[9] = BW16XImage /*[VT_DISPATCH:0]*/;
  _args[10] = BW16YImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::ComposeRGB(LPDISPATCH BW8SrcC0Image, LPDISPATCH BW8SrcC1Image, 
                               LPDISPATCH BW8SrcC2Image, LPDISPATCH C24DstImage)
{
  _TDispID _dispid(*this, OLETEXT("ComposeRGB"), DISPID(237));
  TAutoArgs<4> _args;
  _args[1] = BW8SrcC0Image /*[VT_DISPATCH:0]*/;
  _args[2] = BW8SrcC1Image /*[VT_DISPATCH:0]*/;
  _args[3] = BW8SrcC2Image /*[VT_DISPATCH:0]*/;
  _args[4] = C24DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::DecomposeRGB(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstC0Image, 
                                 LPDISPATCH BW8DstC1Image, LPDISPATCH BW8DstC2Image)
{
  _TDispID _dispid(*this, OLETEXT("DecomposeRGB"), DISPID(238));
  TAutoArgs<4> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstC0Image /*[VT_DISPATCH:0]*/;
  _args[3] = BW8DstC1Image /*[VT_DISPATCH:0]*/;
  _args[4] = BW8DstC2Image /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Warp(LPDISPATCH SrcImage, LPDISPATCH DstImage, LPDISPATCH BW16WarpXImage, 
                         LPDISPATCH BW16WarpYImage, long ShiftX, long ShiftY)
{
  _TDispID _dispid(*this, OLETEXT("Warp"), DISPID(239));
  TAutoArgs<6> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = BW16WarpXImage /*[VT_DISPATCH:0]*/;
  _args[4] = BW16WarpYImage /*[VT_DISPATCH:0]*/;
  _args[5] = ShiftX /*[VT_I4:0]*/;
  _args[6] = ShiftY /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> OLE_HANDLE __fastcall
_DEasyMainDispT<T>::OpenImageBW8DC(LPDISPATCH ImageBW8)
{
  _TDispID _dispid(*this, OLETEXT("OpenImageBW8DC"), DISPID(240));
  TAutoArgs<1> _args;
  _args[1] = ImageBW8 /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> OLE_HANDLE __fastcall
_DEasyMainDispT<T>::OpenImageC24DC(LPDISPATCH ImageC24)
{
  _TDispID _dispid(*this, OLETEXT("OpenImageC24DC"), DISPID(241));
  TAutoArgs<1> _args;
  _args[1] = ImageC24 /*[VT_DISPATCH:0]*/;
  OleFunction(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEasyMainDispT<T>::CloseImageBW8DC(LPDISPATCH ImageBW8)
{
  _TDispID _dispid(*this, OLETEXT("CloseImageBW8DC"), DISPID(242));
  TAutoArgs<1> _args;
  _args[1] = ImageBW8 /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::CloseImageC24DC(LPDISPATCH ImageC24)
{
  _TDispID _dispid(*this, OLETEXT("CloseImageC24DC"), DISPID(243));
  TAutoArgs<1> _args;
  _args[1] = ImageC24 /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Gaussian(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                             long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("Gaussian"), DISPID(244));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::LaplacianX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("LaplacianX"), DISPID(245));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::LaplacianY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("LaplacianY"), DISPID(246));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::Gradient(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Gradient"), DISPID(247));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GradientX(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("GradientX"), DISPID(248));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::GradientY(LPDISPATCH SrcImage, LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("GradientY"), DISPID(249));
  TAutoArgs<2> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::C24ToBayer(LPDISPATCH C24SrcImage, LPDISPATCH BW8DstImage, TOLEBOOL EvenCol, 
                               TOLEBOOL EvenRow)
{
  _TDispID _dispid(*this, OLETEXT("C24ToBayer"), DISPID(250));
  TAutoArgs<4> _args;
  _args[1] = C24SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = EvenCol /*[VT_BOOL:0]*/;
  _args[4] = EvenRow /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::BayerToC24(LPDISPATCH BW8SrcImage, LPDISPATCH C24DstImage, TOLEBOOL EvenCol, 
                               TOLEBOOL EvenRow, TOLEBOOL Interpolate, TOLEBOOL Improved)
{
  _TDispID _dispid(*this, OLETEXT("BayerToC24"), DISPID(251));
  TAutoArgs<6> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = C24DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = EvenCol /*[VT_BOOL:0]*/;
  _args[4] = EvenRow /*[VT_BOOL:0]*/;
  _args[5] = Interpolate /*[VT_BOOL:0]*/;
  _args[6] = Improved /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::TransformBayer(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage, 
                                   LPDISPATCH ColorLookup, TOLEBOOL EvenCol, TOLEBOOL EvenRow)
{
  _TDispID _dispid(*this, OLETEXT("TransformBayer"), DISPID(252));
  TAutoArgs<5> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = ColorLookup /*[VT_DISPATCH:0]*/;
  _args[4] = EvenCol /*[VT_BOOL:0]*/;
  _args[5] = EvenRow /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::MorphoGradientBox(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth, 
                                      long HalfHeight)
{
  _TDispID _dispid(*this, OLETEXT("MorphoGradientBox"), DISPID(253));
  TAutoArgs<4> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  _args[4] = HalfHeight /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::MorphoGradientDisk(LPDISPATCH SrcImage, LPDISPATCH DstImage, long HalfWidth)
{
  _TDispID _dispid(*this, OLETEXT("MorphoGradientDisk"), DISPID(254));
  TAutoArgs<3> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstImage /*[VT_DISPATCH:0]*/;
  _args[3] = HalfWidth /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEasyMainDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEasyMainEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EAD-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEMovingAverage
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EBC-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEMovingAverageDispT<T>::set_Obj(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEMovingAverageDispT<T>::get_Obj()
{
  _TDispID _dispid(*this, OLETEXT("Obj"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::set_SourcePointer(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SourcePointer"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMovingAverageDispT<T>::get_SourcePointer()
{
  _TDispID _dispid(*this, OLETEXT("SourcePointer"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::set_EmbeddedObject(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMovingAverageDispT<T>::get_EmbeddedObject()
{
  _TDispID _dispid(*this, OLETEXT("EmbeddedObject"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::SetSize(long Period, long Width, long Height, TOLEBOOL Internal)
{
  _TDispID _dispid(*this, OLETEXT("SetSize"), DISPID(4));
  TAutoArgs<4> _args;
  _args[1] = Period /*[VT_I4:0]*/;
  _args[2] = Width /*[VT_I4:0]*/;
  _args[3] = Height /*[VT_I4:0]*/;
  _args[4] = Internal /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::GetSize(long* Period, long* Width, long* Height, TOLEBOOL* Internal)
{
  _TDispID _dispid(*this, OLETEXT("GetSize"), DISPID(5));
  TAutoArgs<4> _args;
  _args[1] = Period /*[VT_I4:1]*/;
  _args[2] = Width /*[VT_I4:1]*/;
  _args[3] = Height /*[VT_I4:1]*/;
  _args[4] = Internal /*[VT_BOOL:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::Average(LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("Average"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::AverageSrc(LPDISPATCH BW8SrcImage, LPDISPATCH BW8DstImage)
{
  _TDispID _dispid(*this, OLETEXT("AverageSrc"), DISPID(7));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = BW8DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::Reset()
{
  _TDispID _dispid(*this, OLETEXT("Reset"), DISPID(8));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEMovingAverageDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEMovingAverageEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EBD-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEMatrixCode
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC0-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_EccFamily(Evision_tlb::enumMxcECCFamily /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("EccFamily"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcECCFamily /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMxcECCFamily /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_EccFamily()
{
  _TDispID _dispid(*this, OLETEXT("EccFamily"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMxcECCFamily /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SymbolSize(Evision_tlb::enumMxcSymbolSize /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SymbolSize"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcSymbolSize /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMxcSymbolSize /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SymbolSize()
{
  _TDispID _dispid(*this, OLETEXT("SymbolSize"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMxcSymbolSize /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SymbolWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SymbolWidth"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SymbolWidth()
{
  _TDispID _dispid(*this, OLETEXT("SymbolWidth"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SymbolHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SymbolHeight"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SymbolHeight()
{
  _TDispID _dispid(*this, OLETEXT("SymbolHeight"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_Contrast(Evision_tlb::enumMxcSymbolContrast /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Contrast"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcSymbolContrast /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMxcSymbolContrast /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_Contrast()
{
  _TDispID _dispid(*this, OLETEXT("Contrast"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMxcSymbolContrast /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_ScaleTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleTolerance"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_ScaleTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ScaleTolerance"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_ScaleBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleBias"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_ScaleBias()
{
  _TDispID _dispid(*this, OLETEXT("ScaleBias"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_ScaleStep(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleStep"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_ScaleStep()
{
  _TDispID _dispid(*this, OLETEXT("ScaleStep"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_ScaleCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleCount"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_ScaleCount()
{
  _TDispID _dispid(*this, OLETEXT("ScaleCount"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SkewTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewTolerance"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SkewTolerance()
{
  _TDispID _dispid(*this, OLETEXT("SkewTolerance"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SkewBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewBias"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SkewBias()
{
  _TDispID _dispid(*this, OLETEXT("SkewBias"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SkewStep(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewStep"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SkewStep()
{
  _TDispID _dispid(*this, OLETEXT("SkewStep"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SkewCount(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SkewCount"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SkewCount()
{
  _TDispID _dispid(*this, OLETEXT("SkewCount"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_ReadingThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ReadingThreshold"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_ReadingThreshold()
{
  _TDispID _dispid(*this, OLETEXT("ReadingThreshold"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_ReadingThresholdMode(Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ReadingThresholdMode"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcThresholdModes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_ReadingThresholdMode()
{
  _TDispID _dispid(*this, OLETEXT("ReadingThresholdMode"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMxcThresholdModes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_NumErrors(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumErrors"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_NumErrors()
{
  _TDispID _dispid(*this, OLETEXT("NumErrors"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_CellFilling(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CellFilling"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_CellFilling()
{
  _TDispID _dispid(*this, OLETEXT("CellFilling"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SourceImage(LPDISPATCH /*[VT_DISPATCH:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SourceImage"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> LPDISPATCH /*[VT_DISPATCH:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SourceImage()
{
  _TDispID _dispid(*this, OLETEXT("SourceImage"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_LocationThresholdMode(Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationThresholdMode"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcThresholdModes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMxcThresholdModes /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_LocationThresholdMode()
{
  _TDispID _dispid(*this, OLETEXT("LocationThresholdMode"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMxcThresholdModes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_LocationThreshold(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("LocationThreshold"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_LocationThreshold()
{
  _TDispID _dispid(*this, OLETEXT("LocationThreshold"), DISPID(20));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(21));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_DrawStyle(Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawStyle /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawStyle /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(22));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawStyle /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(23));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_DrawMode(Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumDrawMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumDrawMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(24));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumDrawMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_ImproveConnexity(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImproveConnexity"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_ImproveConnexity()
{
  _TDispID _dispid(*this, OLETEXT("ImproveConnexity"), DISPID(25));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_CheckPrintQuality(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CheckPrintQuality"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_CheckPrintQuality()
{
  _TDispID _dispid(*this, OLETEXT("CheckPrintQuality"), DISPID(26));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SymbolContrast(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SymbolContrast"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SymbolContrast()
{
  _TDispID _dispid(*this, OLETEXT("SymbolContrast"), DISPID(27));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_PrintGrowth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PrintGrowth"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_PrintGrowth()
{
  _TDispID _dispid(*this, OLETEXT("PrintGrowth"), DISPID(28));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_AxialNonuniformity(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AxialNonuniformity"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_AxialNonuniformity()
{
  _TDispID _dispid(*this, OLETEXT("AxialNonuniformity"), DISPID(29));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_UnusedErrorCorrection(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("UnusedErrorCorrection"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_UnusedErrorCorrection()
{
  _TDispID _dispid(*this, OLETEXT("UnusedErrorCorrection"), DISPID(30));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_MinimumPrintGrowth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinimumPrintGrowth"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_MinimumPrintGrowth()
{
  _TDispID _dispid(*this, OLETEXT("MinimumPrintGrowth"), DISPID(31));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_NominalPrintGrowth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NominalPrintGrowth"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_NominalPrintGrowth()
{
  _TDispID _dispid(*this, OLETEXT("NominalPrintGrowth"), DISPID(32));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_MaximumPrintGrowth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaximumPrintGrowth"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_MaximumPrintGrowth()
{
  _TDispID _dispid(*this, OLETEXT("MaximumPrintGrowth"), DISPID(33));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_MeasuredPrintGrowth(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MeasuredPrintGrowth"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_MeasuredPrintGrowth()
{
  _TDispID _dispid(*this, OLETEXT("MeasuredPrintGrowth"), DISPID(34));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SymbolContrastGrade(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SymbolContrastGrade"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SymbolContrastGrade()
{
  _TDispID _dispid(*this, OLETEXT("SymbolContrastGrade"), DISPID(35));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_PrintGrowthGrade(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("PrintGrowthGrade"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_PrintGrowthGrade()
{
  _TDispID _dispid(*this, OLETEXT("PrintGrowthGrade"), DISPID(36));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_AxialNonuniformityGrade(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AxialNonuniformityGrade"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_AxialNonuniformityGrade()
{
  _TDispID _dispid(*this, OLETEXT("AxialNonuniformityGrade"), DISPID(37));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_OverallGrade(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("OverallGrade"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_OverallGrade()
{
  _TDispID _dispid(*this, OLETEXT("OverallGrade"), DISPID(38));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_UnusedErrorCorrectionGrade(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("UnusedErrorCorrectionGrade"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_UnusedErrorCorrectionGrade()
{
  _TDispID _dispid(*this, OLETEXT("UnusedErrorCorrectionGrade"), DISPID(39));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::set_SymbolFlipping(Evision_tlb::enumMxcSymbolFlipping /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("SymbolFlipping"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumMxcSymbolFlipping /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumMxcSymbolFlipping /*[VT_USERDEFINED:0]*/ __fastcall
_DEMatrixCodeDispT<T>::get_SymbolFlipping()
{
  _TDispID _dispid(*this, OLETEXT("SymbolFlipping"), DISPID(40));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumMxcSymbolFlipping /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::Load(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::SetCellPitch(float PitchX, float PitchY)
{
  _TDispID _dispid(*this, OLETEXT("SetCellPitch"), DISPID(42));
  TAutoArgs<2> _args;
  _args[1] = PitchX /*[VT_R4:0]*/;
  _args[2] = PitchY /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::ResetCorners()
{
  _TDispID _dispid(*this, OLETEXT("ResetCorners"), DISPID(43));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::DrawCorners(LPDISPATCH EImageBW8)
{
  _TDispID _dispid(*this, OLETEXT("DrawCorners"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> Evision_tlb::enumMxcHandles __fastcall
_DEMatrixCodeDispT<T>::HitTest(LPDISPATCH EImageBW8, long CursorX, long CursorY)
{
  _TDispID _dispid(*this, OLETEXT("HitTest"), DISPID(45));
  TAutoArgs<3> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  _args[2] = CursorX /*[VT_I4:0]*/;
  _args[3] = CursorY /*[VT_I4:0]*/;
  OleFunction(_dispid, _args);
  return (Evision_tlb::enumMxcHandles /*[C1]*/)(int) /*[VT_I4:0]*/_args.GetRetVariant();
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::Drag(LPDISPATCH EImageBW8, Evision_tlb::enumMxcHandles EHandle, long CursorX
                            , long CursorY)
{
  _TDispID _dispid(*this, OLETEXT("Drag"), DISPID(46));
  TAutoArgs<4> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  _args[2] = (int)EHandle /*[VT_USERDEFINED:0]*/;
  _args[3] = CursorX /*[VT_I4:0]*/;
  _args[4] = CursorY /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::Draw(LPDISPATCH EImageBW8)
{
  _TDispID _dispid(*this, OLETEXT("Draw"), DISPID(47));
  TAutoArgs<1> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::Save(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::AutoDetect(LPDISPATCH BW8SrcImage, Evision_tlb::enumMxcSymbolSize SymbolSize
                                  , Evision_tlb::enumMxcSymbolOrientation SymbolOrientation, 
                                  Evision_tlb::enumMxcSymbolContrast Contrast, BSTR* DstString)
{
  _TDispID _dispid(*this, OLETEXT("AutoDetect"), DISPID(49));
  TAutoArgs<5> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = (int)SymbolSize /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)SymbolOrientation /*[VT_USERDEFINED:0]*/;
  _args[4] = (int)Contrast /*[VT_USERDEFINED:0]*/;
  _args[5] = DstString /*[VT_BSTR:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::ReadSymbol(LPDISPATCH BW8SrcImage, BSTR* DstString)
{
  _TDispID _dispid(*this, OLETEXT("ReadSymbol"), DISPID(50));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstString /*[VT_BSTR:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::GetCellPitch(float* PitchX, float* PitchY)
{
  _TDispID _dispid(*this, OLETEXT("GetCellPitch"), DISPID(51));
  TAutoArgs<2> _args;
  _args[1] = PitchX /*[VT_R4:1]*/;
  _args[2] = PitchY /*[VT_R4:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::SetPrintGrowthRange(float f32Minimum, float f32Nominal, float f32Maximum)
{
  _TDispID _dispid(*this, OLETEXT("SetPrintGrowthRange"), DISPID(52));
  TAutoArgs<3> _args;
  _args[1] = f32Minimum /*[VT_R4:0]*/;
  _args[2] = f32Nominal /*[VT_R4:0]*/;
  _args[3] = f32Maximum /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::DrawErrors(LPDISPATCH EImageBW8)
{
  _TDispID _dispid(*this, OLETEXT("DrawErrors"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::DrawCornersErrors(LPDISPATCH EImageBW8)
{
  _TDispID _dispid(*this, OLETEXT("DrawCornersErrors"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::AutoReadSymbol(LPDISPATCH BW8SrcImage, BSTR* DstString)
{
  _TDispID _dispid(*this, OLETEXT("AutoReadSymbol"), DISPID(55));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcImage /*[VT_DISPATCH:0]*/;
  _args[2] = DstString /*[VT_BSTR:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEMatrixCodeDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEMatrixCodeEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC1-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEImageSequence
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC4-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_ImageType(Evision_tlb::enumImageTypes /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageType"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumImageTypes /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumImageTypes /*[VT_USERDEFINED:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_ImageType()
{
  _TDispID _dispid(*this, OLETEXT("ImageType"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumImageTypes /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_Count(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_Count()
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_State(Evision_tlb::enumState /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("State"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumState /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumState /*[VT_USERDEFINED:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_State()
{
  _TDispID _dispid(*this, OLETEXT("State"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumState /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_FlipImage(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("FlipImage"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_FlipImage()
{
  _TDispID _dispid(*this, OLETEXT("FlipImage"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_CodecFourcc(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CodecFourcc"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_CodecFourcc()
{
  _TDispID _dispid(*this, OLETEXT("CodecFourcc"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_NumRate(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumRate"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_NumRate()
{
  _TDispID _dispid(*this, OLETEXT("NumRate"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_DenomRate(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DenomRate"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_DenomRate()
{
  _TDispID _dispid(*this, OLETEXT("DenomRate"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_DataRate(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DataRate"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_DataRate()
{
  _TDispID _dispid(*this, OLETEXT("DataRate"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_KeyFrameRate(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("KeyFrameRate"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_KeyFrameRate()
{
  _TDispID _dispid(*this, OLETEXT("KeyFrameRate"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_CompressionQuality(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CompressionQuality"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_CompressionQuality()
{
  _TDispID _dispid(*this, OLETEXT("CompressionQuality"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_Position(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Position"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_Position()
{
  _TDispID _dispid(*this, OLETEXT("Position"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_ImageWidth(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_ImageWidth()
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::set_ImageHeight(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEImageSequenceDispT<T>::get_ImageHeight()
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::Seek(long lngDelta)
{
  _TDispID _dispid(*this, OLETEXT("Seek"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = lngDelta /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::AddImage(LPDISPATCH SrcImage)
{
  _TDispID _dispid(*this, OLETEXT("AddImage"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = SrcImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::GetImage(LPDISPATCH DstImage)
{
  _TDispID _dispid(*this, OLETEXT("GetImage"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = DstImage /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::CloseFile()
{
  _TDispID _dispid(*this, OLETEXT("CloseFile"), DISPID(17));
  OleProcedure(_dispid);
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::StartLoading(BSTR pszFileName)
{
  _TDispID _dispid(*this, OLETEXT("StartLoading"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = pszFileName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::StartSaving(BSTR pszFileName, long hwndDialogParent)
{
  _TDispID _dispid(*this, OLETEXT("StartSaving"), DISPID(19));
  TAutoArgs<2> _args;
  _args[1] = pszFileName /*[VT_BSTR:0]*/;
  _args[2] = hwndDialogParent /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::AddImageData(short* pImgData)
{
  _TDispID _dispid(*this, OLETEXT("AddImageData"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pImgData /*[VT_I2:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEImageSequenceDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEImageSequenceEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC5-97BC-11D1-A49B-000021633168}
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _DEFind
// Flags:     (4112) Hidden Dispatchable
// GUID:      {9AE86EC8-97BC-11D1-A49B-000021633168}
// *********************************************************************//
template <class T> void __fastcall
_DEFindDispT<T>::set_Angle(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Angle"), DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_Angle()
{
  _TDispID _dispid(*this, OLETEXT("Angle"), DISPID(1));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_AngleBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AngleBias"), DISPID(2));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_AngleBias()
{
  _TDispID _dispid(*this, OLETEXT("AngleBias"), DISPID(2));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_AngleTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("AngleTolerance"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_AngleTolerance()
{
  _TDispID _dispid(*this, OLETEXT("AngleTolerance"), DISPID(3));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_CenterX(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CenterX"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_CenterX()
{
  _TDispID _dispid(*this, OLETEXT("CenterX"), DISPID(4));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_CenterY(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("CenterY"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_CenterY()
{
  _TDispID _dispid(*this, OLETEXT("CenterY"), DISPID(5));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_Interpolate(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Interpolate"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEFindDispT<T>::get_Interpolate()
{
  _TDispID _dispid(*this, OLETEXT("Interpolate"), DISPID(6));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_MaxInstances(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MaxInstances"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEFindDispT<T>::get_MaxInstances()
{
  _TDispID _dispid(*this, OLETEXT("MaxInstances"), DISPID(7));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_MinScore(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("MinScore"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_MinScore()
{
  _TDispID _dispid(*this, OLETEXT("MinScore"), DISPID(8));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_NumInstances(long /*[VT_I4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("NumInstances"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> long /*[VT_I4:0]*/ __fastcall
_DEFindDispT<T>::get_NumInstances()
{
  _TDispID _dispid(*this, OLETEXT("NumInstances"), DISPID(9));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_Scale(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Scale"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_Scale()
{
  _TDispID _dispid(*this, OLETEXT("Scale"), DISPID(10));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_ScaleBias(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleBias"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_ScaleBias()
{
  _TDispID _dispid(*this, OLETEXT("ScaleBias"), DISPID(11));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_ScaleTolerance(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ScaleTolerance"), DISPID(12));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_ScaleTolerance()
{
  _TDispID _dispid(*this, OLETEXT("ScaleTolerance"), DISPID(12));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_Score(float /*[VT_R4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Score"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> float /*[VT_R4:0]*/ __fastcall
_DEFindDispT<T>::get_Score()
{
  _TDispID _dispid(*this, OLETEXT("Score"), DISPID(13));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_Learnt(TOLEBOOL /*[VT_BOOL:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("Learnt"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> TOLEBOOL /*[VT_BOOL:0]*/ __fastcall
_DEFindDispT<T>::get_Learnt()
{
  _TDispID _dispid(*this, OLETEXT("Learnt"), DISPID(14));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_DrawColor(::OLE_COLOR /*[VT_UI4:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> ::OLE_COLOR /*[VT_UI4:0]*/ __fastcall
_DEFindDispT<T>::get_DrawColor()
{
  _TDispID _dispid(*this, OLETEXT("DrawColor"), DISPID(15));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_DrawStyle(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEFindDispT<T>::get_DrawStyle()
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(16));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_DrawWidth(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEFindDispT<T>::get_DrawWidth()
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(17));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_DrawMode(short /*[VT_I2:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> short /*[VT_I2:0]*/ __fastcall
_DEFindDispT<T>::get_DrawMode()
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(18));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return _args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::set_ContrastMode(Evision_tlb::enumFndContrastMode /*[VT_USERDEFINED:0]*/ Value)
{
  _TDispID _dispid(*this, OLETEXT("ContrastMode"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = (int) /*[VT_I4:0]*/ (Evision_tlb::enumFndContrastMode /*[C2]*/)Value;
  OlePropertyPut(_dispid, _args);
}

template <class T> Evision_tlb::enumFndContrastMode /*[VT_USERDEFINED:0]*/ __fastcall
_DEFindDispT<T>::get_ContrastMode()
{
  _TDispID _dispid(*this, OLETEXT("ContrastMode"), DISPID(19));
  TAutoArgs<0> _args;
  OlePropertyGet(_dispid, _args);
  return (Evision_tlb::enumFndContrastMode /*[C3]*/)(int)_args.GetRetVariant();
}

template <class T> void __fastcall
_DEFindDispT<T>::Find(LPDISPATCH BW8SrcRoi)
{
  _TDispID _dispid(*this, OLETEXT("Find"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = BW8SrcRoi /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::Learn(LPDISPATCH BW8SrcRoi)
{
  _TDispID _dispid(*this, OLETEXT("Learn"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = BW8SrcRoi /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::SelectInstance(long lngIndex)
{
  _TDispID _dispid(*this, OLETEXT("SelectInstance"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = lngIndex /*[VT_I4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::SetCenter(float f32CenterX, float f32CenterY)
{
  _TDispID _dispid(*this, OLETEXT("SetCenter"), DISPID(23));
  TAutoArgs<2> _args;
  _args[1] = f32CenterX /*[VT_R4:0]*/;
  _args[2] = f32CenterY /*[VT_R4:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::LearnWithMask(LPDISPATCH BW8SrcRoi, LPDISPATCH pDontCare)
{
  _TDispID _dispid(*this, OLETEXT("LearnWithMask"), DISPID(24));
  TAutoArgs<2> _args;
  _args[1] = BW8SrcRoi /*[VT_DISPATCH:0]*/;
  _args[2] = pDontCare /*[VT_DISPATCH:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::Load(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Load"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::Save(BSTR PathName)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = PathName /*[VT_BSTR:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::DrawInstances(LPDISPATCH EImageBW8, TOLEBOOL bEdge)
{
  _TDispID _dispid(*this, OLETEXT("DrawInstances"), DISPID(27));
  TAutoArgs<2> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  _args[2] = bEdge /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::DrawInstance(LPDISPATCH EImageBW8, TOLEBOOL bEdge)
{
  _TDispID _dispid(*this, OLETEXT("DrawInstance"), DISPID(28));
  TAutoArgs<2> _args;
  _args[1] = EImageBW8 /*[VT_DISPATCH:0]*/;
  _args[2] = bEdge /*[VT_BOOL:0]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_DEFindDispT<T>::AboutBox()
{
  _TDispID _dispid(*this, OLETEXT("AboutBox"), DISPID(-552));
  OleProcedure(_dispid);
}

// *********************************************************************//
// DispIntf:  _DEFindEvents
// Flags:     (4096) Dispatchable
// GUID:      {9AE86EC9-97BC-11D1-A49B-000021633168}
// *********************************************************************//
#endif  //   __TLB_NO_INTERFACE_WRAPPERS


#if !defined(__TLB_NO_EVENT_WRAPPERS) && defined(USING_ATLVCL)
// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW8Image
// Event Interface : _DEBW8ImageEvents
// *********************************************************************//
template <class T>
class TEvents_EBW8Image : public IConnectionPointImpl<T,
                                                 &DIID__DEBW8ImageEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
  void            Fire_Refreshed(void);
  void            Fire_MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            Fire_MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            Fire_MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            Fire_KeyPress(short* KeyAscii);
  void            Fire_KeyDown(short* KeyCode, short Shift);
protected:
  _DEBW8ImageEventsDisp m_EventIntfObj;
};

template <class T> void
TEvents_EBW8Image<T>::Fire_Refreshed(void)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.Refreshed();
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EBW8Image<T>::Fire_MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.MouseDown(Button, Shift, X, Y);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EBW8Image<T>::Fire_MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.MouseUp(Button, Shift, X, Y);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EBW8Image<T>::Fire_MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.MouseMove(Button, Shift, X, Y);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EBW8Image<T>::Fire_KeyPress(short* KeyAscii)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.KeyPress(KeyAscii);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EBW8Image<T>::Fire_KeyDown(short* KeyCode, short Shift)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.KeyDown(KeyCode, Shift);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW16Image
// Event Interface : _DEBW16ImageEvents
// *********************************************************************//
template <class T>
class TEvents_EBW16Image : public IConnectionPointImpl<T,
                                                 &DIID__DEBW16ImageEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
  void            Fire_Refreshed(void);
  void            Fire_KeyPress(short* KeyAscii);
protected:
  _DEBW16ImageEventsDisp m_EventIntfObj;
};

template <class T> void
TEvents_EBW16Image<T>::Fire_Refreshed(void)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.Refreshed();
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EBW16Image<T>::Fire_KeyPress(short* KeyAscii)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.KeyPress(KeyAscii);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EC24Image
// Event Interface : _DEC24ImageEvents
// *********************************************************************//
template <class T>
class TEvents_EC24Image : public IConnectionPointImpl<T,
                                                 &DIID__DEC24ImageEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
  void            Fire_Refreshed(void);
  void            Fire_MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            Fire_MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            Fire_MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
  void            Fire_KeyPress(short* KeyAscii);
  void            Fire_KeyDown(short* KeyCode, short Shift);
protected:
  _DEC24ImageEventsDisp m_EventIntfObj;
};

template <class T> void
TEvents_EC24Image<T>::Fire_Refreshed(void)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.Refreshed();
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EC24Image<T>::Fire_MouseMove(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.MouseMove(Button, Shift, X, Y);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EC24Image<T>::Fire_MouseDown(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.MouseDown(Button, Shift, X, Y);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EC24Image<T>::Fire_MouseUp(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.MouseUp(Button, Shift, X, Y);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EC24Image<T>::Fire_KeyPress(short* KeyAscii)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.KeyPress(KeyAscii);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_EC24Image<T>::Fire_KeyDown(short* KeyCode, short Shift)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.KeyDown(KeyCode, Shift);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW8ROI
// Event Interface : _DEBW8ROIEvents
// *********************************************************************//
template <class T>
class TEvents_EBW8ROI : public IConnectionPointImpl<T,
                                                 &DIID__DEBW8ROIEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
  void            Fire_Refreshed(void);
protected:
  _DEBW8ROIEventsDisp m_EventIntfObj;
};

template <class T> void
TEvents_EBW8ROI<T>::Fire_Refreshed(void)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.Refreshed();
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW16ROI
// Event Interface : _DEBW16ROIEvents
// *********************************************************************//
template <class T>
class TEvents_EBW16ROI : public IConnectionPointImpl<T,
                                                 &DIID__DEBW16ROIEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEBW16ROIEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EC24ROI
// Event Interface : _DEC24ROIEvents
// *********************************************************************//
template <class T>
class TEvents_EC24ROI : public IConnectionPointImpl<T,
                                                 &DIID__DEC24ROIEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
  void            Fire_Refreshed(void);
protected:
  _DEC24ROIEventsDisp m_EventIntfObj;
};

template <class T> void
TEvents_EC24ROI<T>::Fire_Refreshed(void)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.Refreshed();
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW8Vector
// Event Interface : _DEBW8VectorEvents
// *********************************************************************//
template <class T>
class TEvents_EBW8Vector : public IConnectionPointImpl<T,
                                                 &DIID__DEBW8VectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEBW8VectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW16Vector
// Event Interface : _DEBW16VectorEvents
// *********************************************************************//
template <class T>
class TEvents_EBW16Vector : public IConnectionPointImpl<T,
                                                 &DIID__DEBW16VectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEBW16VectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW32Vector
// Event Interface : _DEBW32VectorEvents
// *********************************************************************//
template <class T>
class TEvents_EBW32Vector : public IConnectionPointImpl<T,
                                                 &DIID__DEBW32VectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEBW32VectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EC24Vector
// Event Interface : _DEC24VectorEvents
// *********************************************************************//
template <class T>
class TEvents_EC24Vector : public IConnectionPointImpl<T,
                                                 &DIID__DEC24VectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEC24VectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EPathVector
// Event Interface : _DEPathVectorEvents
// *********************************************************************//
template <class T>
class TEvents_EPathVector : public IConnectionPointImpl<T,
                                                 &DIID__DEPathVectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEPathVectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW8HistogramVector
// Event Interface : _DEBW8HistogramVectorEvents
// *********************************************************************//
template <class T>
class TEvents_EBW8HistogramVector : public IConnectionPointImpl<T,
                                                 &DIID__DEBW8HistogramVectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEBW8HistogramVectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EBW8PathVector
// Event Interface : _DEBW8PathVectorEvents
// *********************************************************************//
template <class T>
class TEvents_EBW8PathVector : public IConnectionPointImpl<T,
                                                 &DIID__DEBW8PathVectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEBW8PathVectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EC24PathVector
// Event Interface : _DEC24PathVectorEvents
// *********************************************************************//
template <class T>
class TEvents_EC24PathVector : public IConnectionPointImpl<T,
                                                 &DIID__DEC24PathVectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEC24PathVectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EPeaksVector
// Event Interface : _DEPeaksVectorEvents
// *********************************************************************//
template <class T>
class TEvents_EPeaksVector : public IConnectionPointImpl<T,
                                                 &DIID__DEPeaksVectorEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEPeaksVectorEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EKernel
// Event Interface : _DEKernelEvents
// *********************************************************************//
template <class T>
class TEvents_EKernel : public IConnectionPointImpl<T,
                                                 &DIID__DEKernelEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEKernelEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EColorLookup
// Event Interface : _DEColorLookupEvents
// *********************************************************************//
template <class T>
class TEvents_EColorLookup : public IConnectionPointImpl<T,
                                                 &DIID__DEColorLookupEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEColorLookupEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : ECodedImage
// Event Interface : _DECodedImageEvents
// *********************************************************************//
template <class T>
class TEvents_ECodedImage : public IConnectionPointImpl<T,
                                                 &DIID__DECodedImageEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DECodedImageEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EMatch
// Event Interface : _DEMatchEvents
// *********************************************************************//
template <class T>
class TEvents_EMatch : public IConnectionPointImpl<T,
                                                 &DIID__DEMatchEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEMatchEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EPointMeasure
// Event Interface : _DEPointMeasureEvents
// *********************************************************************//
template <class T>
class TEvents_EPointMeasure : public IConnectionPointImpl<T,
                                                 &DIID__DEPointMeasureEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEPointMeasureEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : ELineMeasure
// Event Interface : _DELineMeasureEvents
// *********************************************************************//
template <class T>
class TEvents_ELineMeasure : public IConnectionPointImpl<T,
                                                 &DIID__DELineMeasureEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DELineMeasureEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : ECircleMeasure
// Event Interface : _DECircleMeasureEvents
// *********************************************************************//
template <class T>
class TEvents_ECircleMeasure : public IConnectionPointImpl<T,
                                                 &DIID__DECircleMeasureEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DECircleMeasureEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EOCR
// Event Interface : _DEOCREvents
// *********************************************************************//
template <class T>
class TEvents_EOCR : public IConnectionPointImpl<T,
                                                 &DIID__DEOCREvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEOCREventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EOCV
// Event Interface : _DEOCVEvents
// *********************************************************************//
template <class T>
class TEvents_EOCV : public IConnectionPointImpl<T,
                                                 &DIID__DEOCVEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEOCVEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EOCVChar
// Event Interface : _DEOCVCharEvents
// *********************************************************************//
template <class T>
class TEvents_EOCVChar : public IConnectionPointImpl<T,
                                                 &DIID__DEOCVCharEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEOCVCharEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EOCVText
// Event Interface : _DEOCVTextEvents
// *********************************************************************//
template <class T>
class TEvents_EOCVText : public IConnectionPointImpl<T,
                                                 &DIID__DEOCVTextEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEOCVTextEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EasyMain
// Event Interface : _DEasyMainEvents
// *********************************************************************//
template <class T>
class TEvents_EasyMain : public IConnectionPointImpl<T,
                                                 &DIID__DEasyMainEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEasyMainEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EMovingAverage
// Event Interface : _DEMovingAverageEvents
// *********************************************************************//
template <class T>
class TEvents_EMovingAverage : public IConnectionPointImpl<T,
                                                 &DIID__DEMovingAverageEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEMovingAverageEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EMatrixCode
// Event Interface : _DEMatrixCodeEvents
// *********************************************************************//
template <class T>
class TEvents_EMatrixCode : public IConnectionPointImpl<T,
                                                 &DIID__DEMatrixCodeEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEMatrixCodeEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EImageSequence
// Event Interface : _DEImageSequenceEvents
// *********************************************************************//
template <class T>
class TEvents_EImageSequence : public IConnectionPointImpl<T,
                                                 &DIID__DEImageSequenceEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEImageSequenceEventsDisp m_EventIntfObj;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : EFind
// Event Interface : _DEFindEvents
// *********************************************************************//
template <class T>
class TEvents_EFind : public IConnectionPointImpl<T,
                                                 &DIID__DEFindEvents,
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
{
public:
protected:
  _DEFindEventsDisp m_EventIntfObj;
};

#endif  //   __TLB_NO_EVENT_WRAPPERS

};     // namespace Evision_tlb

#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using  namespace Evision_tlb;
#endif

#pragma option pop

#endif // __eVision_TLB_h__
