PaintSizeUseDPI example for C++ 5.0 and later
This example toggles the PaintSizeUseDPI property.
if (m_LEADRasterView1.GetPaintSizeUseDPI() == FALSE)
m_LEADRasterView1.SetPaintSizeUseDPI(TRUE);
else
m_LEADRasterView1.SetPaintSizeUseDPI(FALSE);