Class ScreenSourceDialog
- Assembly
- VisioForge.Core.dll
Dialog window for configuring screen capture sources.
public class ScreenSourceDialog : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IComponentConnectorInheritance
Implements
Inherited Members
Remarks
This dialog provides a user interface for setting up screen capture parameters, allowing users to capture their desktop, specific monitors, or defined screen regions. It supports multi-monitor setups and provides options for capturing mouse cursors and setting capture frame rates.
Key features: - Multi-monitor support with display selection - Full screen or custom region capture - Mouse cursor capture option - Configurable frame rate for performance optimization - Real-time preview of capture settings
Common use cases: - Screen recording applications - Live streaming software - Remote desktop applications - Tutorial and presentation recording - Game capture and broadcasting
Performance considerations: - Higher frame rates require more CPU/GPU resources - Large capture areas impact performance - Mouse cursor capture adds minimal overhead - Hardware acceleration available on supported platforms
Constructors
ScreenSourceDialog()
Initializes a new instance of the VisioForge.Core.UI.WPF.Dialogs.Sources.ScreenSourceDialog class. Sets up the dialog for screen capture configuration.
public ScreenSourceDialog()Properties
DisplayIndex
Gets or sets the display/monitor index for screen capture.
public int DisplayIndex { get; set; }Property Value
FrameRate
Gets or sets the capture frame rate.
public VideoFrameRate FrameRate { get; set; }Property Value
FullScreen
Gets or sets a value indicating whether to capture the entire screen.
public bool FullScreen { get; set; }Property Value
GrabMouseCursor
Gets or sets a value indicating whether to include the mouse cursor in the capture.
public bool GrabMouseCursor { get; set; }Property Value
Rectangle
Gets or sets the capture rectangle when not capturing full screen.
public Rect Rectangle { get; set; }Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()