BorderStyle example for Visual Basic

Note: Also works with Access 95 and 97.

This example toggles the border style and repaints the image.

If LEADRasterView1.BorderStyle = 1 Then
   LEADRasterView1.BorderStyle = 0
Else
   LEADRasterView1.BorderStyle = 1
End If
LEADRasterView1.ForceRepaint