CaptureMenuUnderCursor Example for Visual Basic
'set a 5 sec delay
LEADRasterScr1.CaptureDelay = 5000
'capture a menu
LEADRasterScr1.CaptureMenuUnderCursor
'copy the captured image to a Main Control
LEADRasterView1.Raster Bitmap = LEADRasterScr1.Bitmap