FastRotate example for C++ 5.0 and later

Note: This topic is for Document/Medical only.

This example uses fast rotation to rotate an image 90 degrees:

ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL,
                 IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->FastRotate(m_LEADRasterView1.GetRaster(),90);
pRasterProc->Release();