PaintSizeUseDPI example for Visual Basic

This example toggles the PaintSizeUseDPI property.

If Lead1.PaintSizeUseDPI = False Then
  Lead1.PaintSizeUseDPI = True
Else
  Lead1.PaintSizeUseDPI = False
End If