LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ShowCaptureObjectOptionsDialog Method
See Also 
Leadtools.ScreenCapture Namespace > ScreenCaptureEngine Class : ShowCaptureObjectOptionsDialog Method



owner
Handle to the owner window.
flags
Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
captureObjectOptions
A Leadtools.ScreenCapture.ScreenCaptureObjectOptions structure to be filled with the data from the dialog.
useDefault
If true, the dialog will start with default values. Otherwise the dialog will use the values specified by the captureObjectOptions structure. These values must be valid values or the dialog will return an error code.
helpCallback
A delegate method that will handle the event.
owner
Handle to the owner window.
flags
Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
captureObjectOptions
A Leadtools.ScreenCapture.ScreenCaptureObjectOptions structure to be filled with the data from the dialog.
useDefault
If true, the dialog will start with default values. Otherwise the dialog will use the values specified by the captureObjectOptions structure. These values must be valid values or the dialog will return an error code.
helpCallback
A delegate method that will handle the event.
Displays a dialog to retrieve the options for the CaptureSelectedObject method.

Syntax

Visual Basic (Declaration) 
Public Function ShowCaptureObjectOptionsDialog( _
   ByVal owner As IWin32Window, _
   ByVal flags As ScreenCaptureDialogFlags, _
   ByVal captureObjectOptions As ScreenCaptureObjectOptions, _
   ByVal useDefault As Boolean, _
   ByVal helpCallback As ScreenCaptureHelpCallback _
) As ScreenCaptureObjectOptions
Visual Basic (Usage)Copy Code
Dim instance As ScreenCaptureEngine
Dim owner As IWin32Window
Dim flags As ScreenCaptureDialogFlags
Dim captureObjectOptions As ScreenCaptureObjectOptions
Dim useDefault As Boolean
Dim helpCallback As ScreenCaptureHelpCallback
Dim value As ScreenCaptureObjectOptions
 
value = instance.ShowCaptureObjectOptionsDialog(owner, flags, captureObjectOptions, useDefault, helpCallback)

Parameters

owner
Handle to the owner window.
flags
Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
captureObjectOptions
A Leadtools.ScreenCapture.ScreenCaptureObjectOptions structure to be filled with the data from the dialog.
useDefault
If true, the dialog will start with default values. Otherwise the dialog will use the values specified by the captureObjectOptions structure. These values must be valid values or the dialog will return an error code.
helpCallback
A delegate method that will handle the event.

Return Value

Returns the value of the dialog box that specifies the identifiers.

Example

For an example, refer to ScreenCaptureEngine.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also