GdPicture.NET Reference Guide
GdViewer.ClickMenuEventHandler Delegate





GdPicture14 Namespace : GdViewer.ClickMenuEventHandler Delegate
Defines the event handler for the GdViewer.ClickMenu event.
Syntax
'Declaration
 
Public Delegate Sub GdViewer.ClickMenuEventHandler( _
   ByVal MenuItem As Integer _
) 
public delegate void GdViewer.ClickMenuEventHandler( 
   int MenuItem
)
public delegate GdViewer.ClickMenuEventHandler( 
    MenuItem: Integer
);
public delegate GdViewer.ClickMenuEventHandler( 
   MenuItem : int
)
public: __gc __delegate void GdViewer.ClickMenuEventHandler( 
   int MenuItem
)
public delegate void GdViewer.ClickMenuEventHandler( 
   int MenuItem
)

Parameters

MenuItem

The index of the menu item that has been clicked. The available values representing individual menu items are listed below (please see the corresponding ordering number for each menu item):

  1. Pages / Frames
  2. Pages / Frames -> Goto First
  3. Pages / Frames -> Goto Previous
  4. Pages / Frames -> Goto Next
  5. Pages / Frames -> Goto Last
  6. Play Gif
  7. Stop Gif Animation
  8. Rotations - Flips
  9. Rotations - Flips -> Rotate 90°
  10. Rotations - Flips -> Rotate 180°
  11. Rotations - Flips -> Rotate 270°
  12. Rotations - Flips -> Flip X
  13. Rotations - Flips -> RotateFlip 90°
  14. Rotations - Flips -> RotateFlip 180°
  15. Rotations - Flips -> RotateFlip 270°
  16. ScrollBars
  17. Copy Bitmap to Clipboard
  18. Zoom
  19. Zoom -> Zoom in
  20. Zoom -> Zoom out
  21. Zoom -> Zoom 100%
  22. Zoom -> Zoom to selected area
  23. Zoom -> Fit image to viewer (keep aspect ratio)
  24. Zoom -> Fit image to viewer (don't keep aspect ratio)
  25. Zoom -> Fit image to viewer width
  26. Zoom -> Fit image to viewer height
  27. Mouse Mode
  28. Mouse Mode -> Nothing
  29. Mouse Mode -> Hand Pan Tool
  30. Mouse Mode -> Area Selection Tool
  31. Left Click -> Area Zooming Tool
  32. Viewer Quality
  33. Viewer Quality -> Automatic
  34. Viewer Quality -> Quality Low
  35. Viewer Quality -> Quality Bilinear
  36. Viewer Quality -> Quality Bicubic
  37. Viewer Quality -> Quality Bilinear HQ
  38. Viewer Quality -> Quality Bicubic HQ
  39. Mouse Mode -> Magnifier Tool
  40. Copy Text to Clipboard
  41. Shrink image to viewer width
Example
Please follow the example attached to the GdViewer.ClickMenu event.
See Also

Reference

GdViewer.ClickMenuEventHandler Members
GdPicture14 Namespace
ClickMenu Event