Class ScreenCaptureXDisplaySourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Screen capture X Display source settings.
public class ScreenCaptureXDisplaySourceSettings : IScreenCaptureSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoSourceSettings, IMediaBlockSettingsInheritance
Implements
Inherited Members
Properties
CaptureCursor
Gets or sets a value indicating whether mouse cursor capture is enabled.
public bool CaptureCursor { get; set; }Property Value
DisplayName
Gets or sets the X Display name. Not set by default.
public string DisplayName { get; set; }Property Value
FrameRate
Gets or sets the frame rate.
public VideoFrameRate FrameRate { get; set; }Property Value
IsRemote
Gets or sets a value indicating whether the X display is remote. The element will try to use alternate calls known to work better with remote displays.
public bool IsRemote { get; set; }Property Value
Rectangle
Gets or sets the rectangle to capture.
public Rect Rectangle { get; set; }Property Value
UseDamage
Gets or sets a value indicating whether to use X Damage.
public bool UseDamage { get; set; }Property Value
XID
Gets or sets the XID of the window to capture. 0 for the root window (default).
public ulong XID { get; set; }Property Value
XName
Gets or sets the name of the window to capture, if any.
public string XName { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
GetSourceType()
Gets the type of the source.
public ScreenCaptureSourceType GetSourceType()Returns
- ScreenCaptureSourceType
-
ScreenCaptureSourceType.
UpdateLiveSettings(int, int, bool)
Updates the live settings.
public void UpdateLiveSettings(int x, int y, bool cursor)Parameters
OnUpdated
Occurs when on updated.
public event EventHandler<EventArgs> OnUpdated