Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LTDScreenCaptureInterop - Screen Capture COM Interop

The following table lists .NET screen capture functions and provides cross-references to their COM counterparts:

.Net Syntax COM Interop Syntax Related Properties
Color TextBackgroundColor LTDInterop.RasterColor IScreenCaptureAreaOptions.TextBackgroundColor
Color TextForegroundColor LTDInterop.RasterColor IScreenCaptureAreaOptions.TextForegroundColor
Cursor DrawCursor Int32 IScreenCaptureAreaOptions.DrawCursor
Color DrawLineColor LTDInterop.RasterColor IScreenCaptureAreaOptions.DrawLineColor
Color FillBackgroundColor LTDInterop.RasterColor IScreenCaptureAreaOptions.FillBackgroundColor
Color FillForegroundColor LTDInterop.RasterColor IScreenCaptureAreaOptions.FillForegroundColor
public RasterImage CaptureWindow(IntPtr windowHandle, ScreenCaptureWindowType captureType, ScreenCaptureInformation captureInformation) LTDInterop.RasterImage IScreenCaptureEngine.CaptureWindow(Int32 windowHandle, LTDScreenCaptureInterop.ScreenCaptureWindowType captureType, LTDScreenCaptureInterop.ScreenCaptureInformation captureInformation)
RasterImage CaptureMouseCursor(Color fillColor, ScreenCaptureInformation captureInformation) LTDInterop.RasterImage IScreenCaptureEngine.CaptureMouseCursor(LTDInterop.RasterColor fillColor, LTDScreenCaptureInterop.ScreenCaptureInformation captureInformation)
ScreenCaptureOptions ShowCaptureOptionsDialog(IWin32Window owner, ScreenCaptureDialogFlags flags, ScreenCaptureOptions captureOptions, ScreenCaptureHelpCallback helpCallback) LTDScreenCaptureInterop.ScreenCaptureOptions IScreenCaptureEngine.ShowCaptureOptionsDialog(Int32 owner, LTDScreenCaptureInterop.ScreenCaptureDialogFlags flags, LTDScreenCaptureInterop.ScreenCaptureOptions captureOptions) OnScreenCaptureHelp, EnableEvent, DisableEvent.
ScreenCaptureAreaOptions ShowCaptureAreaOptionsDialog(IWin32Window owner, ScreenCaptureDialogFlags flags, ScreenCaptureAreaOptions captureAreaOptions, bool useDefault, ScreenCaptureHelpCallback helpCallback) LTDScreenCaptureInterop.ScreenCaptureAreaOptions IScreenCaptureEngine.ShowCaptureAreaOptionsDialog(Int32 owner, LTDScreenCaptureInterop.ScreenCaptureDialogFlags flags, LTDScreenCaptureInterop.ScreenCaptureAreaOptions captureAreaOptions, Boolean useDefault) OnScreenCaptureHelp, EnableEvent, DisableEvent.
ScreenCaptureObjectOptions ShowCaptureObjectOptionsDialog(IWin32Window owner, ScreenCaptureDialogFlags flags, ScreenCaptureObjectOptions captureObjectOptions, bool useDefault, ScreenCaptureHelpCallback helpCallback) LTDScreenCaptureInterop.ScreenCaptureObjectOptions IScreenCaptureEngine.ShowCaptureObjectOptionsDialog(Int32 owner, LTDScreenCaptureInterop.ScreenCaptureDialogFlags flags, LTDScreenCaptureInterop.ScreenCaptureObjectOptions captureObjectOptions, Boolean useDefault) OnScreenCaptureHelp, EnableEvent, DisableEvent.
RasterImage ShowCaptureFromExeDialog(string fileName, Color transparentColor, ScreenCaptureResourceType resourceType, ScreenCaptureFromExeDialogType dialogType, ScreenCaptureDialogFlags flags, ScreenCaptureInformation captureInformation, ScreenCaptureHelpCallback helpCallback) LTDInterop.RasterImage IScreenCaptureEngine.ShowCaptureFromExeDialog(String fileName, LTDInterop.RasterColor transparentColor, LTDScreenCaptureInterop.ScreenCaptureResourceType resourceType, LTDScreenCaptureInterop.ScreenCaptureFromExeDialogType dialogType, LTDScreenCaptureInterop.ScreenCaptureDialogFlags flags, LTDScreenCaptureInterop.ScreenCaptureInformation captureInformation) OnScreenCaptureHelp, EnableEvent, DisableEvent.
RasterImageCaptureFromExe(string fileName, ScreenCaptureResourceType resourceType, string resourceId, bool captureByIndex, Color backgroundColor) LTDInterop.RasterImage IScreenCaptureEngine.CaptureFromExe(String fileName, LTDScreenCaptureInterop.ScreenCaptureResourceType resourceType, String resourceId, Boolean captureByIndex, LTDInterop.RasterColor backgroundColor)
void SetCaptureHotkeyCallback(ScreenCaptureHotkeyCallback callback) void IScreenCaptureEngine.SetCaptureHotkeyCallback() OnScreenCaptureHotkey, EnableEvent, DisableEvent.
IntPtr WindowHandle Int32 IScreenCaptureInformation.WindowHandle

The following topics provide comparisons between COM functions and their .NET counterparts:

Programming With LEADTOOLS COM Interoperability Functions