HalfTonePattern example for Visual C++
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->HalfTonePattern(m_LeadRasterView.GetRaster(), 100, 200, 12, 2, 4500, RGB(255, 255, 255), RGB(255, 0, 0),HTPATTERN_LINE);
m_pRasterProc->Release();