PaintSizeUseDPI example for Visual Basic

Note: Also works with Access 95 and 97.

This example toggles the PaintSizeUseDPI property.

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