typedef enum tagANNCHANGETYPE{ANNCHANGE_TAG = 1, // Tag LAnnotation::SetTagANNCHANGE_VISIBLE = 2, // Visible LAnnotation::SetVisibleANNCHANGE_SELECTED = 3, // Selected LAnnotation::SetSelectedANNCHANGE_FONT_BOLD = 4, // Font bold LAnnotation::SetFontBoldANNCHANGE_FONT_ITALIC = 5, // Font italic LAnnotation::SetFontItalicANNCHANGE_FONT_STRIKETHROUGH = 6, // Font strike-through LAnnotation::SetFontStrikeThroughANNCHANGE_FONT_UNDERLINE = 7, // Font underline LAnnotation::SetFontUnderlineANNCHANGE_LINEWIDTH = 8, // Line width LAnnAutomation::SetLineWidthANNCHANGE_LINESTYLE = 9, // Line style LAnnAutomation::SetLineStyleANNCHANGE_FILLPATTERN = 10, // Fill pattern LAnnAutomation::SetFillPatternANNCHANGE_FILLMODE = 11, // Fill mode LAnnotation::SetFillModeANNCHANGE_POLYFILLMODE = 12, // Poly fill mode LAnnAutomation::SetPolyFillModeANNCHANGE_FONT_SIZE = 13, // Font size LAnnotation::SetFontSizeANNCHANGE_FORECOLOR = 14, // Foreground color LAnnotation::SetForeColorANNCHANGE_BACKCOLOR = 15, // Background color LAnnotation::SetBackColorANNCHANGE_TRANSPARENT_COLOR = 16, // Transparent color LAnnAutomation::SetTransparentColorANNCHANGE_TRANSPARENT = 17, // Transparent LAnnAutomation::SetTransparentANNCHANGE_FONT_NAME = 18, // Font name LAnnotation::SetFontNameANNCHANGE_TEXT = 19, // Text LAnnAutomation::SetTextANNCHANGE_ROP2 = 20, // ROP2 code LAnnotation::SetROP2ANNCHANGE_BITMAP = 21, // Bitmap LAnnContainer::SetBitmapANNCHANGE_BITMAP2 = 22, // Secondary bitmap LAnnPushPin::SetSecondaryBitmapANNCHANGE_METAFILE = 23, // Metafile LAnnStamp::SetMetafileANNCHANGE_METAFILE2 = 24, // Decrypt metafile LAnnStamp::SetMetafile//ANNCHANGE_NAME_FORECOLOR = 30, // Name foreground color LAnnotation::SetNameOptionsANNCHANGE_NAME_BACKCOLOR = 31, // Name background color LAnnotation::SetNameOptionsANNCHANGE_NAME_SHOWNAME = 32, // Name--show name LAnnotation::SetNameOptionsANNCHANGE_NAME_OFFSET = 33, // Name offset LAnnotation::SetNameOptionsANNCHANGE_NAME_RESTRICT = 34, // Name restrict LAnnotation::SetNameOptionsANNCHANGE_NAME_BACKTRANSPARENT = 35, // Name background transparent LAnnotation::SetNameOptionsANNCHANGE_NAME_TEXT = 36, // Name text LAnnotation::SetNameOptionsANNCHANGE_NAME_FONT_NAME = 37, // Name--font name LAnnotation::SetNameOptionsANNCHANGE_NAME_FONT_BOLD = 38, // Name--font bold LAnnotation::SetNameOptionsANNCHANGE_NAME_FONT_ITALIC = 39, // Name--font italic LAnnotation::SetNameOptionsANNCHANGE_NAME_FONT_STRIKEOUT = 40, // Name--font strikethrough LAnnotation::SetNameOptionsANNCHANGE_NAME_FONT_UNDERLINE = 41, // Name--font underline LAnnotation::SetNameOptionsANNCHANGE_NAME_FONT_SIZE = 42, // Name--font size LAnnotation::SetNameOptions//ANNCHANGE_POINT_USE_BITMAP = 50, // Point--use bitmap LAnnPoint::SetPointOptionsANNCHANGE_POINT_RADIUS = 51, // Point--radius in pixels LAnnPoint::SetPointOptionsANNCHANGE_POINT_BORDER_COLOR = 52, // Point--border color LAnnPoint::SetPointOptionsANNCHANGE_POINT_FILL_COLOR = 53, // Point--fill color LAnnPoint::SetPointOptionsANNCHANGE_POINT_TRANSPARENT_FILL = 54, // Point--transparent fill LAnnPoint::SetPointOptionsANNCHANGE_POINT_FIXED_SIZE = 55, // Point--fixed size LAnnPoint::SetPointOptions//ANNCHANGE_SHOW_DEFAULT_HANDLES = 60, // Show default handles LAnnAutomation::SetNodesANNCHANGE_GAP_DEFAULT_HANDLES = 61, // Handle gap LAnnAutomation::SetNodesANNCHANGE_HYPERLINK = 62, // Hyperlink options LAnnotation::SetHyperlink// Ruler changesANNCHANGE_GAUGELENGTH = 70, // Gauge length LAnnAutomation::SetGaugeLengthANNCHANGE_TICMARKLENGTH = 71, // TicMark Length LAnnAutomation::SetTicMarkLengthANNCHANGE_BITMAP_DPI_X = 72, // Bitmap DPI -- horizontal LAnnAutomation::SetBitmapDpiXANNCHANGE_BITMAP_DPI_Y = 73, // Bitmap DPI -- vertical LAnnAutomation::SetBitmapDpiYANNCHANGE_RULER_UNIT = 74, // Ruler unit, abreviation, precision LAnnAutomation::SetUnitANNCHANGE_RULER_SHOW_FLAGS = 75, // Ruler show flags LAnnAutomation::SetShowFlagsANNCHANGE_PROTRACTOR = 76, // Protractor options LAnnProtractor::SetProtractorOptionsANNCHANGE_ENCRYPTOR_TYPE = 80, // Encryptor type LAnnEncrypt::SetEncryptOptionsANNCHANGE_ENCRYPTOR_KEY = 81, // Encryptor key LAnnEncrypt::SetEncryptOptionsANNCHANGE_ENCRYPTOR_NEVER_ENCRYPTED = 82, // Indicates if never encrypted LAnnEncrypt::SetEncryptOptionsANNCHANGE_ENCRYPTOR_BITMAP = 83, // Bitmap to be encrypted LAnnEncrypt::SetEncryptOptionsANNCHANGE_ENCRYPTOR_SAVE_ENCRYPTOR_KEY = 84, // Save Encryptor Key LAnnAutomation::SetEncryptOptionsANNCHANGE_DECRYPTOR_SAVE_DECRYPTOR_KEY = 85, // Save Decryptor Key LAnnAutomation::SetEncryptOptions///ANNCHANGE_MOVE = 90, // Object is movingANNCHANGE_MOVE_POINT = 91, // Point on object is movingANNCHANGE_RESIZE = 92, // Object resizedANNCHANGE_ROTATE = 93, // Object rotatedANNCHANGE_RESIZE_ROTATE = 94, // Object is being resized and rotated//ANNCHANGE_UNDO = 100, // Annotation undo LAnnAutomation::UndoANNCHANGE_CUT = 101, // Annotation cut to clipboard LAnnotation::CutToClipboardANNCHANGE_PASTE = 102, // Annotation paste LAnnotation::CopyFromClipboardANNCHANGE_DELETE = 103, // Object being deleted LAnnotation::DestroyANNCHANGE_SELECT_ALL = 104, // All objects being selectedANNCHANGE_BRING_TO_FRONT = 105, // Menu: Bring To Front --Bring selected object to front of Z-orderANNCHANGE_BRING_TO_BACK = 106, // Menu: Bring To Back -- Bring selected object to back of Z-OrderANNCHANGE_LOCK = 107, // Lock one object LAnnotation::LockANNCHANGE_UNLOCK = 108, // Unlock one object LAnnotation::UnlockANNCHANGE_LOCK_SELECTED = 109, // Menu: Lock selected objectsANNCHANGE_UNLOCK_SELECTED = 110, // Menu: Unlock selected objectsANNCHANGE_INSERT = 111, // Insert object into container LAnnContainer::InsertANNCHANGE_NOTE_BACKCOLOR = 112, // Menu: Default Properties->Note Background ColorANNCHANGE_HILITE_BACKCOLOR = 113, // Menu: Default Properties->Hilite Background ColorANNCHANGE_REDACT_BACKCOLOR = 114, // Menu: Default Properties->Redact Background ColorANNCHANGE_ENCRYPT_METAFILE = 115, // Menu: Default Properties->Encrypt MetafileANNCHANGE_DECRYPT_METAFILE = 116, // Menu: Default Properties->Decrypt MetafileANNCHANGE_HOTSPOT_METAFILE = 117, // Menu: Default Properties->Hotspot MetafileANNCHANGE_TEXT_ALIGN = 118, // LAnnAutomation::SetTextAlignANNCHANGE_TEXT_ROTATE = 119, // LAnnAutomation::SetTextRotateANNCHANGE_TEXPOINTER_FIXED = 120, // LAnnAutomation::SetTextPointerFixedANNCHANGE_TEXT_EXPANDTOKENS = 121, // LAnnAutomation::SetTextExpandTokensANNCHANGE_FIXED = 122, // LAnnAutomation::SetFixedANNCHANGE_MOVE_SELECTED = 123, // Fired when moving 1 or more selected objectsANNCHANGE_RESIZE_SELECTED = 124, // Fired when resizing 1 or more selected objectsANNCHANGE_ROTATE_SELECTED = 125, // Fired when rotating 1 or more selected objectsANNCHANGE_CONTAINER_RECURSE = 126, // Fired when applying a change recursively to a container (i.e. change forecolor)ANNCHANGE_LAST,} ANNCHANGETYPE, *pANNCHANGETYPE;
The following constants are used in the WM_LTANNEVENT message when wParam is LTANNEVENT_AUTOITEMCHANGING. In this case, lParam points to a structure of type ANNCHANGEPARAM, and the uChange fields is a constant from the following list.
In the comment below, the first word is a description of the annotation property that is changed. If there is a reference to an LAnnXXXX function, see the documentation of the function for a complete description of the property.
Please note that formerly ANNCHANGE_DELETE had the value [0] and ANNCHANGE_ROTATE had the value [93].
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
