ISmpReceiptSettings::PhoneNumberAtFooter

Salesmate +

No parameters

Property description

It is used to Check whether PhoneNumberAtFooter option is enabled or not

Example code

CComPtr<ISmpReceiptSettings>m_SmpReceiptSettings; 
HRESULT hr=m_SmpReceiptSettings.CoCreateInstance(CLSID_SmpReceiptSettings);
if(FAILED(hr))
{
  AfxMessageBox(_T("SMPReceipt Settings Failed"));
  return FALSE;
}  
long lFooterPhNo;
HRESULT hr=m_SmpReceiptSettings->get_PhoneNumberAtFooter(&lFooterPhNo);
if(FAILED(hr))
{
  AfxMessageBox(_T("Failed to load"));
}
if(lFooterPhNo==TRUE)
{
  AfxMessageBox(_T(""Phone Number At Footer option is enabled"")); 
}
else
AfxMessageBox(_T(""Phone Number At Footer option is disabled""));

(C) 1999-2001 My Company All rights reserved