ANNCHANGETYPE

typedef enum tagANNCHANGETYPE 
{ 
   ANNCHANGE_TAG                       =   1,   // tag                           L_AnnSetTag 
   ANNCHANGE_VISIBLE                   =   2,   // visible                       L_AnnSetVisible 
   ANNCHANGE_SELECTED                  =   3,   // selected                      L_AnnSetSelected 
   ANNCHANGE_FONT_BOLD                 =   4,   // font bold                     L_AnnSetFontBold 
   ANNCHANGE_FONT_ITALIC               =   5,   // font italic                   L_AnnSetFontItalic 
   ANNCHANGE_FONT_STRIKETHROUGH        =   6,   // font strike-through           L_AnnSetFontStrikeThrough 
   ANNCHANGE_FONT_UNDERLINE            =   7,   // font underline                L_AnnSetFontUnderline 
   ANNCHANGE_LINEWIDTH                 =   8,   // line width                    L_AnnSetLineWidth 
   ANNCHANGE_LINESTYLE                 =   9,   // line style                    L_AnnSetLineStyle 
   ANNCHANGE_FILLPATTERN               =  10,   // fill pattern                  L_AnnSetFillPattern 
   ANNCHANGE_FILLMODE                  =  11,   // fill mode                     L_AnnSetFillMode 
   ANNCHANGE_POLYFILLMODE              =  12,   // poly fill mode                L_AnnSetPolyFillMode 
   ANNCHANGE_FONT_SIZE                 =  13,   // font size                     L_AnnSetFontSize 
   ANNCHANGE_FORECOLOR                 =  14,   // foreground color              L_AnnSetForeColor 
   ANNCHANGE_BACKCOLOR                 =  15,   // background color              L_AnnSetBackColor 
   ANNCHANGE_TRANSPARENT_COLOR         =  16,   // transparent color             L_AnnSetTransparentColor 
   ANNCHANGE_TRANSPARENT               =  17,   // transparent                   L_AnnSetTransparent 
   ANNCHANGE_FONT_NAME                 =  18,   // font name                     L_AnnSetFontName 
   ANNCHANGE_TEXT                      =  19,   // text                          L_AnnSetText 
   ANNCHANGE_ROP2                      =  20,   // ROP2 code                     L_AnnSetROP2 
   ANNCHANGE_BITMAP                    =  21,   // Bitmap                        L_AnnSetBitmap 
   ANNCHANGE_BITMAP2                   =  22,   // Secondary bitmap              L_AnnSetSecondaryBitmap 
   ANNCHANGE_METAFILE                  =  23,   // Metafile                      L_AnnSetMetafile 
   ANNCHANGE_METAFILE2                 =  24,   // Decrypt metafile              L_AnnSetMetafile 
   // 
   ANNCHANGE_NAME_FORECOLOR            =  30,   // Name foreground color         L_AnnSetNameOptions 
   ANNCHANGE_NAME_BACKCOLOR            =  31,   // Name background color         L_AnnSetNameOptions 
   ANNCHANGE_NAME_SHOWNAME             =  32,   // Name--show name               L_AnnSetNameOptions 
   ANNCHANGE_NAME_OFFSET               =  33,   // Name offset                   L_AnnSetNameOptions 
   ANNCHANGE_NAME_RESTRICT             =  34,   // Name restrict                 L_AnnSetNameOptions 
   ANNCHANGE_NAME_BACKTRANSPARENT      =  35,   // Name background transparent   L_AnnSetNameOptions 
   ANNCHANGE_NAME_TEXT                 =  36,   // Name text                     L_AnnSetNameOptions 
   ANNCHANGE_NAME_FONT_NAME            =  37,   // Name--font name               L_AnnSetNameOptions 
   ANNCHANGE_NAME_FONT_BOLD            =  38,   // Name--font bold               L_AnnSetNameOptions 
   ANNCHANGE_NAME_FONT_ITALIC          =  39,   // Name--font italic             L_AnnSetNameOptions 
   ANNCHANGE_NAME_FONT_STRIKEOUT       =  40,   // Name--font strikethrough      L_AnnSetNameOptions 
   ANNCHANGE_NAME_FONT_UNDERLINE       =  41,   // Name--font underline          L_AnnSetNameOptions 
   ANNCHANGE_NAME_FONT_SIZE            =  42,   // Name--font size               L_AnnSetNameOptions 
   // 
   ANNCHANGE_POINT_USE_BITMAP          =  50,   // Point--use bitmap             L_AnnSetPointOptions 
   ANNCHANGE_POINT_RADIUS              =  51,   // Point--radius in pixels       L_AnnSetPointOptions 
   ANNCHANGE_POINT_BORDER_COLOR        =  52,   // Point--border color           L_AnnSetPointOptions 
   ANNCHANGE_POINT_FILL_COLOR          =  53,   // Point--fill color             L_AnnSetPointOptions 
   ANNCHANGE_POINT_TRANSPARENT_FILL    =  54,   // Point--transparent fill       L_AnnSetPointOptions 
   ANNCHANGE_POINT_FIXED_SIZE          =  55,   // Point--fixed size             L_AnnSetPointOptions 
   // 
   ANNCHANGE_SHOW_DEFAULT_HANDLES      =  60,   // Show default handles          L_AnnSetNodes 
   ANNCHANGE_GAP_DEFAULT_HANDLES       =  61,   // Handle gap                    L_AnnSetNodes 
   ANNCHANGE_HYPERLINK                 =  62,   // Hyperlink options             L_AnnSetHyperlink 
   // Ruler changes 
   ANNCHANGE_GAUGELENGTH               =  70,   // Gauge length                  L_AnnSetGaugeLength 
   ANNCHANGE_TICMARKLENGTH             =  71,   // TicMark Length                L_AnnSetTicMarkLength 
   ANNCHANGE_BITMAP_DPI_X              =  72,   // Bitmap DPI -- horizontal      L_AnnSetBitmapDpiX 
   ANNCHANGE_BITMAP_DPI_Y              =  73,   // Bitmap DPI -- vertical        L_AnnSetBitmapDpiY 
   ANNCHANGE_RULER_UNIT                =  74,   // Ruler unit, abreviation, precision  L_AnnSetUnit 
   ANNCHANGE_RULER_SHOW_FLAGS          =  75,   // Ruler show flags              L_AnnSetShowFlags 
   ANNCHANGE_PROTRACTOR                =  76,   // Protractor options            L_AnnSetProtractorOptions 
   ANNCHANGE_ENCRYPTOR_TYPE            =  80,   // Encryptor type                L_AnnSetEncryptOptions 
   ANNCHANGE_ENCRYPTOR_KEY             =  81,   // Encryptor key                 L_AnnSetEncryptOptions 
   ANNCHANGE_ENCRYPTOR_NEVER_ENCRYPTED =  82,   // Indicates if never encrypted  L_AnnSetEncryptOptions 
   ANNCHANGE_ENCRYPTOR_BITMAP          =  83,   // Bitmap to be encrypted        L_AnnSetEncryptOptions 
   ANNCHANGE_ENCRYPTOR_SAVE_ENCRYPTOR_KEY=  84,   // Save Encryptor Key            L_AnnSetEncryptOptions 
   ANNCHANGE_DECRYPTOR_SAVE_DECRYPTOR_KEY=  85,   // Save Decryptor Key            L_AnnSetEncryptOptions 
   /// 
   ANNCHANGE_MOVE                      =  90,   // Object is moving 
   ANNCHANGE_MOVE_POINT                =  91,   // Point on object is moving 
   ANNCHANGE_RESIZE                    =  92,   // Object resized 
   ANNCHANGE_ROTATE                    =  93,   // Object rotated 
   ANNCHANGE_RESIZE_ROTATE             =  94,   // Object is being resized and rotated 
   // 
   ANNCHANGE_UNDO                      = 100,   // Annotation undo               L_AnnUndo 
   ANNCHANGE_CUT                       = 101,   // Annotation cut to clipboard   L_AnnCutToClipboard 
   ANNCHANGE_PASTE                     = 102,   // Annotation paste              L_AnnCopyFromClipboard 
   ANNCHANGE_DELETE                    = 103,   // Object being deleted          L_AnnDestroy 
   ANNCHANGE_SELECT_ALL                = 104,   // All objects being selected 
   ANNCHANGE_BRING_TO_FRONT            = 105,   // Menu: Bring To Front --Bring selected object to front of Z-order 
   ANNCHANGE_BRING_TO_BACK             = 106,   // Menu: Bring To Back -- Bring selected object to back of Z-Order 
   ANNCHANGE_LOCK                      = 107,   // Lock one object               L_AnnLock 
   ANNCHANGE_UNLOCK                    = 108,   // Unlock one object             L_AnnUnlock 
   ANNCHANGE_LOCK_SELECTED             = 109,   // Menu: Lock selected objects 
   ANNCHANGE_UNLOCK_SELECTED           = 110,   // Menu: Unlock selected objects 
   ANNCHANGE_INSERT                    = 111,   // Insert object into container  L_AnnInsert 
   ANNCHANGE_NOTE_BACKCOLOR            = 112,   // Menu: Default Properties->Note Background Color 
   ANNCHANGE_HILITE_BACKCOLOR          = 113,   // Menu: Default Properties->Hilite Background Color 
   ANNCHANGE_REDACT_BACKCOLOR          = 114,   // Menu: Default Properties->Redact Background Color 
   ANNCHANGE_ENCRYPT_METAFILE          = 115,   // Menu: Default Properties->Encrypt Metafile 
   ANNCHANGE_DECRYPT_METAFILE          = 116,   // Menu: Default Properties->Decrypt Metafile 
   ANNCHANGE_HOTSPOT_METAFILE          = 117,   // Menu: Default Properties->Hotspot Metafile 
   ANNCHANGE_TEXT_ALIGN                = 118,   // L_AnnSetTextAlign 
   ANNCHANGE_TEXT_ROTATE               = 119,   // L_AnnSetTextRotate 
   ANNCHANGE_TEXPOINTER_FIXED          = 120,   // L_AnnSetTextPointerFixed 
   ANNCHANGE_TEXT_EXPANDTOKENS         = 121,   // L_AnnSetTextExpandTokens 
   ANNCHANGE_FIXED                     = 122,   // L_AnnSetFixed 
   ANNCHANGE_MOVE_SELECTED             = 123,   // Fired when moving 1 or more selected objects 
   ANNCHANGE_RESIZE_SELECTED           = 124,   // Fired when resizing 1 or more selected objects 
   ANNCHANGE_ROTATE_SELECTED           = 125,   // Fired when rotating 1 or more selected objects 
   ANNCHANGE_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 L_AnnXXXX 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 [1].

Help Version 21.0.2023.2.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.