// 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 "vcfont.h" // Dispatch interfaces referenced by this interface #include "VcColor.h" ///////////////////////////////////////////////////////////////////////////// // CVcFont properties ///////////////////////////////////////////////////////////////////////////// // CVcFont operations CString CVcFont::GetName() { CString result; InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); return result; } void CVcFont::SetName(LPCTSTR lpszNewValue) { static BYTE parms[] = VTS_BSTR; InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, lpszNewValue); } float CVcFont::GetSize() { float result; InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); return result; } void CVcFont::SetSize(float newValue) { static BYTE parms[] = VTS_R4; InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, newValue); } short CVcFont::GetStyle() { short result; InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL); return result; } void CVcFont::SetStyle(short nNewValue) { static BYTE parms[] = VTS_I2; InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } short CVcFont::GetEffect() { short result; InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL); return result; } void CVcFont::SetEffect(short nNewValue) { static BYTE parms[] = VTS_I2; InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, nNewValue); } CVcColor CVcFont::GetVtColor() { LPDISPATCH pDispatch; InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL); return CVcColor(pDispatch); }