Reference Guide
GdPicture14 Namespace / GdViewer.ClickMenuEventHandler Delegate





In This Topic
    GdViewer.ClickMenuEventHandler Delegate
    In This Topic
    Defines the event handler for the GdViewer.ClickMenu event.
    Syntax
    'Declaration
     
    
    <GuidAttribute("6FA20F4B-414D-34FA-AEA9-52F614F0BFB4")>
    Public Delegate Sub GdViewer.ClickMenuEventHandler( _
       ByVal MenuItem As Integer _
    ) 
    [Guid("6FA20F4B-414D-34FA-AEA9-52F614F0BFB4")]
    public delegate void GdViewer.ClickMenuEventHandler( 
       int MenuItem
    )
    public delegate GdViewer.ClickMenuEventHandler( 
        MenuItem: Integer
    );
    GuidAttribute("6FA20F4B-414D-34FA-AEA9-52F614F0BFB4")
    public delegate GdViewer.ClickMenuEventHandler( 
       MenuItem : int
    )
    [Guid("6FA20F4B-414D-34FA-AEA9-52F614F0BFB4")]
    public: __gc __delegate void GdViewer.ClickMenuEventHandler( 
       int MenuItem
    )
    [Guid("6FA20F4B-414D-34FA-AEA9-52F614F0BFB4")]
    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