Class ScreenCaptureGDISourceSettings
Screen capture GDI source settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class ScreenCaptureGDISourceSettings : IScreenCaptureSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoSourceSettings, IMediaBlockSettings
Constructors
ScreenCaptureGDISourceSettings()
Initializes a new instance of the ScreenCaptureGDISourceSettings class.
Declaration
public ScreenCaptureGDISourceSettings()
Properties
CaptureCursor
Gets or sets a value indicating whether mouse cursor capture is enabled.
Declaration
public bool CaptureCursor { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FrameRate
Gets or sets the frame rate.
Declaration
public VideoFrameRate FrameRate { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoFrameRate |
Monitor
Gets or sets the monitor ID.
Declaration
public int Monitor { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Rectangle
Gets or sets the rectangle to capture.
Declaration
public Rect Rectangle { get; set; }
Property Value
| Type | Description |
|---|---|
| Rect |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
| Type | Description |
|---|---|
| MediaBlock | MediaBlock. |
GetSourceType()
Gets the type of the source.
Declaration
public ScreenCaptureSourceType GetSourceType()
Returns
| Type | Description |
|---|---|
| ScreenCaptureSourceType | ScreenCaptureSourceType. |
UpdateLiveSettings(int, int, bool)
Updates the live settings.
Declaration
public void UpdateLiveSettings(int x, int y, bool cursor)
Parameters
| Type | Name | Description |
|---|---|---|
| int | x | The x. |
| int | y | The y. |
| bool | cursor | if set to |
Events
OnUpdated
Occurs when on updated.
Declaration
public event EventHandler<EventArgs> OnUpdated
Event Type
| Type | Description |
|---|---|
| EventHandler<EventArgs> |