Table of Contents

Class ScreenCaptureGDISourceSettings

Namespace
VisioForge.Core.Types.X.Sources
Assembly
VisioForge.Core.dll

Screen capture GDI source settings.

public class ScreenCaptureGDISourceSettings : IScreenCaptureSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoSourceSettings, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Constructors

ScreenCaptureGDISourceSettings()

Initializes a new instance of the VisioForge.Core.Types.X.Sources.ScreenCaptureGDISourceSettings class.

public ScreenCaptureGDISourceSettings()

Properties

CaptureCursor

Gets or sets a value indicating whether mouse cursor capture is enabled.

public bool CaptureCursor { get; set; }

Property Value

bool

FrameRate

Gets or sets the frame rate.

public VideoFrameRate FrameRate { get; set; }

Property Value

VideoFrameRate

Monitor

Gets or sets the monitor ID, starting from 0.

public int Monitor { get; set; }

Property Value

int

MouseHighlight

Gets or sets the mouse click highlight settings. When not null, mouse click positions are drawn as animated expanding circles on the captured screen video. Set to null to disable mouse click highlighting.

public MouseHighlightSettings MouseHighlight { get; set; }

Property Value

MouseHighlightSettings

Rectangle

Gets or sets the rectangle to capture.

public Rect Rectangle { get; set; }

Property Value

Rect

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

x int

The x.

y int

The y.

cursor bool

if set to true show cursor.

OnUpdated

Occurs when on updated.

public event EventHandler<EventArgs> OnUpdated

Event Type

EventHandler<EventArgs>