PaintScaling Example for C++ 4.0 and later

// This example sets the display to use bilinear interpolation
m_Lead1.SetPaintScaling(PAINTSCALING_RESAMPLE);