BitmapXres and BitmapYres example for C++ 5.0 and later
This example sets the bitmap's resolution to 300 x 600 DPI.
CString strMsg;
int xRes, yRes;
m_LEADRasterView1.GetRaster().SetBitmapXRes(300);
m_LEADRasterView1.GetRaster().SetBitmapYRes(600);
xRes = m_LEADRasterView1.GetRaster().GetBitmapXRes();
yRes = m_LEADRasterView1.GetRaster().GetBitmapYRes();
strMsg.Format(TEXT("xRes[%d] yRes[%d]"), xRes, yRes);
AfxMessageBox(strMsg);