AnnSaveTag example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

The following example saves selected objects as a Wang compatible TIFF tag.

    // Save only selected objects in Wang TIFF tag
    m_Lead1.AnnSaveTag(TRUE,TRUE);
    
    m_Lead1.Save("d:\\temp\\testwang.tif", FILE_CCITT_GROUP4, 1, 2, SAVE_OVERWRITE);