Visual Basic (Declaration) | |
---|---|
Public Structure ScreenCaptureOptions Inherits ValueType |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public struct ScreenCaptureOptions : ValueType |
C++/CLI | |
---|---|
public value class ScreenCaptureOptions : public ValueType |
For an example, refer to ScreenCaptureEngine.
Normally, when a capture function is called, the function enters a loop, and waits
for the hot key specified in nHotKey to be pressed, at which point it performs the
capture. This loop can
cause the CPU usage indicator to appear maxed out.
Specifying the
OptimizedHotkey
property to be true
will cause the capture
method to return immediately (if a HotKey has been specified in Hotkey
).
In this case, a global system HotKey hook is established and used to wait for the
HotKey to be pressed. When the HotKey is pressed, the capture is performed and
the event handler is called with the results of the capture. Use this option only
if the normal behavior is causing your application problems. This option is
ignored in Win95/98/Me.
System.Object
System.ValueType
Leadtools.ScreenCapture.ScreenCaptureOptions
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
ScreenCaptureOptions MembersLeadtools.ScreenCapture Namespace
Implementing Screen Capture
CaptureOptions Property
ShowCaptureOptionsDialog Method
ShowCaptureAreaOptionsDialog Method
ShowCaptureObjectOptionsDialog Method
DefaultCaptureAreaOptions Property
DefaultCaptureObjectOptions Property
ScreenCaptureEngine Class
ScreenCaptureInformation Class
ScreenCaptureInformationEventArgs Class
ScreenCaptureAreaOptions Structure
ScreenCaptureObjectOptions Structure
ScreenCaptureException Class