ColoredPencil example for Visual C++

ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);

m_pRasterProc->m_pRasterProc->ColoredPencil(m_LeadRasterView.GetRaster(), 50, 3);
m_pRasterProc->Release();