LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly)
LEAD Technologies, Inc

ShowCaptureAreaOptionsDialog Method






Handle to the owner window.
Flags that determine the options dialog. For possible values refer to ScreenCaptureDialogFlags.
A ScreenCaptureAreaOptions structure to be filled with the data from the dialog.
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.
A delegate method that will handle the event.
Displays a dialog, and fills a ScreenCaptureAreaOptions structure.
Syntax
'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
'Usage
 
Dim instance As ScreenCaptureEngine
Dim owner As IWin32Window
Dim flags As ScreenCaptureDialogFlags
Dim captureAreaOptions As ScreenCaptureAreaOptions
Dim useDefault As Boolean
Dim helpCallback As ScreenCaptureHelpCallback
Dim value As ScreenCaptureAreaOptions
 
value = instance.ShowCaptureAreaOptionsDialog(owner, flags, captureAreaOptions, useDefault, helpCallback)
 function Leadtools.ScreenCapture.ScreenCaptureEngine.ShowCaptureAreaOptionsDialog( 
   owner ,
   flags ,
   captureAreaOptions ,
   useDefault ,
   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.
Example
For an example, refer to ScreenCaptureEngine.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ScreenCaptureEngine Class
ScreenCaptureEngine Members
Implementing Screen Capture
CaptureOptions Property
ShowCaptureOptionsDialog Method
ShowCaptureObjectOptionsDialog Method
DefaultCaptureAreaOptions Property
DefaultCaptureObjectOptions Property
ScreenCaptureOptions Structure
ScreenCaptureAreaOptions Structure
ScreenCaptureObjectOptions Structure
ScreenCaptureInformation Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.