AnnAutoDrawEnable example for Delphi

This example toggles the AnnAutoDrawEnable property.

if (LEADAnn1.AnnAutoDrawEnable = True) Then
   LEADAnn1.AnnAutoDrawEnable:= False
else
LEADAnn1.AnnAutoDrawEnable:= True