DJVResolution example for C++ 5.0 and later

void CTestImgProcView::OnLoadDJV()
{
    ILEADRasterIO *m_pRasterIO = NULL;
   
    CoCreateInstance(
    CLSID_LEADRasterIO,
    NULL,
    CLSCTX_ALL,
    IID_ILEADRasterIO,
    (void**)&m_pRasterIO
    );
       /*Set new DJV option*/
       m_pRasterIO->DJVResolution = 120;
      
       /* Now load the DJV file */
       m_pRasterIO->Load (m_LeadRasterView2.GetRaster(), "c:\\image1.DJVU", 0, 1, 1 );
      
       m_pRasterIO->Release();
}