- owner
- Handle to the owner window.
- flags
- Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
- captureAreaOptions
- A ScreenCaptureAreaOptions 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 captureAreaOptions structure. These values must be valid values or the dialog will return an error code.
- helpCallback
- A delegate method that will handle the event.
Visual Basic (Declaration) | |
---|---|
Public Function ShowCaptureAreaOptionsDialog( _ ByVal owner As IWin32Window, _ ByVal flags As ScreenCaptureDialogFlags, _ ByVal captureAreaOptions As ScreenCaptureAreaOptions, _ ByVal useDefault As Boolean, _ ByVal helpCallback As ScreenCaptureHelpCallback _ ) As ScreenCaptureAreaOptions |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ScreenCaptureAreaOptions ShowCaptureAreaOptionsDialog( IWin32Window owner, ScreenCaptureDialogFlags flags, ScreenCaptureAreaOptions captureAreaOptions, bool useDefault, ScreenCaptureHelpCallback helpCallback ) |
C++/CLI | |
---|---|
public: ScreenCaptureAreaOptions ShowCaptureAreaOptionsDialog( IWin32Window owner, ScreenCaptureDialogFlags flags, ScreenCaptureAreaOptions captureAreaOptions, bool useDefault, ScreenCaptureHelpCallback^ helpCallback ) |
Parameters
- owner
- Handle to the owner window.
- flags
- Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
- captureAreaOptions
- A ScreenCaptureAreaOptions 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 captureAreaOptions 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.For an example, refer to ScreenCaptureEngine.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
ScreenCaptureEngine ClassScreenCaptureEngine Members
Implementing Screen Capture
CaptureOptions Property
ShowCaptureOptionsDialog Method
ShowCaptureObjectOptionsDialog Method
DefaultCaptureAreaOptions Property
DefaultCaptureObjectOptions Property
ScreenCaptureOptions Structure
ScreenCaptureAreaOptions Structure
ScreenCaptureObjectOptions Structure
ScreenCaptureInformation Class