AnnAutoDrawEnable Example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

This example toggles the AnnAutoDrawEnable property.

if (m_Lead1.GetAnnAutoDrawEnable() == TRUE)
   m_Lead1.SetAnnAutoDrawEnable(FALSE);
else
   m_Lead1.SetAnnAutoDrawEnable(TRUE);