// ************************************************************************ //
// 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:05 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_OCX_h__
#define   __eVision_OCX_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(_NO_VCL)
#include <stdvcl.hpp>
#endif  //   _NO_VCL
#include <ocxproxy.h>

#include "eVision_TLB.h"
namespace Evision_tlb
{

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


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW8Image
// Help String      : EBW8Image Control
// Default Interface: _DEBW8Image
// Def. Intf. Object: _DEBW8ImageDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW8ImageEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW8Image Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW8Image : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //
  TNotifyEvent                   FOnRefreshed;

  // Default Interace of OCX
  //
  _DEBW8ImageDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          EventDispIDs[1];
  static int          TFontIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW8ImageDisp __fastcall GetDefaultInterface();
  _DEBW8ImageDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW8Image(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW8Image(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  void            __fastcall SaveFile(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  Evision_tlb::enumFileFormats __fastcall LoadFile(BSTR FileName);
  void            __fastcall Refresh(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=32 };
  __property _DEBW8ImageDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;
  __property OnMouseUp;
  __property OnMouseMove;
  __property OnMouseDown;
  __property OnKeyPress;
  __property OnKeyDown;

  // OCX properties
  //
  __property System::WideString Title={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=1 };
  __property int ImageOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property int ImageOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int ImageWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int ImageHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int BitsPerPixel={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int PlanesPerPixel={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property Activex::TOleEnum DataType={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=8 };
  __property int TotalOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int TotalOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int TotalWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11 };
  __property int TotalHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property float PixelWidth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=13 };
  __property float PixelHeight={ read=GetSingleProp, write=SetSingleProp, stored=false, index=14 };
  __property Activex::TOleEnum PixelUnit={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property float HorizontalPixelsPerUnit={ read=GetSingleProp, write=SetSingleProp, stored=false, index=16 };
  __property float VerticalPixelsPerUnit={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property Activex::TOleEnum ColorSystem={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=18 };
  __property int hWnd={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=19 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=21 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=22 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=23 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=24 };
  __property float ZoomX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=25 };
  __property float ZoomY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=26 };
  __property float PanX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=27 };
  __property float PanY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=28 };
  __property int hDC={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=29 };
  __property int RowPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=30 };
  __property int ColPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=31 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=33 };
  __property bool EnableContextualMenu={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=34 };
  __property Activex::TOleEnum OverlayMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=35 };
  __property bool EnableScrollBars={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=36 };
  __property Graphics::TColor TextColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=37 };
  __property bool TextBold={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=38 };
  __property bool TextItalic={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=39 };
  __property bool TextStrikeout={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=40 };
  __property bool TextUnderline={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=41 };
  __property Graphics::TColor TextBackColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=42 };
  __property Activex::TOleEnum TextAlignV={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=43 };
  __property Activex::TOleEnum TextAlignH={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=44 };
  __property bool TextTransparent={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=45 };
  __property Graphics::TFont * TextFont={ read=GetTFontProp, write=SetTFontProp, stored=false, index=46 };
  __property System::Currency TextSize={ read=GetCurrencyProp, write=SetCurrencyProp, stored=false, index=47 };
  __property Activex::TOleEnum CursorMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=48 };

  // OCX Events
  //
  __property TNotifyEvent OnRefreshed={ read=FOnRefreshed, write=FOnRefreshed };
};
typedef TEBW8Image  TEBW8ImageProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW16Image
// Help String      : EBW16Image Control
// Default Interface: _DEBW16Image
// Def. Intf. Object: _DEBW16ImageDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW16ImageEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW16Image Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW16Image : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //
  TNotifyEvent                   FOnRefreshed;

  // Default Interace of OCX
  //
  _DEBW16ImageDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          EventDispIDs[1];
  static int          TFontIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW16ImageDisp __fastcall GetDefaultInterface();
  _DEBW16ImageDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW16Image(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW16Image(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=21 };
  __property _DEBW16ImageDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;
  __property OnKeyPress;

  // OCX properties
  //
  __property System::WideString Title={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=1 };
  __property int ImageOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property int ImageOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int ImageWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int ImageHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int BitsPerPixel={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int PlanesPerPixel={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property Activex::TOleEnum DataType={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=8 };
  __property int TotalOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int TotalOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int TotalWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11 };
  __property int TotalHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property float PixelWidth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=13 };
  __property float PixelHeight={ read=GetSingleProp, write=SetSingleProp, stored=false, index=14 };
  __property Activex::TOleEnum PixelUnit={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property float HorizontalPixelsPerUnit={ read=GetSingleProp, write=SetSingleProp, stored=false, index=16 };
  __property float VerticalPixelsPerUnit={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property Activex::TOleEnum ColorSystem={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=18 };
  __property int RowPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19 };
  __property int ColPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=22 };
  __property bool EnableContextualMenu={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=23 };
  __property short OverlayMode={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=24 };
  __property bool EnableScrollBars={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=25 };
  __property Graphics::TColor TextColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=26 };
  __property bool TextBold={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=27 };
  __property bool TextItalic={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=28 };
  __property bool TextStrikeout={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=29 };
  __property bool TextUnderline={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=30 };
  __property Graphics::TColor TextBackColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=31 };
  __property short TextAlignV={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=32 };
  __property short TextAlignH={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33 };
  __property bool TextTransparent={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=34 };
  __property Graphics::TFont * TextFont={ read=GetTFontProp, write=SetTFontProp, stored=false, index=35 };
  __property System::Currency TextSize={ read=GetCurrencyProp, write=SetCurrencyProp, stored=false, index=36 };
  __property float ZoomX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=37 };
  __property float ZoomY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=38 };
  __property float PanX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=39 };
  __property float PanY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=40 };
  __property Activex::TOleEnum CursorMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=41 };

  // OCX Events
  //
  __property TNotifyEvent OnRefreshed={ read=FOnRefreshed, write=FOnRefreshed };
};
typedef TEBW16Image  TEBW16ImageProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEC24Image
// Help String      : EC24Image Control
// Default Interface: _DEC24Image
// Def. Intf. Object: _DEC24ImageDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEC24ImageEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EC24Image Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEC24Image : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //
  TNotifyEvent                   FOnRefreshed;

  // Default Interace of OCX
  //
  _DEC24ImageDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          EventDispIDs[1];
  static int          TFontIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEC24ImageDisp __fastcall GetDefaultInterface();
  _DEC24ImageDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEC24Image(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEC24Image(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  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);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=32 };
  __property _DEC24ImageDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;
  __property OnMouseUp;
  __property OnMouseMove;
  __property OnMouseDown;
  __property OnKeyPress;
  __property OnKeyDown;

  // OCX properties
  //
  __property System::WideString Title={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=1 };
  __property int ImageOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property int ImageOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int ImageWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int ImageHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int BitsPerPixel={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int PlanesPerPixel={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property Activex::TOleEnum DataType={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=8 };
  __property int TotalOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int TotalOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int TotalWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11 };
  __property int TotalHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property float PixelWidth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=13 };
  __property float PixelHeight={ read=GetSingleProp, write=SetSingleProp, stored=false, index=14 };
  __property Activex::TOleEnum PixelUnit={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property float HorizontalPixelsPerUnit={ read=GetSingleProp, write=SetSingleProp, stored=false, index=16 };
  __property float VerticalPixelsPerUnit={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property Activex::TOleEnum ColorSystem={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=18 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=19 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=21 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=22 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=23 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=24 };
  __property float ZoomX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=25 };
  __property float ZoomY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=26 };
  __property float OriginX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=27 };
  __property float OriginY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=28 };
  __property int hWnd={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515 };
  __property int hDC={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=29 };
  __property int RowPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=30 };
  __property int ColPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=31 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=33 };
  __property bool EnableContextualMenu={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=34 };
  __property short OverlayMode={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=35 };
  __property bool EnableScrollBars={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=36 };
  __property Graphics::TColor TextColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=37 };
  __property bool TextBold={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=38 };
  __property bool TextItalic={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=39 };
  __property bool TextStrikeout={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=40 };
  __property bool TextUnderline={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=41 };
  __property Graphics::TColor TextBackColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=42 };
  __property short TextAlignV={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=43 };
  __property short TextAlignH={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=44 };
  __property bool TextTransparent={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=45 };
  __property Graphics::TFont * TextFont={ read=GetTFontProp, write=SetTFontProp, stored=false, index=46 };
  __property System::Currency TextSize={ read=GetCurrencyProp, write=SetCurrencyProp, stored=false, index=47 };
  __property Activex::TOleEnum CursorMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=48 };

  // OCX Events
  //
  __property TNotifyEvent OnRefreshed={ read=FOnRefreshed, write=FOnRefreshed };
};
typedef TEC24Image  TEC24ImageProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW8ROI
// Help String      : EBW8ROI Control
// Default Interface: _DEBW8ROI
// Def. Intf. Object: _DEBW8ROIDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW8ROIEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW8ROI Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW8ROI : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //
  TNotifyEvent                   FOnRefreshed;

  // Default Interace of OCX
  //
  _DEBW8ROIDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_ParentImage();
  void __fastcall Set_ParentImage(LPDISPATCH param);
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          EventDispIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW8ROIDisp __fastcall GetDefaultInterface();
  _DEBW8ROIDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW8ROI(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW8ROI(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall Detach(void);
  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);
  void            __fastcall DrawFrame(Evision_tlb::enumFramePosition FramePosition, 
                                       TOLEBOOL DrawHandles);
  void            __fastcall DrawToDC(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch ParentImage={ read=GetIDispatchProp, write=SetIDispatchProp, index=8 };
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=20 };
  __property _DEBW8ROIDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property System::WideString Title={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=1 };
  __property int ROIOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property int ROIWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int ROIHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int ROIOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int TotalOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int TotalOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int TotalWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int TotalHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property Activex::TOleEnum ColorSystem={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=11 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=12 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=14 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=16 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=17 };
  __property int RowPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18 };
  __property int ColPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=21 };

  // OCX Events
  //
  __property TNotifyEvent OnRefreshed={ read=FOnRefreshed, write=FOnRefreshed };
};
typedef TEBW8ROI  TEBW8ROIProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW16ROI
// Help String      : EBW16ROI Control
// Default Interface: _DEBW16ROI
// Def. Intf. Object: _DEBW16ROIDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW16ROIEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW16ROI Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW16ROI : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEBW16ROIDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_ParentImage();
  void __fastcall Set_ParentImage(LPDISPATCH param);
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW16ROIDisp __fastcall GetDefaultInterface();
  _DEBW16ROIDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW16ROI(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW16ROI(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall Detach(void);
  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(void);
  Evision_tlb::enumFileFormats __fastcall Load(BSTR FileName);
  void            __fastcall Save(BSTR FileName, Evision_tlb::enumFileFormats FileFormat);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch ParentImage={ read=GetIDispatchProp, write=SetIDispatchProp, index=8 };
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=14 };
  __property _DEBW16ROIDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property System::WideString Title={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=1 };
  __property int ROIOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property int ROIWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int ROIHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int ROIOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int TotalOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int TotalOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int TotalWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int TotalHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property Activex::TOleEnum ColorSystem={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=11 };
  __property int RowPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property int ColPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=15 };

  // OCX Events
  //
};
typedef TEBW16ROI  TEBW16ROIProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEC24ROI
// Help String      : EC24ROI Control
// Default Interface: _DEC24ROI
// Def. Intf. Object: _DEC24ROIDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEC24ROIEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EC24ROI Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEC24ROI : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //
  TNotifyEvent                   FOnRefreshed;

  // Default Interace of OCX
  //
  _DEC24ROIDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_ParentImage();
  void __fastcall Set_ParentImage(LPDISPATCH param);
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          EventDispIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEC24ROIDisp __fastcall GetDefaultInterface();
  _DEC24ROIDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEC24ROI(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEC24ROI(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  TOLEBOOL        __fastcall SameSize(LPDISPATCH SrcImage);
  void            __fastcall Detach(void);
  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);
  void            __fastcall DrawFrame(Evision_tlb::enumFramePosition FramePosition, 
                                       TOLEBOOL DrawHandles);
  void            __fastcall DrawToDC(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch ParentImage={ read=GetIDispatchProp, write=SetIDispatchProp, index=10 };
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=20 };
  __property _DEC24ROIDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property System::WideString Title={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=1 };
  __property int ROIOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property int ROIOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int ROIWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int ROIHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int TotalOrgX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int TotalOrgY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int TotalWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property int TotalHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property Activex::TOleEnum ColorSystem={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=11 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=12 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=14 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=16 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=17 };
  __property int RowPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18 };
  __property int ColPitch={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=21 };

  // OCX Events
  //
  __property TNotifyEvent OnRefreshed={ read=FOnRefreshed, write=FOnRefreshed };
};
typedef TEC24ROI  TEC24ROIProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW8Vector
// Help String      : EBW8Vector Control
// Default Interface: _DEBW8Vector
// Def. Intf. Object: _DEBW8VectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW8VectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW8Vector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW8Vector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEBW8VectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          TFontIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW8VectorDisp __fastcall GetDefaultInterface();
  _DEBW8VectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW8Vector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW8Vector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  void            __fastcall AddElement(short GrayValue);
  void            __fastcall GetAt(long Index, short* GrayValue);
  void            __fastcall SetAt(long Index, short GrayValue);
  void            __fastcall Refresh(void);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=11 };
  __property _DEBW8VectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property ParentFont;
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property Graphics::TFont * Font={ read=GetTFontProp, write=SetTFontProp, stored=false, index=-512 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=2 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=4 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=5 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=6 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=7 };
  __property float OriginX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property float OriginY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property int hWnd={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515 };
  __property int hDC={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };

  // OCX Events
  //
};
typedef TEBW8Vector  TEBW8VectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW16Vector
// Help String      : EBW16Vector Control
// Default Interface: _DEBW16Vector
// Def. Intf. Object: _DEBW16VectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW16VectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW16Vector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW16Vector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEBW16VectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          TFontIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW16VectorDisp __fastcall GetDefaultInterface();
  _DEBW16VectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW16Vector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW16Vector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  void            __fastcall AddElement(short GrayValue);
  void            __fastcall GetAt(long Index, short* GrayValue);
  void            __fastcall SetAt(long Index, short GrayValue);
  void            __fastcall Refresh(void);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=11 };
  __property _DEBW16VectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property ParentFont;
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property Graphics::TFont * Font={ read=GetTFontProp, write=SetTFontProp, stored=false, index=-512 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=2 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=4 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=5 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=6 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7 };
  __property float OriginX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property float OriginY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property int hWnd={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515 };
  __property int hDC={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };

  // OCX Events
  //
};
typedef TEBW16Vector  TEBW16VectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW32Vector
// Help String      : EBW32Vector Control
// Default Interface: _DEBW32Vector
// Def. Intf. Object: _DEBW32VectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW32VectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW32Vector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW32Vector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEBW32VectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          TFontIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW32VectorDisp __fastcall GetDefaultInterface();
  _DEBW32VectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW32Vector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW32Vector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  void            __fastcall AddElement(long GrayValue);
  void            __fastcall GetAt(long Index, long* GrayValue);
  void            __fastcall SetAt(long Index, long GrayValue);
  void            __fastcall Refresh(void);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=11 };
  __property _DEBW32VectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property ParentFont;
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property Graphics::TFont * Font={ read=GetTFontProp, write=SetTFontProp, stored=false, index=-512 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=2 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=4 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=5 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=6 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7 };
  __property float OriginX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property float OriginY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property int hWnd={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515 };
  __property int hDC={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };

  // OCX Events
  //
};
typedef TEBW32Vector  TEBW32VectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEC24Vector
// Help String      : EC24Vector Control
// Default Interface: _DEC24Vector
// Def. Intf. Object: _DEC24VectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEC24VectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EC24Vector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEC24Vector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEC24VectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEC24VectorDisp __fastcall GetDefaultInterface();
  _DEC24VectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEC24Vector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEC24Vector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  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);
  void            __fastcall Refresh(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=10 };
  __property _DEC24VectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=2 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=3 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=4 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property float OriginX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=7 };
  __property float OriginY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property int hWnd={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515 };
  __property int hDC={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11 };

  // OCX Events
  //
};
typedef TEC24Vector  TEC24VectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEPathVector
// Help String      : EPathVector Control
// Default Interface: _DEPathVector
// Def. Intf. Object: _DEPathVectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEPathVectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EPathVector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEPathVector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEPathVectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEPathVectorDisp __fastcall GetDefaultInterface();
  _DEPathVectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEPathVector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEPathVector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=6 };
  __property _DEPathVectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=2 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=4 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };

  // OCX Events
  //
};
typedef TEPathVector  TEPathVectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW8HistogramVector
// Help String      : EBW8HistogramVector Control
// Default Interface: _DEBW8HistogramVector
// Def. Intf. Object: _DEBW8HistogramVectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW8HistogramVectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW8HistogramVector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW8HistogramVector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEBW8HistogramVectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static int          TFontIDs[1];
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW8HistogramVectorDisp __fastcall GetDefaultInterface();
  _DEBW8HistogramVectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW8HistogramVector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW8HistogramVector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  void            __fastcall AddElement(long Value);
  void            __fastcall GetAt(long Index, long* Value);
  void            __fastcall SetAt(long Index, long Value);
  void            __fastcall Refresh(void);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=11 };
  __property _DEBW8HistogramVectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property ParentFont;
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property Graphics::TFont * Font={ read=GetTFontProp, write=SetTFontProp, stored=false, index=-512 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=2 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=4 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=5 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=6 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=7 };
  __property float OriginX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property float OriginY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property int hWnd={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515 };
  __property int hDC={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };

  // OCX Events
  //
};
typedef TEBW8HistogramVector  TEBW8HistogramVectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEBW8PathVector
// Help String      : EBW8PathVector Control
// Default Interface: _DEBW8PathVector
// Def. Intf. Object: _DEBW8PathVectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEBW8PathVectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EBW8PathVector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEBW8PathVector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEBW8PathVectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEBW8PathVectorDisp __fastcall GetDefaultInterface();
  _DEBW8PathVectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEBW8PathVector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEBW8PathVector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=6 };
  __property _DEBW8PathVectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=2 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=4 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };

  // OCX Events
  //
};
typedef TEBW8PathVector  TEBW8PathVectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEC24PathVector
// Help String      : EC24PathVector Control
// Default Interface: _DEC24PathVector
// Def. Intf. Object: _DEC24PathVectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEC24PathVectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EC24PathVector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEC24PathVector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEC24PathVectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEC24PathVectorDisp __fastcall GetDefaultInterface();
  _DEC24PathVectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEC24PathVector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEC24PathVector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=6 };
  __property _DEC24PathVectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=2 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=4 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };

  // OCX Events
  //
};
typedef TEC24PathVector  TEC24PathVectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEPeaksVector
// Help String      : EPeaksVector Control
// Default Interface: _DEPeaksVector
// Def. Intf. Object: _DEPeaksVectorDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEPeaksVectorEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EPeaksVector Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEPeaksVector : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEPeaksVectorDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEPeaksVectorDisp __fastcall GetDefaultInterface();
  _DEPeaksVectorDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEPeaksVector(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEPeaksVector(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Empty(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=2 };
  __property _DEPeaksVectorDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property int NumElements={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };

  // OCX Events
  //
};
typedef TEPeaksVector  TEPeaksVectorProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEKernel
// Help String      : EKernel Control
// Default Interface: _DEKernel
// Def. Intf. Object: _DEKernelDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEKernelEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EKernel Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEKernel : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEKernelDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEKernelDisp __fastcall GetDefaultInterface();
  _DEKernelDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEKernel(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEKernel(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall GetKernelData(long X, long Y, float* Data);
  void            __fastcall SetKernelData(long X, long Y, float Data);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=7 };
  __property _DEKernelDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property short SizeX={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=1 };
  __property short SizeY={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=2 };
  __property float Gain={ read=GetSingleProp, write=SetSingleProp, stored=false, index=3 };
  __property int Offset={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property Activex::TOleEnum Rectifier={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int OutsideValue={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };

  // OCX Events
  //
};
typedef TEKernel  TEKernelProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEColorLookup
// Help String      : EColorLookup Control
// Default Interface: _DEColorLookup
// Def. Intf. Object: _DEColorLookupDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEColorLookupEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EColorLookup Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEColorLookup : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEColorLookupDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEColorLookupDisp __fastcall GetDefaultInterface();
  _DEColorLookupDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEColorLookup(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEColorLookup(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=8 };
  __property _DEColorLookupDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property bool Interpolation={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=1 };
  __property int IndexBits={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property Activex::TOleEnum ColorSystemIn={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property Activex::TOleEnum ColorSystemOut={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=4 };
  __property Activex::TOleEnum RGBStandard={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property Activex::TOleEnum SrcQuantization={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=6 };
  __property Activex::TOleEnum DstQuantization={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=7 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };

  // OCX Events
  //
};
typedef TEColorLookup  TEColorLookupProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TECodedImage
// Help String      : ECodedImage Control
// Default Interface: _DECodedImage
// Def. Intf. Object: _DECodedImageDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DECodedImageEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host ECodedImage Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TECodedImage : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DECodedImageDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_LowImage();
  void __fastcall Set_LowImage(LPDISPATCH param);
  LPDISPATCH __fastcall Get_HighImage();
  void __fastcall Set_HighImage(LPDISPATCH param);
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DECodedImageDisp __fastcall GetDefaultInterface();
  _DECodedImageDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TECodedImage(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TECodedImage(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  void            __fastcall GoToLastRun(void);
  void            __fastcall GoToNextRun(void);
  void            __fastcall GoToPreviousRun(void);
  void            __fastcall GetRunData(long* OriginX, long* OriginY, long* Length, long* Class, 
                                        long* RunIndex, long* ObjectIndex);
  void            __fastcall RemoveAllRuns(void);
  void            __fastcall GoToFirstObject(void);
  void            __fastcall GoToLastObject(void);
  void            __fastcall GoToNextObject(void);
  void            __fastcall GoToPreviousObject(void);
  void            __fastcall GoToObjectByIndex(long ObjectIndex);
  void            __fastcall GetObjectData(long* Class, long* ObjectIndex, long* NumberOfRuns, 
                                           TOLEBOOL* IsSelected);
  long            __fastcall GetObjectIndex(void);
  void            __fastcall SelectObject(void);
  void            __fastcall UnselectObject(void);
  TOLEBOOL        __fastcall IsObjectSelected(void);
  void            __fastcall SelectAllObjects(void);
  void            __fastcall UnselectAllObjects(void);
  void            __fastcall RemoveAllObjects(void);
  void            __fastcall GoToFirstObjectRun(void);
  void            __fastcall GoToLastObjectRun(void);
  void            __fastcall GoToNextObjectRun(void);
  void            __fastcall GoToPreviousObjectRun(void);
  long            __fastcall GetNumberOfObjectRuns(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch LowImage={ read=GetIDispatchProp, write=SetIDispatchProp, index=6 };
  __property _di_IDispatch HighImage={ read=GetIDispatchProp, write=SetIDispatchProp, index=7 };
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=15 };
  __property _DECodedImageDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property short WhiteClass={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=1 };
  __property short NeutralClass={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=2 };
  __property short BlackClass={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=3 };
  __property int LowThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int HighThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int NumberOfRuns={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property int NumberOfObjects={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int NumberOfSelectedObjects={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=11 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=12 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=13 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=14 };
  __property Activex::TOleEnum Connexity={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=16 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17 };
  __property short Threshold={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18 };
  __property float LimitAngle={ read=GetSingleProp, write=SetSingleProp, stored=false, index=19 };

  // OCX Events
  //
};
typedef TECodedImage  TECodedImageProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEMatch
// Help String      : EMatch Control
// Default Interface: _DEMatch
// Def. Intf. Object: _DEMatchDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEMatchEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EMatch Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEMatch : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEMatchDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEMatchDisp __fastcall GetDefaultInterface();
  _DEMatchDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEMatch(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEMatch(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=24 };
  __property _DEMatchDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property int MinReducedArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property int DontCareThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property Activex::TOleEnum CorrelationMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property int MaxPositions={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int MaxInitialPositions={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property float MinScore={ read=GetSingleProp, write=SetSingleProp, stored=false, index=6 };
  __property float MinAngle={ read=GetSingleProp, write=SetSingleProp, stored=false, index=7 };
  __property float MaxAngle={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property float MinScale={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property float MaxScale={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property float MinScaleX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property float MaxScaleX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=12 };
  __property float MinScaleY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=13 };
  __property float MaxScaleY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=14 };
  __property bool Interpolate={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=15 };
  __property int FinalReduction={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=16 };
  __property float PixelWidth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property float PixelHeight={ read=GetSingleProp, write=SetSingleProp, stored=false, index=18 };
  __property int NumPositions={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=20 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=21 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=22 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=23 };
  __property int NumReductions={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=25 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=26 };
  __property Activex::TOleEnum ContrastMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=27 };

  // OCX Events
  //
};
typedef TEMatch  TEMatchProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEPointMeasure
// Help String      : EPointMeasure Control
// Default Interface: _DEPointMeasure
// Def. Intf. Object: _DEPointMeasureDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEPointMeasureEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EPointMeasure Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEPointMeasure : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEPointMeasureDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEPointMeasureDisp __fastcall GetDefaultInterface();
  _DEPointMeasureDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEPointMeasure(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEPointMeasure(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=24 };
  __property _DEPointMeasureDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property Activex::TOleEnum TransitionType={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property int ProjectionThickness={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property Activex::TOleEnum TransitionSmoothing={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property int DerivativeThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property Activex::TOleEnum TransitionChoice={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int TransitionHysteresis={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int TransitionMinGreyStep={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int TransitionNumber={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property float MeasuredX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property float MeasuredY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property Activex::TOleEnum InverseTransition={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=11 };
  __property Activex::TOleEnum ToleranceVertically={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=12 };
  __property float PositionX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=13 };
  __property float PositionY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=14 };
  __property float HVTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=15 };
  __property float Slope={ read=GetSingleProp, write=SetSingleProp, stored=false, index=16 };
  __property int MeasuredGrayStep={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=18 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=19 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=20 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=21 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=22 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=23 };
  __property float PixelWidth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=25 };
  __property float PixelHeight={ read=GetSingleProp, write=SetSingleProp, stored=false, index=26 };
  __property Activex::TOleEnum PixelUnit={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=27 };
  __property float Angle={ read=GetSingleProp, write=SetSingleProp, stored=false, index=28 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=29 };

  // OCX Events
  //
};
typedef TEPointMeasure  TEPointMeasureProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TELineMeasure
// Help String      : ELineMeasure Control
// Default Interface: _DELineMeasure
// Def. Intf. Object: _DELineMeasureDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DELineMeasureEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host ELineMeasure Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TELineMeasure : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DELineMeasureDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);
  float           __fastcall Get_PointX(short Indice);
  float           __fastcall Get_PointY(short Indice);
  TOLEBOOL        __fastcall Get_PointValid(short Indice);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DELineMeasureDisp __fastcall GetDefaultInterface();
  _DELineMeasureDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TELineMeasure(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TELineMeasure(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=30 };
  __property float PointX[short Indice]={ read=Get_PointX };
  __property float PointY[short Indice]={ read=Get_PointY };
  __property TOLEBOOL PointValid[short Indice]={ read=Get_PointValid };
  __property _DELineMeasureDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property Activex::TOleEnum TransitionType={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property int ProjectionThickness={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property Activex::TOleEnum TransitionSmoothing={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property int DerivativeThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property Activex::TOleEnum TransitionChoice={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int TransitionHysteresis={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int TransitionMinGreyStep={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int TransitionNumber={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property float MeasuredX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property float MeasuredY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property float SamplingStep={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property float FilteringCount={ read=GetSingleProp, write=SetSingleProp, stored=false, index=12 };
  __property int PointCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13 };
  __property int PointValidCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=14 };
  __property float OutlineTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=15 };
  __property float FilteringThreshold={ read=GetSingleProp, write=SetSingleProp, stored=false, index=16 };
  __property float NominalX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property float NominalY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=18 };
  __property Activex::TOleEnum FixedSlope={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=19 };
  __property Activex::TOleEnum BaseVertically={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=20 };
  __property float NominalSlope={ read=GetSingleProp, write=SetSingleProp, stored=false, index=21 };
  __property float BaseSize={ read=GetSingleProp, write=SetSingleProp, stored=false, index=22 };
  __property float MeasuredSlope={ read=GetSingleProp, write=SetSingleProp, stored=false, index=23 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=24 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=25 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=26 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=27 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=28 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=29 };
  __property float MeasuredDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=31 };
  __property float PixelWidth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=32 };
  __property float PixelHeight={ read=GetSingleProp, write=SetSingleProp, stored=false, index=33 };
  __property Activex::TOleEnum PixelUnit={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=34 };
  __property float BaseAngle={ read=GetSingleProp, write=SetSingleProp, stored=false, index=35 };
  __property float MeasuredAngle={ read=GetSingleProp, write=SetSingleProp, stored=false, index=36 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=37 };
  __property int NumPoints={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=38 };
  __property int NumValidPoints={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=39 };

  // OCX Events
  //
};
typedef TELineMeasure  TELineMeasureProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TECircleMeasure
// Help String      : ECircleMeasure Control
// Default Interface: _DECircleMeasure
// Def. Intf. Object: _DECircleMeasureDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DECircleMeasureEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host ECircleMeasure Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TECircleMeasure : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DECircleMeasureDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);
  float           __fastcall Get_PointX(short Indice);
  float           __fastcall Get_PointY(short Indice);
  TOLEBOOL        __fastcall Get_PointValid(short Indice);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DECircleMeasureDisp __fastcall GetDefaultInterface();
  _DECircleMeasureDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TECircleMeasure(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TECircleMeasure(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=35 };
  __property float PointX[short Indice]={ read=Get_PointX };
  __property float PointY[short Indice]={ read=Get_PointY };
  __property TOLEBOOL PointValid[short Indice]={ read=Get_PointValid };
  __property _DECircleMeasureDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property Activex::TOleEnum TransitionType={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property int ProjectionThickness={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property Activex::TOleEnum TransitionSmoothing={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property int DerivativeThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property Activex::TOleEnum TransitionChoice={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property int TransitionHysteresis={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int TransitionMinGreyStep={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int TransitionNumber={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property float MeasuredX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property float MeasuredY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property float SamplingStep={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property float FilteringCount={ read=GetSingleProp, write=SetSingleProp, stored=false, index=12 };
  __property int PointCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13 };
  __property int PointValidCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=14 };
  __property float OutlineTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=15 };
  __property float FilteringThreshold={ read=GetSingleProp, write=SetSingleProp, stored=false, index=16 };
  __property float NominalX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property float NominalY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=18 };
  __property Activex::TOleEnum Centering={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=19 };
  __property Activex::TOleEnum Isotropic={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=20 };
  __property int IterationCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=21 };
  __property int NormalPoint={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=22 };
  __property Activex::TOleEnum AutomaticStop={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=23 };
  __property float NominalRadius={ read=GetSingleProp, write=SetSingleProp, stored=false, index=24 };
  __property float SectorAxe={ read=GetSingleProp, write=SetSingleProp, stored=false, index=25 };
  __property float SectorExcursion={ read=GetSingleProp, write=SetSingleProp, stored=false, index=26 };
  __property float MaxDisplacement={ read=GetSingleProp, write=SetSingleProp, stored=false, index=27 };
  __property float MeasuredRadius={ read=GetSingleProp, write=SetSingleProp, stored=false, index=28 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=29 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=31 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=32 };
  __property Graphics::TColor FillColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=33 };
  __property Activex::TOleEnum FillStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=34 };
  __property float MeasuredDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=36 };
  __property float PixelWidth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=37 };
  __property float PixelHeight={ read=GetSingleProp, write=SetSingleProp, stored=false, index=38 };
  __property Activex::TOleEnum PixelUnit={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=39 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=40 };
  __property int NumPoints={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=41 };
  __property int NumValidPoints={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=42 };

  // OCX Events
  //
};
typedef TECircleMeasure  TECircleMeasureProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEOCR
// Help String      : EOCR Control
// Default Interface: _DEOCR
// Def. Intf. Object: _DEOCRDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEOCREvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EOCR Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEOCR : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEOCRDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEOCRDisp __fastcall GetDefaultInterface();
  _DEOCRDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEOCR(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEOCR(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  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(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=16 };
  __property _DEOCRDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property Activex::TOleEnum TextColor={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property Activex::TOleEnum Threshold={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=2 };
  __property int MinCharWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int MaxCharWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property int MinCharHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int MaxCharHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int CharSpacing={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int NoiseArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property Activex::TOleEnum SegmentationMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=9 };
  __property int NumChars={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int NumPatterns={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=12 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=13 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=14 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property int PatternWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17 };
  __property int PatternHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18 };
  __property bool CutLargeCharacters={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=19 };
  __property bool CompareAspectRatio={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=20 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=21 };
  __property bool RemoveNarrowOrFlat={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=22 };
  __property bool RemoveBorder={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=23 };
  __property float RelativeSpacing={ read=GetSingleProp, write=SetSingleProp, stored=false, index=24 };
  __property float AverageFirstCharDistance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=25 };
  __property int ShiftToleranceX={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=26 };
  __property Activex::TOleEnum MatchingMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=27 };
  __property Activex::TOleEnum ShiftingMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=28 };
  __property int ShiftToleranceY={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=29 };

  // OCX Events
  //
};
typedef TEOCR  TEOCRProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEOCV
// Help String      : EOCV Control
// Default Interface: _DEOCV
// Def. Intf. Object: _DEOCVDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEOCVEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EOCV Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEOCV : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEOCVDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);
  long            __fastcall Get_NumTextChars(long TextIndex);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEOCVDisp __fastcall GetDefaultInterface();
  _DEOCVDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEOCV(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEOCV(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  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);
  void            __fastcall UpdateStatistics(void);
  void            __fastcall ComputeDefaultTolerances(LPDISPATCH BW8Image, long Threshold);
  float           __fastcall GetSampleContrast(void);
  float           __fastcall GetContrastAverage(void);
  float           __fastcall GetContrastDeviation(void);
  void            __fastcall SetContrastTolerance(float fNewValue);
  float           __fastcall GetConstrastTolerance(void);
  float           __fastcall GetTemplateContrast(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=24 };
  __property long NumTextChars[long TextIndex]={ read=Get_NumTextChars };
  __property _DEOCVDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=1 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=2 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=3 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=4 };
  __property bool QualityArea={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=5 };
  __property bool QualityCorrelation={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=6 };
  __property bool QualityLocation={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=7 };
  __property bool QualitySum={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=8 };
  __property Activex::TOleEnum LocationMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=9 };
  __property short SampleThreshold={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=10 };
  __property float SampleBackground={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property float SampleForeground={ read=GetSingleProp, write=SetSingleProp, stored=false, index=12 };
  __property int NumTexts={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13 };
  __property bool ResampleChars={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=14 };
  __property Activex::TOleEnum DiagnosticCharNotFound={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property Activex::TOleEnum DiagnosticTextNotFound={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=16 };
  __property Activex::TOleEnum DiagnosticCharOverprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=17 };
  __property Activex::TOleEnum DiagnosticTextOverprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=18 };
  __property Activex::TOleEnum DiagnosticCharUnderprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=19 };
  __property Activex::TOleEnum DiagnosticTextUnderprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=20 };
  __property Activex::TOleEnum DiagnosticCharMismatch={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=21 };
  __property Activex::TOleEnum DiagnosticTextMismatch={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=22 };
  __property int StatisticsCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=23 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=25 };
  __property bool QualityContrast={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=26 };
  __property Activex::TOleEnum DiagnosticBadContrast={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=27 };
  __property bool ReduceLocationScore={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=28 };
  __property bool NormalizeLocationScore={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=29 };
  __property bool AccurateTextLocation={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=30 };
  __property short TemplateThreshold={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=31 };
  __property float TemplateBackground={ read=GetSingleProp, write=SetSingleProp, stored=false, index=32 };
  __property float TemplateForeground={ read=GetSingleProp, write=SetSingleProp, stored=false, index=33 };

  // OCX Events
  //
};
typedef TEOCV  TEOCVProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEOCVChar
// Help String      : EOCVChar Control
// Default Interface: _DEOCVChar
// Def. Intf. Object: _DEOCVCharDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEOCVCharEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EOCVChar Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEOCVChar : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEOCVCharDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEOCVCharDisp __fastcall GetDefaultInterface();
  _DEOCVCharDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEOCVChar(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEOCVChar(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall ResetParameters(void);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=50 };
  __property _DEOCVCharDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property int NumContourPoints={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property float TemplateLocationScore={ read=GetSingleProp, write=SetSingleProp, stored=false, index=2 };
  __property float SampleLocationScore={ read=GetSingleProp, write=SetSingleProp, stored=false, index=3 };
  __property float LocationScoreTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=4 };
  __property float ShiftX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=5 };
  __property float ShiftXBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=6 };
  __property float ShiftXTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=7 };
  __property int ShiftXStride={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property float ShiftY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property float ShiftYBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property float ShiftYTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property int ShiftYStride={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property Activex::TOleEnum DiagnosticCharNotFound={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=13 };
  __property Activex::TOleEnum DiagnosticCharOverprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=14 };
  __property Activex::TOleEnum DiagnosticCharUnderprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property Activex::TOleEnum DiagnosticCharMismatch={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=16 };
  __property int TemplateForegroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17 };
  __property int SampleForegroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18 };
  __property int ForegroundAreaTolerance={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19 };
  __property int TemplateBackgroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20 };
  __property int SampleBackgroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=21 };
  __property int BackgroundAreaTolerance={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=22 };
  __property float TemplateForegroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=23 };
  __property float SampleForegroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=24 };
  __property float ForegroundSumTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=25 };
  __property float TemplateBackgroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=26 };
  __property float SampleBackgroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=27 };
  __property float BackgroundSumTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=28 };
  __property float Correlation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=29 };
  __property float CorrelationTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=30 };
  __property int MarginWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=31 };
  __property float LocationScoreAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=32 };
  __property float LocationScoreDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=33 };
  __property float ShiftXAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=34 };
  __property float ShiftXDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=35 };
  __property float ShiftYAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=36 };
  __property float ShiftYDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=37 };
  __property float ForegroundAreaAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=38 };
  __property float ForegroundAreaDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=39 };
  __property float BackgroundAreaAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=40 };
  __property float BackgroundAreaDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=41 };
  __property float ForegroundSumAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=42 };
  __property float ForegroundSumDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=43 };
  __property float BackgroundSumAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=44 };
  __property float BackgroundSumDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=45 };
  __property float CorrelationAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=46 };
  __property float CorrelationDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=47 };
  __property Activex::TOleEnum Selected={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=48 };
  __property Activex::TOleEnum WhiteOnBlack={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=49 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=51 };
  __property float ShiftXMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=52 };
  __property float ShiftXMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=53 };
  __property float ShiftYMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=54 };
  __property float ShiftYMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=55 };
  __property int LearntTemplateForegroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=56 };
  __property int LearntTemplateBackgroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=57 };

  // OCX Events
  //
};
typedef TEOCVChar  TEOCVCharProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEOCVText
// Help String      : EOCVText Control
// Default Interface: _DEOCVText
// Def. Intf. Object: _DEOCVTextDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEOCVTextEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EOCVText Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEOCVText : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEOCVTextDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEOCVTextDisp __fastcall GetDefaultInterface();
  _DEOCVTextDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEOCVText(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEOCVText(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall ResetParameters(void);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=72 };
  __property _DEOCVTextDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property int NumContourPoints={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=1 };
  __property float TemplateLocationScore={ read=GetSingleProp, write=SetSingleProp, stored=false, index=2 };
  __property float SampleLocationScore={ read=GetSingleProp, write=SetSingleProp, stored=false, index=3 };
  __property float LocationScoreTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=4 };
  __property float ShiftX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=5 };
  __property float ShiftXBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=6 };
  __property float ShiftXTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=7 };
  __property int ShiftXStride={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property float ShiftY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=9 };
  __property float ShiftYBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property float ShiftYTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property int ShiftYStride={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property float Skew={ read=GetSingleProp, write=SetSingleProp, stored=false, index=13 };
  __property float SkewBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=14 };
  __property float SkewTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=15 };
  __property int SkewCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=16 };
  __property float ScaleX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property float ScaleXBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=18 };
  __property float ScaleXTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=19 };
  __property int ScaleXCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20 };
  __property float ScaleY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=21 };
  __property float ScaleYBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=22 };
  __property float ScaleYTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=23 };
  __property int ScaleYCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=24 };
  __property float Shear={ read=GetSingleProp, write=SetSingleProp, stored=false, index=25 };
  __property float ShearBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=26 };
  __property float ShearTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=27 };
  __property int ShearCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=28 };
  __property Activex::TOleEnum DiagnosticTextNotFound={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=29 };
  __property Activex::TOleEnum DiagnosticTextOverprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=30 };
  __property Activex::TOleEnum DiagnosticTextUnderprinting={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=31 };
  __property Activex::TOleEnum DiagnosticTextMismatch={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=32 };
  __property int TemplateForegroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=33 };
  __property int SampleForegroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=34 };
  __property int ForegroundAreaTolerance={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=35 };
  __property int TemplateBackgroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=36 };
  __property int SampleBackgroundArea={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=37 };
  __property int BackgroundAreaTolerance={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=38 };
  __property float TemplateForegroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=39 };
  __property float SampleForegroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=40 };
  __property float ForegroundSumTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=41 };
  __property float TemplateBackgroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=42 };
  __property float SampleBackgroundSum={ read=GetSingleProp, write=SetSingleProp, stored=false, index=43 };
  __property float BackgroundSumTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=44 };
  __property float Correlation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=45 };
  __property float CorrelationTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=46 };
  __property float LocationScoreAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=47 };
  __property float LocationScoreDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=48 };
  __property float ShiftXAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=49 };
  __property float ShiftXDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=50 };
  __property float ShiftYAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=51 };
  __property float ShiftYDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=52 };
  __property float ShearAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=53 };
  __property float ShearDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=54 };
  __property float SkewAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=55 };
  __property float SkewDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=56 };
  __property float ScaleXAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=57 };
  __property float ScaleXDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=58 };
  __property float ScaleYAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=59 };
  __property float ScaleYDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=60 };
  __property float ForegroundAreaAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=61 };
  __property float ForegroundAreaDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=62 };
  __property float BackgroundAreaAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=63 };
  __property float BackgroundAreaDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=64 };
  __property float ForegroundSumAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=65 };
  __property float ForegroundSumDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=66 };
  __property float BackgroundSumAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=67 };
  __property float BackgroundSumDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=68 };
  __property float CorrelationAverage={ read=GetSingleProp, write=SetSingleProp, stored=false, index=69 };
  __property float CorrelationDeviation={ read=GetSingleProp, write=SetSingleProp, stored=false, index=70 };
  __property Activex::TOleEnum Selected={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=71 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=73 };
  __property float ShiftXMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=74 };
  __property float ShiftXMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=75 };
  __property float ShiftYMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=76 };
  __property float ShiftYMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=77 };
  __property bool IsotropicScaling={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=78 };
  __property float ShearMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=79 };
  __property float ShearMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=80 };
  __property float SkewMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=81 };
  __property float SkewMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=82 };
  __property float ScaleXMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=83 };
  __property float ScaleXMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=84 };
  __property float ScaleYMin={ read=GetSingleProp, write=SetSingleProp, stored=false, index=85 };
  __property float ScaleYMax={ read=GetSingleProp, write=SetSingleProp, stored=false, index=86 };

  // OCX Events
  //
};
typedef TEOCVText  TEOCVTextProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEasyMain
// Help String      : EasyMain Control
// Default Interface: _DEasyMain
// Def. Intf. Object: _DEasyMainDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEasyMainEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EasyMain Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEasyMain : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEasyMainDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEasyMainDisp __fastcall GetDefaultInterface();
  _DEasyMainDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEasyMain(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEasyMain(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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(void);
  long            __fastcall StopTiming(void);
  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);
  void            __fastcall AddCalibrationPointPair(float WorldX, float WorldY, float ImageX, 
                                                     float ImageY);
  void            __fastcall SetupLinearCalibration(void);
  void            __fastcall SetupPerspectiveCalibration(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=7 };
  __property _DEasyMainDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property Activex::TOleEnum TraceMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property System::WideString Version={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=2 };
  __property short Error={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=3 };
  __property System::WideString ErrorText={ read=GetWideStringProp, write=SetWideStringProp, stored=false, index=4 };
  __property int JpegQuality={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int TiffThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property Activex::TOleEnum AngleUnit={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=8 };
  __property bool MMX={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=9 };
  __property int TrueTimingResolution={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property bool EnableExceptions={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=11 };

  // OCX Events
  //
};
typedef TEasyMain  TEasyMainProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEMovingAverage
// Help String      : EMovingAverage Control
// Default Interface: _DEMovingAverage
// Def. Intf. Object: _DEMovingAverageDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEMovingAverageEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EMovingAverage Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEMovingAverage : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEMovingAverageDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_Obj();
  void __fastcall Set_Obj(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEMovingAverageDisp __fastcall GetDefaultInterface();
  _DEMovingAverageDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEMovingAverage(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEMovingAverage(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _di_IDispatch Obj={ read=GetIDispatchProp, write=SetIDispatchProp, index=1 };
  __property _DEMovingAverageDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property int SourcePointer={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property int EmbeddedObject={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };

  // OCX Events
  //
};
typedef TEMovingAverage  TEMovingAverageProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEMatrixCode
// Help String      : EMatrixCode Control
// Default Interface: _DEMatrixCode
// Def. Intf. Object: _DEMatrixCodeDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEMatrixCodeEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EMatrixCode Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEMatrixCode : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEMatrixCodeDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //
  LPDISPATCH __fastcall Get_SourceImage();
  void __fastcall Set_SourceImage(LPDISPATCH param);

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEMatrixCodeDisp __fastcall GetDefaultInterface();
  _DEMatrixCodeDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEMatrixCode(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEMatrixCode(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Load(BSTR PathName);
  void            __fastcall SetCellPitch(float PitchX, float PitchY);
  void            __fastcall ResetCorners(void);
  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(void);

  // OCX properties
  //
  __property _di_IDispatch SourceImage={ read=GetIDispatchProp, write=SetIDispatchProp, index=18 };
  __property _DEMatrixCodeDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property Activex::TOleEnum EccFamily={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property Activex::TOleEnum SymbolSize={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=2 };
  __property int SymbolWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=3 };
  __property int SymbolHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4 };
  __property Activex::TOleEnum Contrast={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=5 };
  __property float ScaleTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=6 };
  __property float ScaleBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=7 };
  __property float ScaleStep={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property int ScaleCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property float SkewTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property float SkewBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property float SkewStep={ read=GetSingleProp, write=SetSingleProp, stored=false, index=12 };
  __property int SkewCount={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13 };
  __property int ReadingThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=14 };
  __property Activex::TOleEnum ReadingThresholdMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=15 };
  __property int NumErrors={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=16 };
  __property float CellFilling={ read=GetSingleProp, write=SetSingleProp, stored=false, index=17 };
  __property Activex::TOleEnum LocationThresholdMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=19 };
  __property int LocationThreshold={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=21 };
  __property Activex::TOleEnum DrawStyle={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=22 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23 };
  __property Activex::TOleEnum DrawMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=24 };
  __property bool ImproveConnexity={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=25 };
  __property bool CheckPrintQuality={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=26 };
  __property float SymbolContrast={ read=GetSingleProp, write=SetSingleProp, stored=false, index=27 };
  __property float PrintGrowth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=28 };
  __property float AxialNonuniformity={ read=GetSingleProp, write=SetSingleProp, stored=false, index=29 };
  __property float UnusedErrorCorrection={ read=GetSingleProp, write=SetSingleProp, stored=false, index=30 };
  __property float MinimumPrintGrowth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=31 };
  __property float NominalPrintGrowth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=32 };
  __property float MaximumPrintGrowth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=33 };
  __property float MeasuredPrintGrowth={ read=GetSingleProp, write=SetSingleProp, stored=false, index=34 };
  __property int SymbolContrastGrade={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=35 };
  __property int PrintGrowthGrade={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=36 };
  __property int AxialNonuniformityGrade={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=37 };
  __property int OverallGrade={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=38 };
  __property int UnusedErrorCorrectionGrade={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=39 };
  __property Activex::TOleEnum SymbolFlipping={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=40 };

  // OCX Events
  //
};
typedef TEMatrixCode  TEMatrixCodeProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEImageSequence
// Help String      : EImageSequence Control
// Default Interface: _DEImageSequence
// Def. Intf. Object: _DEImageSequenceDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEImageSequenceEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EImageSequence Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEImageSequence : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEImageSequenceDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEImageSequenceDisp __fastcall GetDefaultInterface();
  _DEImageSequenceDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEImageSequence(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEImageSequence(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  void            __fastcall Seek(long lngDelta);
  void            __fastcall AddImage(LPDISPATCH SrcImage);
  void            __fastcall GetImage(LPDISPATCH DstImage);
  void            __fastcall CloseFile(void);
  void            __fastcall StartLoading(BSTR pszFileName);
  void            __fastcall StartSaving(BSTR pszFileName, long hwndDialogParent);
  void            __fastcall AddImageData(short* pImgData);
  void            __fastcall AboutBox(void);

  // OCX properties
  //
  __property _DEImageSequenceDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //
  __property TabStop;
  __property Align;
  __property DragCursor;
  __property DragMode;
  __property ParentShowHint;
  __property PopupMenu;
  __property ShowHint;
  __property TabOrder;
  __property Visible;
  __property OnDragDrop;
  __property OnDragOver;
  __property OnEndDrag;
  __property OnEnter;
  __property OnExit;
  __property OnStartDrag;

  // OCX properties
  //
  __property Activex::TOleEnum ImageType={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=1 };
  __property int Count={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=2 };
  __property Activex::TOleEnum State={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=3 };
  __property bool FlipImage={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=4 };
  __property int CodecFourcc={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5 };
  __property int NumRate={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=6 };
  __property int DenomRate={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property int DataRate={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=8 };
  __property int KeyFrameRate={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property int CompressionQuality={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10 };
  __property int Position={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11 };
  __property int ImageWidth={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12 };
  __property int ImageHeight={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13 };

  // OCX Events
  //
};
typedef TEImageSequence  TEImageSequenceProxy;


// *********************************************************************//
// COM Component Proxy Class Declaration
// Component Name   : TEFind
// Help String      : EFind Control
// Default Interface: _DEFind
// Def. Intf. Object: _DEFindDisp
// Def. Intf. DISP? : Yes
// Event   Interface: _DEFindEvents
// TypeFlags        : (34) CanCreate Control
// *********************************************************************//

// *********************************************************************//
// Definition of closures to allow VCL handlers to catch OCX events.      
// *********************************************************************//
//+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
// Proxy class to host EFind Control in CBuilder IDE/Applications.
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
class PACKAGE TEFind : public TOleControl
{
  OVERLOADED_PROP_METHODS;
  static TNoParam  OptParam;
  static GUID      DEF_CTL_INTF;

  // Instance of Closures to expose OCX Events as VCL ones
  //

  // Default Interace of OCX
  //
  _DEFindDisp m_OCXIntf;

  // VCL Property Getters/Setters which delegate to OCX
  //

  // Static variables used by all instances of OCX proxy
  //
  static TControlData CControlData;
  static GUID         CTL_DEF_INTF;

  // Method providing access to interface as __property 
  //
  _DEFindDisp __fastcall GetDefaultInterface();
  _DEFindDisp __fastcall GetControlInterface()
  { return GetDefaultInterface(); }

protected:
  void     __fastcall CreateControl  ();
  void     __fastcall InitControlData();

public:
  virtual  __fastcall TEFind(TComponent* AOwner) : TOleControl(AOwner)
  {};
  virtual  __fastcall TEFind(HWND        Parent) : TOleControl(Parent)
  {};

  // OCX methods
  //
  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(void);

  // OCX properties
  //
  __property _DEFindDisp ControlInterface={ read=GetDefaultInterface };

  // Published properties
  //
__published:

  // Standard/Extended properties
  //

  // OCX properties
  //
  __property float Angle={ read=GetSingleProp, write=SetSingleProp, stored=false, index=1 };
  __property float AngleBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=2 };
  __property float AngleTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=3 };
  __property float CenterX={ read=GetSingleProp, write=SetSingleProp, stored=false, index=4 };
  __property float CenterY={ read=GetSingleProp, write=SetSingleProp, stored=false, index=5 };
  __property bool Interpolate={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=6 };
  __property int MaxInstances={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=7 };
  __property float MinScore={ read=GetSingleProp, write=SetSingleProp, stored=false, index=8 };
  __property int NumInstances={ read=GetIntegerProp, write=SetIntegerProp, stored=false, index=9 };
  __property float Scale={ read=GetSingleProp, write=SetSingleProp, stored=false, index=10 };
  __property float ScaleBias={ read=GetSingleProp, write=SetSingleProp, stored=false, index=11 };
  __property float ScaleTolerance={ read=GetSingleProp, write=SetSingleProp, stored=false, index=12 };
  __property float Score={ read=GetSingleProp, write=SetSingleProp, stored=false, index=13 };
  __property bool Learnt={ read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=14 };
  __property Graphics::TColor DrawColor={ read=GetTColorProp, write=SetTColorProp, stored=false, index=15 };
  __property short DrawStyle={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16 };
  __property short DrawWidth={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17 };
  __property short DrawMode={ read=GetSmallintProp, write=SetSmallintProp, stored=false, index=18 };
  __property Activex::TOleEnum ContrastMode={ read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=19 };

  // OCX Events
  //
};
typedef TEFind  TEFindProxy;

};     // namespace Evision_tlb

#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using  namespace Evision_tlb;
#endif

#pragma option pop

#endif // __eVision_OCX_h__
