Accusoft.NotateXpress13.Net
Save Annotations as Tags in a TIFF file

To save annotations as tags in a TIFF file, enable annotation saving by ensuring that the ImagXpress.SaveOptions.Annotations.Save property is set to true and the NotateXpress.ImagXpressSave property is set to true.  If either of these is not set, annotations will not be saved to the file.

Then specify the NotateXpress.SaveOptions to provide specific instructions for saving the annotations with the image. Only annotations of type ImagingForWindows (WANG) and NotateXpress (NXP) can be saved as part of the TIFF file.

The only NX annotation types you can correctly save to Wang are:

  • Freehand
  • Image
  • Line
  • Rectangle
  • Stamp
  • Text
C# Example
Copy Code
// When a TIFF file is saved by ImagXpress, the associated annotations should be saved with it
myImageX.SaveOptions.Annotations.Save = true;
notateXpress1.ImagXpressSave = true;
// Annotations should be saved as notateXpress tags in the TIFF file
notateXpress1.saveOptions.AnnType = AnnotationType.NotateXpress;
// Save the TIFF file with annotations
myImageX.Save(myTIFFfile, myIXSaveOptions);

 

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback