|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Microsoft Visual C++ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IDispatch <20><>װ<EFBFBD><D7B0>
|
|
|
|
|
|
|
|
|
|
// ע<><D7A2>: <20><>Ҫ<EFBFBD>Ĵ<DEB8><C4B4>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD><DDA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
// Microsoft Visual C++ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD><C9A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ľ<DEB8><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD>
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// CTbarcode51 <20><>װ<EFBFBD><D7B0>
|
|
|
|
|
|
|
|
|
|
class CTbarcode51 : public CWnd
|
|
|
|
|
{
|
|
|
|
|
protected:
|
|
|
|
|
DECLARE_DYNCREATE(CTbarcode51)
|
|
|
|
|
public:
|
|
|
|
|
CLSID const& GetClsid()
|
|
|
|
|
{
|
|
|
|
|
static CLSID const clsid
|
|
|
|
|
= { 0x10ED9AE3, 0xDA1A, 0x461C, { 0x82, 0x6A, 0xCD, 0x9C, 0x85, 0xC, 0x58, 0xE2 } };
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
public:
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
BKS_Transparent = 0,
|
|
|
|
|
BKS_Opaque = 1
|
|
|
|
|
}tagBKStyle;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eDST_Ok = 0,
|
|
|
|
|
eDST_Cancel = 1,
|
|
|
|
|
eDST_Retry = 2
|
|
|
|
|
}tag_DrawStatus;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eInt_Default = 0,
|
|
|
|
|
eInt_ANSI = 1,
|
|
|
|
|
eInt_ByteStream = 2,
|
|
|
|
|
eInt_BYTE_HILO = 3,
|
|
|
|
|
eInt_Korean = 4,
|
|
|
|
|
eInt_Japanese_Shift_JIS = 5,
|
|
|
|
|
eInt_Simplified_Chinese = 6,
|
|
|
|
|
eInt_Trad_Chinese_Big5 = 7
|
|
|
|
|
}tag_Interpretation;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eBC_None = 0,
|
|
|
|
|
eBC_Code11 = 1,
|
|
|
|
|
eBC_2OF5 = 2,
|
|
|
|
|
eBC_2OF5IL = 3,
|
|
|
|
|
eBC_2OF5IATA = 4,
|
|
|
|
|
eBC_2OF5M = 5,
|
|
|
|
|
eBC_2OF5DL = 6,
|
|
|
|
|
eBC_2OF5IND = 7,
|
|
|
|
|
eBC_3OF9 = 8,
|
|
|
|
|
eBC_3OF9A = 9,
|
|
|
|
|
eBC_EAN8 = 10,
|
|
|
|
|
eBC_EAN8P2 = 11,
|
|
|
|
|
eBC_EAN8P5 = 12,
|
|
|
|
|
eBC_EAN13 = 13,
|
|
|
|
|
eBC_EAN13P2 = 14,
|
|
|
|
|
eBC_EAN13P5 = 15,
|
|
|
|
|
eBC_EAN128 = 16,
|
|
|
|
|
eBC_UPC12 = 17,
|
|
|
|
|
eBC_CodaBar2 = 18,
|
|
|
|
|
eBC_CodaBar18 = 19,
|
|
|
|
|
eBC_Code128 = 20,
|
|
|
|
|
eBC_DPLeit = 21,
|
|
|
|
|
eBC_DPIdent = 22,
|
|
|
|
|
eBC_Code16K = 23,
|
|
|
|
|
eBC_49 = 24,
|
|
|
|
|
eBC_9OF3 = 25,
|
|
|
|
|
eBC_UPC25 = 26,
|
|
|
|
|
eBC_UPCD1 = 27,
|
|
|
|
|
eBC_Flattermarken = 28,
|
|
|
|
|
eBC_RSS14 = 29,
|
|
|
|
|
eBC_RSSLtd = 30,
|
|
|
|
|
eBC_RSSExp = 31,
|
|
|
|
|
eBC_UPCSCC = 32,
|
|
|
|
|
eBC_UCC128 = 33,
|
|
|
|
|
eBC_UPCA = 34,
|
|
|
|
|
eBC_UPCAP2 = 35,
|
|
|
|
|
eBC_UPCAP5 = 36,
|
|
|
|
|
eBC_UPCE = 37,
|
|
|
|
|
eBC_UPCEP2 = 38,
|
|
|
|
|
eBC_UPCEP5 = 39,
|
|
|
|
|
eBC_PostNet5 = 40,
|
|
|
|
|
eBC_PostNet6 = 41,
|
|
|
|
|
eBC_PostNet8 = 42,
|
|
|
|
|
eBC_PostNet10 = 43,
|
|
|
|
|
eBC_PostNet11 = 44,
|
|
|
|
|
eBC_PostNet12 = 45,
|
|
|
|
|
eBC_Plessey = 46,
|
|
|
|
|
eBC_MSI = 47,
|
|
|
|
|
eBC_SSCC18 = 48,
|
|
|
|
|
eBC_FIM = 49,
|
|
|
|
|
eBC_LOGMARS = 50,
|
|
|
|
|
eBC_Pharma1 = 51,
|
|
|
|
|
eBC_PZN = 52,
|
|
|
|
|
eBC_Pharma2 = 53,
|
|
|
|
|
eBC_GP = 54,
|
|
|
|
|
eBC_PDF417 = 55,
|
|
|
|
|
eBC_PDF417Trunc = 56,
|
|
|
|
|
eBC_MAXICODE = 57,
|
|
|
|
|
eBC_QRCode = 58,
|
|
|
|
|
eBC_Code128A = 59,
|
|
|
|
|
eBC_Code128B = 60,
|
|
|
|
|
eBC_Code128C = 61,
|
|
|
|
|
eBC_9OF3A = 62,
|
|
|
|
|
eBC_AusPostCustom = 63,
|
|
|
|
|
eBC_AusPostCustom2 = 64,
|
|
|
|
|
eBC_AusPostCustom3 = 65,
|
|
|
|
|
eBC_AusPostReplyPaid = 66,
|
|
|
|
|
eBC_AusPostRouting = 67,
|
|
|
|
|
eBC_AusPostRedirect = 68,
|
|
|
|
|
eBC_ISBN = 69,
|
|
|
|
|
eBC_RM4SCC = 70,
|
|
|
|
|
eBC_DataMatrix = 71,
|
|
|
|
|
eBC_EAN14 = 72,
|
|
|
|
|
eBC_CODABLOCK_E = 73,
|
|
|
|
|
eBC_CODABLOCK_F = 74,
|
|
|
|
|
eBC_NVE18 = 75
|
|
|
|
|
}tag_BarCType;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eCDNone = 0,
|
|
|
|
|
eCDStandard = 1,
|
|
|
|
|
eCDMod10 = 2,
|
|
|
|
|
eCDMod43 = 3,
|
|
|
|
|
eCD2Mod47 = 4,
|
|
|
|
|
eCDDPLeit = 5,
|
|
|
|
|
eCDDPIdent = 6,
|
|
|
|
|
eCD1Code11 = 7,
|
|
|
|
|
eCD2Code11 = 8,
|
|
|
|
|
eCDPostnet = 9,
|
|
|
|
|
eCDMSI1 = 10,
|
|
|
|
|
eCDMSI2 = 11,
|
|
|
|
|
eCDPlessey = 12,
|
|
|
|
|
eCDEAN8 = 13,
|
|
|
|
|
eCDEAN13 = 14,
|
|
|
|
|
eCDUPCA = 15,
|
|
|
|
|
eCDUPCE = 16,
|
|
|
|
|
eCDEAN128 = 17,
|
|
|
|
|
eCDCode128 = 18,
|
|
|
|
|
eCDRM4SCC = 19,
|
|
|
|
|
eCDPZN = 20,
|
|
|
|
|
eCDMod11W7 = 21,
|
|
|
|
|
eCDEAN14 = 22
|
|
|
|
|
}tag_CDMethod;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
deg0 = 0,
|
|
|
|
|
deg90 = 1,
|
|
|
|
|
deg180 = 2,
|
|
|
|
|
deg270 = 3
|
|
|
|
|
}tag_Degree;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eMUDefault = 0,
|
|
|
|
|
eMUPixel = 1,
|
|
|
|
|
eMUMM = 2
|
|
|
|
|
}tag_MUnit;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eQZMUNone = 0,
|
|
|
|
|
eQZMUModules = 1,
|
|
|
|
|
eQZMUMM = 2,
|
|
|
|
|
eQZMUMils = 3,
|
|
|
|
|
eQZMUPixel = 4
|
|
|
|
|
}tag_QZMUnit;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eIMBmp = 0,
|
|
|
|
|
eIMEmf = 1,
|
|
|
|
|
eIMEps = 2,
|
|
|
|
|
eIMGif = 3,
|
|
|
|
|
eIMJpg = 4,
|
|
|
|
|
eIMPcx = 5,
|
|
|
|
|
eIMPng = 6,
|
|
|
|
|
eIMTif = 7,
|
|
|
|
|
eIMPsVector = 8
|
|
|
|
|
}tag_ImageType;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eAlDefault = 0,
|
|
|
|
|
eAlLeft = 1,
|
|
|
|
|
eAlRight = 2,
|
|
|
|
|
eAlCenter = 3
|
|
|
|
|
}tag_Align;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eLicInvalid = -1,
|
|
|
|
|
eLicProd1D = 13,
|
|
|
|
|
eLicProd2D = 14
|
|
|
|
|
}tag_licProduct;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eLicKindSingle = 1,
|
|
|
|
|
eLicKindSite = 2,
|
|
|
|
|
eLicKindDeveloper = 3
|
|
|
|
|
}tag_licKind;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eDMSz_Default = 0,
|
|
|
|
|
eDMSz_10x10 = 1,
|
|
|
|
|
eDMSz_12x12 = 2,
|
|
|
|
|
eDMSz_14x14 = 3,
|
|
|
|
|
eDMSz_16x16 = 4,
|
|
|
|
|
eDMSz_18x18 = 5,
|
|
|
|
|
eDMSz_20x20 = 6,
|
|
|
|
|
eDMSz_22x22 = 7,
|
|
|
|
|
eDMSz_24x24 = 8,
|
|
|
|
|
eDMSz_26x26 = 9,
|
|
|
|
|
eDMSz_32x32 = 10,
|
|
|
|
|
eDMSz_36x36 = 11,
|
|
|
|
|
eDMSz_40x40 = 12,
|
|
|
|
|
eDMSz_44x44 = 13,
|
|
|
|
|
eDMSz_48x48 = 14,
|
|
|
|
|
eDMSz_52x52 = 15,
|
|
|
|
|
eDMSz_64x64 = 16,
|
|
|
|
|
eDMSz_72x72 = 17,
|
|
|
|
|
eDMSz_80x80 = 18,
|
|
|
|
|
eDMSz_88x88 = 19,
|
|
|
|
|
eDMSz_96x96 = 20,
|
|
|
|
|
eDMSz_104x104 = 21,
|
|
|
|
|
eDMSz_120x120 = 22,
|
|
|
|
|
eDMSz_132x132 = 23,
|
|
|
|
|
eDMSz_144x144 = 24,
|
|
|
|
|
eDMSz_8x18 = 25,
|
|
|
|
|
eDMSz_8x32 = 26,
|
|
|
|
|
eDMSz_12x26 = 27,
|
|
|
|
|
eDMSz_12x36 = 28,
|
|
|
|
|
eDMSz_16x36 = 29,
|
|
|
|
|
eDMSz_16x48 = 30
|
|
|
|
|
}tagE_DMSizes;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eDMPr_Default = 0,
|
|
|
|
|
eDMPr_UCCEAN = 1,
|
|
|
|
|
eDMPr_Industry = 2,
|
|
|
|
|
eDMPr_Macro05 = 3,
|
|
|
|
|
eDMPr_Macro06 = 4
|
|
|
|
|
}tagE_DMFormat;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eQRVers_Default = 0,
|
|
|
|
|
eQRVers_1 = 1,
|
|
|
|
|
eQRVers_2 = 2,
|
|
|
|
|
eQRVers_3 = 3,
|
|
|
|
|
eQRVers_4 = 4,
|
|
|
|
|
eQRVers_5 = 5,
|
|
|
|
|
eQRVers_6 = 6,
|
|
|
|
|
eQRVers_7 = 7,
|
|
|
|
|
eQRVers_8 = 8,
|
|
|
|
|
eQRVers_9 = 9,
|
|
|
|
|
eQRVers_10 = 10,
|
|
|
|
|
eQRVers_11 = 11,
|
|
|
|
|
eQRVers_12 = 12,
|
|
|
|
|
eQRVers_13 = 13,
|
|
|
|
|
eQRVers_14 = 14,
|
|
|
|
|
eQRVers_15 = 15,
|
|
|
|
|
eQRVers_16 = 16,
|
|
|
|
|
eQRVers_17 = 17,
|
|
|
|
|
eQRVers_18 = 18,
|
|
|
|
|
eQRVers_19 = 19,
|
|
|
|
|
eQRVers_20 = 20,
|
|
|
|
|
eQRVers_21 = 21,
|
|
|
|
|
eQRVers_22 = 22,
|
|
|
|
|
eQRVers_23 = 23,
|
|
|
|
|
eQRVers_24 = 24,
|
|
|
|
|
eQRVers_25 = 25,
|
|
|
|
|
eQRVers_26 = 26,
|
|
|
|
|
eQRVers_27 = 27,
|
|
|
|
|
eQRVers_28 = 28,
|
|
|
|
|
eQRVers_29 = 29,
|
|
|
|
|
eQRVers_30 = 30,
|
|
|
|
|
eQRVers_31 = 31,
|
|
|
|
|
eQRVers_32 = 32,
|
|
|
|
|
eQRVers_33 = 33,
|
|
|
|
|
eQRVers_34 = 34,
|
|
|
|
|
eQRVers_35 = 35,
|
|
|
|
|
eQRVers_36 = 36,
|
|
|
|
|
eQRVers_37 = 37,
|
|
|
|
|
eQRVers_38 = 38,
|
|
|
|
|
eQRVers_39 = 39,
|
|
|
|
|
eQRVers_40 = 40
|
|
|
|
|
}tagE_QRVersion;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eQRPr_Default = 0,
|
|
|
|
|
eQRPr_UCCEAN = 1,
|
|
|
|
|
eQRPr_Industry = 2
|
|
|
|
|
}tagE_QRFormat;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eQREC_Low = 0,
|
|
|
|
|
eQREC_Medium = 1,
|
|
|
|
|
eQREC_Quartil = 2,
|
|
|
|
|
eQREC_High = 3
|
|
|
|
|
}tagE_QRECLevel;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eQRMsk_Default = -1,
|
|
|
|
|
eQRMsk_0 = 0,
|
|
|
|
|
eQRMsk_1 = 1,
|
|
|
|
|
eQRMsk_2 = 2,
|
|
|
|
|
eQRMsk_3 = 3,
|
|
|
|
|
eQRMsk_4 = 4,
|
|
|
|
|
eQRMsk_5 = 5,
|
|
|
|
|
eQRMsk_6 = 6,
|
|
|
|
|
eQRMsk_7 = 7
|
|
|
|
|
}tagE_QRMask;
|
|
|
|
|
enum
|
|
|
|
|
{
|
|
|
|
|
eCBFPr_Default = 0,
|
|
|
|
|
eCBFPr_UCCEAN = 1
|
|
|
|
|
}tagE_CBFFormat;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// _ITBarCode
|
|
|
|
|
|
|
|
|
|
// Functions
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
void put_BackColor(unsigned long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_UI4 ;
|
|
|
|
|
InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
void put_BackStyle(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(DISPID_BACKSTYLE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
void putref_Font(LPDISPATCH newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_DISPATCH ;
|
|
|
|
|
InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
void put_Font(LPDISPATCH newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_DISPATCH ;
|
|
|
|
|
InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
void put_ForeColor(unsigned long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_UI4 ;
|
|
|
|
|
InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
void put_Enabled(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
void put_Text(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(DISPID_TEXT, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
unsigned long get_BackColor()
|
|
|
|
|
{
|
|
|
|
|
unsigned long result;
|
|
|
|
|
InvokeHelper(DISPID_BACKCOLOR, DISPATCH_PROPERTYGET, VT_UI4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
long get_BackStyle()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(DISPID_BACKSTYLE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
LPDISPATCH get_Font()
|
|
|
|
|
{
|
|
|
|
|
LPDISPATCH result;
|
|
|
|
|
InvokeHelper(DISPID_FONT, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
unsigned long get_ForeColor()
|
|
|
|
|
{
|
|
|
|
|
unsigned long result;
|
|
|
|
|
InvokeHelper(DISPID_FORECOLOR, DISPATCH_PROPERTYGET, VT_UI4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
BOOL get_Enabled()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
long get_Window()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
CString get_Text()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(DISPID_TEXT, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void AboutBox()
|
|
|
|
|
{
|
|
|
|
|
InvokeHelper(DISPID_ABOUTBOX, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
|
|
|
}
|
|
|
|
|
void Refresh()
|
|
|
|
|
{
|
|
|
|
|
InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
|
|
|
}
|
|
|
|
|
void BCDraw(long hDC, long nLeft, long nTop, long nWidth, long nHeight)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms, hDC, nLeft, nTop, nWidth, nHeight);
|
|
|
|
|
}
|
|
|
|
|
void LicenseMe(LPCTSTR sLicensee, long eKind, long nLicenses, LPCTSTR sLicenseKey, long eProductID)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR VTS_I4 VTS_I4 VTS_BSTR VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, parms, sLicensee, eKind, nLicenses, sLicenseKey, eProductID);
|
|
|
|
|
}
|
|
|
|
|
void CopyToClipboard()
|
|
|
|
|
{
|
|
|
|
|
InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
|
|
|
}
|
|
|
|
|
void CopyToClipboardEx(long hDC, long nWidth, long nHeight, LPCTSTR sFileName)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x33, DISPATCH_METHOD, VT_EMPTY, NULL, parms, hDC, nWidth, nHeight, sFileName);
|
|
|
|
|
}
|
|
|
|
|
void SaveImage(LPCTSTR sFileName, long eImageType, long nXSize, long nYSize, long nXRes, long nYRes)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x13, DISPATCH_METHOD, VT_EMPTY, NULL, parms, sFileName, eImageType, nXSize, nYSize, nXRes, nYRes);
|
|
|
|
|
}
|
|
|
|
|
void SaveImageEx(long hDC, LPCTSTR sFileName, long eImageType, long nQuality, long nXSize, long nYSize, long nXRes, long nYRes)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_BSTR VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x31, DISPATCH_METHOD, VT_EMPTY, NULL, parms, hDC, sFileName, eImageType, nQuality, nXSize, nYSize, nXRes, nYRes);
|
|
|
|
|
}
|
|
|
|
|
void Licencing()
|
|
|
|
|
{
|
|
|
|
|
InvokeHelper(0x1d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
|
|
|
}
|
|
|
|
|
VARIANT ConvertToStream(long eImageType, long nXSize, long nYSize, long nXRes, long nYRes)
|
|
|
|
|
{
|
|
|
|
|
VARIANT result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x27, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, eImageType, nXSize, nYSize, nXRes, nYRes);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
VARIANT ConvertToStreamEx(long hDC, long eImageType, long nQuality, long nXSize, long nYSize, long nXRes, long nYRes)
|
|
|
|
|
{
|
|
|
|
|
VARIANT result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x32, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, hDC, eImageType, nQuality, nXSize, nYSize, nXRes, nYRes);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
long get_BarCode()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_BarCode(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_CDMethod()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CDMethod(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_CountCheckDigits()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CountCheckDigits(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_EscapeSequences()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_EscapeSequences(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_Format()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_Format(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_GuardWidth()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_GuardWidth(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_LastError()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_LastError(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_LastErrorNo()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_LastErrorNo(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_ModulWidth()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_ModulWidth(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_Orientation()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_Orientation(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_PrintDataText()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PrintDataText(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_PrintTextAbove()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PrintTextAbove(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_Ratio()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_Ratio(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_RatioHint()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_RatioHint(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
unsigned long get_TextColor()
|
|
|
|
|
{
|
|
|
|
|
unsigned long result;
|
|
|
|
|
InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_UI4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_TextColor(unsigned long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_UI4 ;
|
|
|
|
|
InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_Columns()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_Columns(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_Rows()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_Rows(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_ECLevel()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_ECLevel(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_RowHeight()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_RowHeight(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_MustFit()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MustFit(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_TextDistance()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_TextDistance(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_NotchHeight()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_NotchHeight(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_RatioDefault()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_RatioDefault(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_CheckDigits()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CheckDigits(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_MAXI_Mode()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_Mode(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_MAXI_AppendIndex()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_AppendIndex(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_MAXI_AppendCount()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_AppendCount(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_MAXI_Undercut()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_Undercut(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
double get_CountModules()
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CountModules(double newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_R8 ;
|
|
|
|
|
InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
double get_BCWidthAct(long eUnit)
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms, eUnit);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
double get_BCHeightAct(long eUnit)
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms, eUnit);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
double get_ModWidthAct(long eUnit)
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms, eUnit);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
double get_BCWidthHdc(long hDC, long nWidth, long nHeight, long eUnit)
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x2c, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms, hDC, nWidth, nHeight, eUnit);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
double get_BCHeightHdc(long hDC, long nWidth, long nHeight, long eUnit)
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms, hDC, nWidth, nHeight, eUnit);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
double get_ModWidthHdc(long hDC, long nWidth, long nHeight, long eUnit)
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x2e, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, parms, hDC, nWidth, nHeight, eUnit);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
BOOL get_MAXI_Preamble()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_Preamble(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_MAXI_PostalCode()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_PostalCode(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_MAXI_CountryCode()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_CountryCode(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_MAXI_ServiceClass()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_ServiceClass(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_MAXI_Date()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_MAXI_Date(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x26, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_DrawStatus()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DrawStatus(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x2f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_SuppressErrorMsg()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_SuppressErrorMsg(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
double get_CountRows()
|
|
|
|
|
{
|
|
|
|
|
double result;
|
|
|
|
|
InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_R8, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CountRows(double newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_R8 ;
|
|
|
|
|
InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_DM_Size()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x51, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DM_Size(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x51, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_DM_Rectangular()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DM_Rectangular(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0x52, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_DM_Format()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DM_Format(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x53, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_DM_AppendIndex()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x54, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DM_AppendIndex(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x54, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_DM_AppendCount()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x55, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DM_AppendCount(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x55, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_DM_AppendFileID()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DM_AppendFileID(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x56, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_SegmentIndex()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_SegmentIndex(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x57, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_PDF417_FileID()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_FileID(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x58, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_PDF417_LastSegment()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0x59, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_LastSegment(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0x59, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_PDF417_FileName()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_FileName(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_SegmentCount()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_SegmentCount(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x5b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_TimeStamp()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x5c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_TimeStamp(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_PDF417_Sender()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x5d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_Sender(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x5d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_PDF417_Addressee()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x5e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_Addressee(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x5e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_FileSize()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_FileSize(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_PDF417_CheckSum()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_CheckSum(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x60, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_QR_Version()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_Version(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_QR_Format()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_Format(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x62, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_QR_ECLevel()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_ECLevel(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_QR_Mask()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_Mask(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_QR_AppendIndex()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_AppendIndex(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_QR_AppendCount()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_AppendCount(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
short get_QR_AppendParity()
|
|
|
|
|
{
|
|
|
|
|
short result;
|
|
|
|
|
InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_AppendParity(short newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I2 ;
|
|
|
|
|
InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_QR_FmtAppIndicator()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_QR_FmtAppIndicator(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
short get_QR_StructAppParity(LPCTSTR sText)
|
|
|
|
|
{
|
|
|
|
|
short result;
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms, sText);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
CString get_PDF417_RatioRowCol()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_PDF417_RatioRowCol(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_InterpretInputAs()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_InterpretInputAs(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
BOOL get_OptResolution()
|
|
|
|
|
{
|
|
|
|
|
BOOL result;
|
|
|
|
|
InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_OptResolution(BOOL newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BOOL ;
|
|
|
|
|
InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_FontName()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_FontName(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_FontSize()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_FontSize(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_CBF_Rows()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CBF_Rows(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_CBF_Columns()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CBF_Columns(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_CBF_RowHeight()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CBF_RowHeight(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_CBF_RowSeparatorHeight()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CBF_RowSeparatorHeight(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_CBF_Format()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_CBF_Format(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x74, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
CString get_DisplayText()
|
|
|
|
|
{
|
|
|
|
|
CString result;
|
|
|
|
|
InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_DisplayText(LPCTSTR newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_BSTR ;
|
|
|
|
|
InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_BarWidthReduction()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_BarWidthReduction(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_TextAlignment()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_TextAlignment(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_Quality()
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void put_Quality(long newValue)
|
|
|
|
|
{
|
|
|
|
|
static BYTE parms[] = VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue);
|
|
|
|
|
}
|
|
|
|
|
long get_QualityHdc(long hDC, long nWidth, long nHeight)
|
|
|
|
|
{
|
|
|
|
|
long result;
|
|
|
|
|
static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 ;
|
|
|
|
|
InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms, hDC, nWidth, nHeight);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
void PropertyDialog()
|
|
|
|
|
{
|
|
|
|
|
InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Properties
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|