Rows example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
CString strOut;
m_pRasterProc->GetOverlayAttributes(m_LeadRasterView.GetRaster(),0,OVERLAYATTRIBUTES_FLAGS);
strOut.Format("Rows = %d\n"
"Columns = %d",
m_pRasterProc->OverlayAttributes->Rows,
m_pRasterProc->OverlayAttributes->Columns);
MessageBox(strOut);
m_pRasterProc->Release();