BorderStyle example for C++ 5.0 and later

This example toggles the border style and repaints the image.

if (m_LEADRasterView1.GetBorderStyle() == 1)
   m_LEADRasterView1.SetBorderStyle(0);
else
   m_LEADRasterView1.SetBorderStyle(1);
m_LEADRasterView1.ForceRepaint();