#if !defined(AFX_SIGPLUS_H__6A1D9301_6725_4E44_8036_0068D60248E7__INCLUDED_)
#define AFX_SIGPLUS_H__6A1D9301_6725_4E44_8036_0068D60248E7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CSigPlus wrapper class

class CSigPlus : public CWnd
{
protected:
	DECLARE_DYNCREATE(CSigPlus)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x69a40da3, 0x4d42, 0x11d0, { 0x86, 0xb0, 0x0, 0x0, 0xc0, 0x25, 0x86, 0x4a } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	short GetImageFileFormat();
	void SetImageFileFormat(short);
	short GetImageXSize();
	void SetImageXSize(short);
	short GetImageYSize();
	void SetImageYSize(short);
	short GetImagePenWidth();
	void SetImagePenWidth(short);
	short GetTabletLogicalXSize();
	void SetTabletLogicalXSize(short);
	short GetTabletLogicalYSize();
	void SetTabletLogicalYSize(short);
	short GetTabletXStart();
	void SetTabletXStart(short);
	short GetTabletYStart();
	void SetTabletYStart(short);
	short GetTabletXStop();
	void SetTabletXStop(short);
	short GetTabletYStop();
	void SetTabletYStop(short);
	short GetTabletFilterPoints();
	void SetTabletFilterPoints(short);
	short GetTabletTimingAdvance();
	void SetTabletTimingAdvance(short);
	short GetTabletComPort();
	void SetTabletComPort(short);
	short GetDisplayPenWidth();
	void SetDisplayPenWidth(short);
	BOOL GetTabletLCDMode();
	void SetTabletLCDMode(BOOL);
	long GetTabletBaudRate();
	void SetTabletBaudRate(long);
	short GetSigCompressionMode();
	void SetSigCompressionMode(short);
	BOOL GetOpaqueMode();
	void SetOpaqueMode(BOOL);
	CString GetTimeStamp();
	void SetTimeStamp(LPCTSTR);
	CString GetAnnotate();
	void SetAnnotate(LPCTSTR);
	BOOL GetDisplayTimeStamp();
	void SetDisplayTimeStamp(BOOL);
	BOOL GetImageTimeStamp();
	void SetImageTimeStamp(BOOL);
	BOOL GetDisplayAnnotate();
	void SetDisplayAnnotate(BOOL);
	BOOL GetImageAnnotate();
	void SetImageAnnotate(BOOL);
	BOOL GetSaveSigInfo();
	void SetSaveSigInfo(BOOL);
	short GetDisplayMode();
	void SetDisplayMode(short);
	short GetEncryptionMode();
	void SetEncryptionMode(short);
	short GetTabletState();
	void SetTabletState(short);
	short GetTabletRotation();
	void SetTabletRotation(short);
	short GetJustifyX();
	void SetJustifyX(short);
	short GetJustifyY();
	void SetJustifyY(short);
	short GetJustifyMode();
	void SetJustifyMode(short);
	short GetZoomX();
	void SetZoomX(short);
	short GetZoomY();
	void SetZoomY(short);
	short GetZoomPower();
	void SetZoomPower(short);
	short GetTabletMode();
	void SetTabletMode(short);
	long GetDisplayTimeStampPosX();
	void SetDisplayTimeStampPosX(long);
	long GetDisplayTimeStampPosY();
	void SetDisplayTimeStampPosY(long);
	short GetDisplayTimeStampSize();
	void SetDisplayTimeStampSize(short);
	long GetImageTimeStampPosX();
	void SetImageTimeStampPosX(long);
	long GetImageTimeStampPosY();
	void SetImageTimeStampPosY(long);
	short GetImageTimeStampSize();
	void SetImageTimeStampSize(short);
	long GetDisplayAnnotatePosX();
	void SetDisplayAnnotatePosX(long);
	long GetDisplayAnnotatePosY();
	void SetDisplayAnnotatePosY(long);
	short GetDisplayAnnotateSize();
	void SetDisplayAnnotateSize(short);
	long GetImageAnnotatePosX();
	void SetImageAnnotatePosX(long);
	long GetImageAnnotatePosY();
	void SetImageAnnotatePosY(long);
	short GetImageAnnotateSize();
	void SetImageAnnotateSize(short);
	CString GetSigString();
	void SetSigString(LPCTSTR);
	short GetTabletType();
	void SetTabletType(short);
	BOOL GetTabletComTest();
	void SetTabletComTest(BOOL);
	BOOL GetTabletInvisible();
	void SetTabletInvisible(BOOL);
	BOOL GetTabletClippingMode();
	void SetTabletClippingMode(BOOL);
	BOOL GetDisplayWindowRes();
	void SetDisplayWindowRes(BOOL);
	BOOL GetDisplayRotate();
	void SetDisplayRotate(BOOL);
	BOOL GetDisplayRotateSave();
	void SetDisplayRotateSave(BOOL);
	CString GetKeyString();
	void SetKeyString(LPCTSTR);
	CString GetAutoKeyData();
	void SetAutoKeyData(LPCTSTR);
	BOOL GetAsciiDataMode();
	void SetAsciiDataMode(BOOL);
	long GetLCDCaptureMode();
	void SetLCDCaptureMode(long);
	long GetTabletResolution();
	void SetTabletResolution(long);
	CString GetTabletText();
	void SetTabletText(LPCTSTR);
	CString GetTabletTextFile();
	void SetTabletTextFile(LPCTSTR);
	CString GetTabletGraphic();
	void SetTabletGraphic(LPCTSTR);
	CString GetTabletGraphicFile();
	void SetTabletGraphicFile(LPCTSTR);
	long GetTabletTimer();
	void SetTabletTimer(long);
	OLE_COLOR GetBackColor();
	void SetBackColor(OLE_COLOR);
	OLE_COLOR GetForeColor();
	void SetForeColor(OLE_COLOR);

// Operations
public:
	void ClearTablet();
	BOOL ExportSigFile(LPCTSTR FileName);
	BOOL ImportSigFile(LPCTSTR FileName);
	short NumberOfTabletPoints();
	BOOL WriteImageFile(LPCTSTR FileName);
	short GetNumberOfStrokes();
	short GetNumPointsForStroke(short StrokeNumber);
	void HighlightStroke(short StrokeNumber);
	void HighlightPoint(short PointNumber);
	void SetDisplayTimeStampData(short X, short Y, short Size);
	void SetImageTimeStampData(short X, short Y, short Size);
	void SetDisplayAnnotateData(short X, short Y, short Size);
	void SetImageAnnotateData(short X, short Y, short Size);
	void AutoTimeStamp();
	void AddSerialByte(short SerialByte);
	short GetPointXValue(short StrokeIdx, short PointIdx);
	short GetPointYValue(short StrokeIdx, short PointIdx);
	void SetKey(BSTR* KeyData);
	void GetKey(BSTR* KeyData);
	void AutoKeyStart();
	void AutoKeyAddData(BSTR* Buffer);
	void AutoKeyFinish();
	long GetKeyReceipt();
	CString GetKeyReceiptAscii();
	long GetSigReceipt();
	CString GetSigReceiptAscii();
	CString GetTrackGemField(short Index);
	BOOL LoadTrackGemSig(LPCTSTR FileName, short Index);
	long GetOposTotalPoints();
	long GetOposPointArray(BSTR* PointArray);
	void GetSigData(BSTR* SigData);
	void SetSigData(BSTR* SigData);
	void LCDSetTabletMap(short LCDType, short LCDXSize, short LCDYSize, short LCDXStart, short LCDYStart, short LCDXStop, short LCDYStop);
	void SetSigWindow(short Coords, short XPos, short YPos, short XSize, short YSize);
	BOOL LCDSetWindow(short XPos, short YPos, short XSize, short YSize);
	BOOL LCDWriteFile(short Dest, short Mode, short XPos, short YPos, short XSize, short YSize, short Format, LPCTSTR FileName);
	BOOL LCDWriteString(short Dest, short Mode, short XPos, short YPos, short XSize, short YSize, short Format, LPCTSTR HexString);
	BOOL LCDWriteBitmap(short Dest, short Mode, short XPos, short YPos, short XSize, short YSize, long BitmapHandle);
	BOOL LCDRefresh(short Mode, short XPos, short YPos, short XSize, short YSize);
	void KeyPadAddHotSpot(short KeyCode, short CoordToUse, short XPos, short YPos, short XSize, short YSize);
	short KeyPadQueryHotSpot(short KeyCode);
	void KeyPadClearHotSpotList();
	void ClearSigWindow(short Inside);
	void SetGreyScaleParams(long Velocity0, long VelocityRange, long GreyOffset, long GreyGain);
	void LCDSetFont(long Height, long Width, long Weight, short Italic, short Underline, short PitchAndFamily, LPCTSTR FaceName);
	BOOL SetBackground(LPCTSTR ImageFileName, short FitToWindow);
	void SetEventEnableMask(short EventMask);
	long TabletSerialNumber();
	long TabletModelNumber();
	void SetDynamicPressure(double Factor, double FinalFactor, double Offset);
	void SetPressureMapPoints(short MapPoints);
	void SetPressureMap(short Index, short Value);
	void InitSigPlus();
	void DisableMessageBoxes(short State);
	short GetEventEnableMask();
	void BitMapBufferWrite();
	long BitMapBufferSize();
	short BitMapBufferByte(long ByteIndex);
	void BitMapBufferClose();
	long GetLCDSize();
	long GetLCDStringSize(LPCTSTR Str);
	CString GetSigPlusVersionString();
	void SetIPAddress(LPCTSTR IPAddress);
	CString LCDSendCmdString(LPCTSTR CmdString, short ReturnCount, long TimeOut);
	long GetBadPointCounter();
	void SigSetFont(long Height, long Width, long Weight, short Italic, short Underline, short PitchAndFamily, LPCTSTR FaceName);
	void SigMessage(LPCTSTR Message);
	void SetBackgroundHandle(long BackgroundHandle, short FitToWindow);
	long GetPointTValue(short StrokeIdx, short PointIdx);
	VARIANT GetBitmapBufferBytes();
	void SetAntiAliasParameters(short Enable, long LineScale, long SpotSize);
	void SetEnableColor(short Enable);
	BOOL TabletConnectQuery();
	void AboutBox();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SIGPLUS_H__6A1D9301_6725_4E44_8036_0068D60248E7__INCLUDED_)
