Saving to Annotation File
Annotations can be saved to a separate annotation file using the StoreAnnotation method. This creates a .nxp file which retains all layers and their state information (e.g., toolbar defaults, etc.). The annotation file properties ( Author, Comments, Subject and Title ) can be displayed in Windows Explorer by right-clicking on the saved file and viewing the file’s Properties.
![]() |
NXP annotations files on disk can only be read if they were originally created using StoreAnnotation(). If they were created using GetAnnIntoVariant() or GetLayerIntoVariant(), they cannot be read correctly from disk. |
Saving to Variant
NotateXpress™ also provides methods for saving annotations via variant variables. First set the AnnotationType property is set to NX_AnnotationType_NXP. When the application calls GetAnnIntoVariant or GetLayerIntoVariant, a variant byte array is created, which can be stored to database or any other store.