You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Events > ClickMenu Event
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.ClickMenu Event

Occurs when an item of the contextual menu has been clicked.

C#
public event ClickMenu;
Visual Basic
Public Event ClickMenu(ByVal MenuItem As Integer)
Parameters
Parameters 
Description 
MenuItem 
Item Index.
Can be: 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
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 to Clipboard
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
28: Mouse Mode -> Nothing
29: Mouse Mode -> Hand Pan Tool
30: Mouse Mode -> Area Selection Tool
31: Left Click -> Area Zooming Tool
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
 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.