AnnPredefinedRaster example for C++ 5 and later
//'This example does the following:
//'1. Gets the current point bitmap
//'2. Inverts it
//'3. Sets the inverted bitmap as the default point bitmap
void CTutorDlg::ExampleGetPredefineRaster()
{
ILEADRasterProcess *m_RasterProc = NULL;
//CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterIO);
m_LEADRasterView1.GetRaster ().SetBitmap(m_pRasterAnn->GetAnnPredefinedRaster(ANN_BITMAP_POINT)->GetBitmap());
m_RasterProc->Invert (m_LEADRasterView1.GetRaster().m_lpDispatch);
m_pRasterAnn->PutAnnPredefinedRaster(ANN_BITMAP_POINT, (ILEADRaster *)(m_LEADRasterView1.GetRaster().m_lpDispatch));
}