ISmpReceiptSettings::ReceiptSpacing

SalesMate+

No parameters

Property description

It is used to view the spacing length given

Example code

CComPtr<ISmpReceiptSettings>m_SmpReceiptSettings; 
HRESULT hr=m_SmpReceiptSettings.CoCreateInstance(CLSID_SmpReceiptSettings);
if(FAILED(hr))
{
  AfxMessageBox(_T("SMPReceipt Settings Failed"));
  return FALSE;
} 
 long lSpcing;
 CString str;
HRESULT hr=m_SmpReceiptSettings->get_ReceiptSpacing(&lSpcing);
if(FAILED(hr))
{
  AfxMessageBox(_T("Failed to load"));
}
 str.Format(_T("Spacing is %ld"),lSpcing);
 AfxMessageBox(str);

(C) 1999-2001 My Company All rights reserved