SetRgnBorder Example for C++ 5.0 and later
void CDemoView::OnSetRgnBorder()
{
m_LeadRasterView.GetRaster().SetRgnBorder( 0, 0,RGB(0,0,0), RGB(20,30,15), RGB(15,30,10), L_RGN_SET );
m_LeadRasterView.SetRgnFrameType(RGNFRAME_ANIMATED);
m_LeadRasterView.ForceRepaint();
}