No parameters
Property description
It is used to view the footer textExample 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);