Disconnect
It is important to disconnect NotateXpress™ from ImagXpress® before exiting the application, otherwise resource and memory leaks can result.
- If you connected using the Client property, set the Client property to a null string.
- If you connected with a call to SetClientWindow, call it again with null or, call InterfaceDisconnect.
Generate a Debug Log
To generate a debug log file, set Debug to True. The log file is kept at the location specified by DebugLogFile. Set the DebugErrorLevel to indicate the level of detail logged. Setting the DebugErrorLevel to Development or Detailed offers more information than Production level.
Error Codes and Descriptions
The following errors can be raised or returned by NotateXpress properties and methods:
-
3000 — Could not load a required dll
-
3001 — (unused)
-
3002 — Invalid client window handle
-
3003 — (unused)
-
3004 — No current layer
-
3005 — Invalid tool
-
3006 — Invalid annotation file
-
3007 — (unused)
-
3008 — File write error
-
3009 — File open error
-
3010 — Could not create storage
-
3011 — Storage stream error
-
3012 — Invalid color type
-
3013 — Invalid layer
-
3014 — Invalid font
-
3015 — Invalid attribute
-
3016 — No selection
-
3017 — (unused)
-
3018 — Unsupported method
-
3019 — Branding error
-
3020 — (unused)
-
3021 — (unused)
-
3022 — (unused)
-
3023 — Invalid variant
-
3024 — Invalid password
-
3025 — Invalid point
-
3026 — Item not found
-
3027 — (unused)
-
3028 — Out of Memory
-
3029 — (unused)
-
3030 — (unused)
-
3031 — (unused)
-
3032 — (unused)
-
3033 — Invalid Context
-
3034 — Invalid Mode
-
3035 — Clipboard Error
-
3036 — Invalid Context ID
-
3037 — Invalid WangType
-
3038 — Duplicate MenuID
-
3039 — (unused)
-
3040 — (unused)
-
3041 — Invalid Cursor Type
-
3042 — Invalid TIFF annotation type
-
3043 — Invalid Source DIB
-
3044 — Invalid Hatch Style
-
3045 — Error Creating Group
-
3046 — Invalid Group
-
3047 — Duplicate Item
-
3048 — Invalid Item
-
3049 — (unused)
-
3050 — (unused)
-
3051 — Invalid Error Level
-
3052 — Invalid Parameter
-
3053 — Invalid Legacy annotation coordinates
-
3054 — Invalid Legacy annotation record
-
3055 — Invalid Legacy annotation direction
-
3056 — Invalid Legacy annotation arrows
-
3057 — Invalid Legacy annotation alignment
-
3058 — Invalid Legacy annotation redaction flag
-
3059 — Invalid Legacy annotation color map
-
3060 — Invalid Legacy annotation transparent flag
-
3061 — Invalid Legacy annotation activate code
-
3062 — Invalid Legacy annotation border style
-
3063 — (unused)
-
3064 — (unused)
-
3065 — Invalid Legacy annotation file header
-
3066 — (unused)
-
3067 — Invalid Legacy annotation file version
-
3068 — (unused)
-
3069 — Invalid XML file header
-
3070 — XML General error
-
3071 — XML Fatal error
-
3072 — Invalid page data
-
3073 — Page not found
-
3074 — Unsecure Filename Path or Extension