// 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.
#include "stdafx.h"
#include "sigplus.h"
#include "occimpl.h"
/////////////////////////////////////////////////////////////////////////////
// CSigPlus
IMPLEMENT_DYNCREATE(CSigPlus, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CSigPlus properties
BOOL CSigPlus::GetTabletState()
{
BOOL result;
GetProperty(0x1, VT_BOOL, (void*)&result);
return result;
}
void CSigPlus::SetTabletState(BOOL propVal)
{
SetProperty(0x1, VT_BOOL, propVal);
}
short CSigPlus::GetImageFileFormat()
{
short result;
GetProperty(0x2, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetImageFileFormat(short propVal)
{
SetProperty(0x2, VT_I2, propVal);
}
short CSigPlus::GetImageXSize()
{
short result;
GetProperty(0x3, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetImageXSize(short propVal)
{
SetProperty(0x3, VT_I2, propVal);
}
short CSigPlus::GetImageYSize()
{
short result;
GetProperty(0x4, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetImageYSize(short propVal)
{
SetProperty(0x4, VT_I2, propVal);
}
short CSigPlus::GetImagePenWidth()
{
short result;
GetProperty(0x5, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetImagePenWidth(short propVal)
{
SetProperty(0x5, VT_I2, propVal);
}
short CSigPlus::GetTabletLogicalXSize()
{
short result;
GetProperty(0x6, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletLogicalXSize(short propVal)
{
SetProperty(0x6, VT_I2, propVal);
}
short CSigPlus::GetTabletLogicalYSize()
{
short result;
GetProperty(0x7, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletLogicalYSize(short propVal)
{
SetProperty(0x7, VT_I2, propVal);
}
short CSigPlus::GetTabletXStart()
{
short result;
GetProperty(0x8, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletXStart(short propVal)
{
SetProperty(0x8, VT_I2, propVal);
}
short CSigPlus::GetTabletYStart()
{
short result;
GetProperty(0x9, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletYStart(short propVal)
{
SetProperty(0x9, VT_I2, propVal);
}
short CSigPlus::GetTabletXStop()
{
short result;
GetProperty(0xa, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletXStop(short propVal)
{
SetProperty(0xa, VT_I2, propVal);
}
short CSigPlus::GetTabletYStop()
{
short result;
GetProperty(0xb, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletYStop(short propVal)
{
SetProperty(0xb, VT_I2, propVal);
}
short CSigPlus::GetTabletFilterPoints()
{
short result;
GetProperty(0xc, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletFilterPoints(short propVal)
{
SetProperty(0xc, VT_I2, propVal);
}
short CSigPlus::GetTabletTimingAdvance()
{
short result;
GetProperty(0xd, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletTimingAdvance(short propVal)
{
SetProperty(0xd, VT_I2, propVal);
}
short CSigPlus::GetTabletComPort()
{
short result;
GetProperty(0xe, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetTabletComPort(short propVal)
{
SetProperty(0xe, VT_I2, propVal);
}
short CSigPlus::GetDisplayPenWidth()
{
short result;
GetProperty(0xf, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetDisplayPenWidth(short propVal)
{
SetProperty(0xf, VT_I2, propVal);
}
BOOL CSigPlus::GetTabletLCDMode()
{
BOOL result;
GetProperty(0x10, VT_BOOL, (void*)&result);
return result;
}
void CSigPlus::SetTabletLCDMode(BOOL propVal)
{
SetProperty(0x10, VT_BOOL, propVal);
}
long CSigPlus::GetTabletBaudRate()
{
long result;
GetProperty(0x11, VT_I4, (void*)&result);
return result;
}
void CSigPlus::SetTabletBaudRate(long propVal)
{
SetProperty(0x11, VT_I4, propVal);
}
short CSigPlus::GetSigCompressionMode()
{
short result;
GetProperty(0x12, VT_I2, (void*)&result);
return result;
}
void CSigPlus::SetSigCompressionMode(short propVal)
{
SetProperty(0x12, VT_I2, propVal);
}
BOOL CSigPlus::GetOpaqueMode()
{
BOOL result;
GetProperty(0x13, VT_BOOL, (void*)&result);
return result;
}
void CSigPlus::SetOpaqueMode(BOOL propVal)
{
SetProperty(0x13, VT_BOOL, propVal);
}
CString CSigPlus::GetTimeStamp()
{
CString result;
GetProperty(0x14, VT_BSTR, (void*)&result);
return result;
}
void CSigPlus::SetTimeStamp(LPCTSTR propVal)
{
SetProperty(0x14, VT_BSTR, propVal);
}
CString CSigPlus::GetAnnotate()
{
CString result;
GetProperty(0x15, VT_BSTR, (void*)&result);
return result;
}
void CSigPlus::SetAnnotate(LPCTSTR propVal)
{
SetProperty(0x15, VT_BSTR, propVal);
}
BOOL CSigPlus::GetDisplayTimeStamp()
{
BOOL result;
GetProperty(0x16, VT_BOOL, (void*)&result);
return result;
}
void CSigPlus::SetDisplayTimeStamp(BOOL propVal)
{
SetProperty(0x16, VT_BOOL, propVal);
}
BOOL CSigPlus::GetImageTimeStamp()
{
BOOL result;
GetProperty(0x17, VT_BOOL, (void*)&result);
return result;
}
void CSigPlus::SetImageTimeStamp(BOOL propVal)
{
SetProperty(0x17, VT_BOOL, propVal);
}
BOOL CSigPlus::GetDisplayAnnotate()
{
BOOL result;
GetProperty(0x18, VT_BOOL, (void*)&result);
return result;
}
void CSigPlus::SetDisplayAnnotate(BOOL propVal)
{
SetProperty(0x18, VT_BOOL, propVal);
}
BOOL CSigPlus::GetImageAnnotate()
{
BOOL result;
GetProperty(0x19, VT_BOOL, (void*)&result);
return result;
}
void CSigPlus::SetImageAnnotate(BOOL propVal)
{
SetProperty(0x19, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CSigPlus operations
void CSigPlus::ClearTablet()
{
InvokeHelper(0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
BOOL CSigPlus::ExportSigFile(LPCTSTR FileName)
{
BOOL result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x1b, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
FileName);
return result;
}
BOOL CSigPlus::ImportSigFile(LPCTSTR FileName)
{
BOOL result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x1c, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
FileName);
return result;
}
short CSigPlus::NumberOfTabletPoints()
{
short result;
InvokeHelper(0x1d, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
return result;
}
BOOL CSigPlus::WriteImageFile(LPCTSTR FileName)
{
BOOL result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x1e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
FileName);
return result;
}
short CSigPlus::GetNumberOfStrokes()
{
short result;
InvokeHelper(0x1f, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
return result;
}
short CSigPlus::GetNumPointsForStroke(short StrokeNumber)
{
short result;
static BYTE parms[] =
VTS_I2;
InvokeHelper(0x20, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
StrokeNumber);
return result;
}
void CSigPlus::HighlightStroke(short StrokeNumber)
{
static BYTE parms[] =
VTS_I2;
InvokeHelper(0x21, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
StrokeNumber);
}
void CSigPlus::HighlightPoint(short PointNumber)
{
static BYTE parms[] =
VTS_I2;
InvokeHelper(0x22, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
PointNumber);
}
void CSigPlus::SetDisplayTimeStampData(short X, short Y, short Size)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2;
InvokeHelper(0x23, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
X, Y, Size);
}
void CSigPlus::SetImageTimeStampData(short X, short Y, short Size)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2;
InvokeHelper(0x24, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
X, Y, Size);
}
void CSigPlus::SetDisplayAnnotateData(short X, short Y, short Size)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2;
InvokeHelper(0x25, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
X, Y, Size);
}
void CSigPlus::SetImageAnnotateData(short X, short Y, short Size)
{
static BYTE parms[] =
VTS_I2 VTS_I2 VTS_I2;
InvokeHelper(0x26, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
X, Y, Size);
}
void CSigPlus::AboutBox()
{
InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CSigPlus::Properties()
{
if (m_pCtrlSite == NULL)
return;
m_pCtrlSite->DoVerb( OLEIVERB_PROPERTIES );
}