ISmpReceiptSettings::FooterText

SalesMate+

No parameters

Property description

It is used to view the footer text

Example code

CComPtr<ISmpReceiptSettings>m_SmpReceiptSettings;
HRESULT hr=m_SmpReceiptSettings.CoCreateInstance(CLSID_SmpReceiptSettings);
if(FAILED(hr))
{
  AfxMessageBox(_T("SMPReceipt Settings Failed"));
  return FALSE;
} 
BSTR  bstr;
CString str;
HRESULT hr=m_SmpReceiptSettings->get_FooterText(&bstr);
if(FAILED(hr))
{
  AfxMessageBox(_T("Failed to load"));
}
str=bstr;
if(str.IsEmpty())
{
  AfxMessageBox(_T("Footer Text is not Entered"));
}
else
AfxMessageBox(str);

(C) 1999-2001 My Company All rights reserved