Class ScreenCaptureDX9SourceSettings
Screen capture DirectX 9 source settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sources
Assembly: VisioForge.Core.dll
Syntax
public class ScreenCaptureDX9SourceSettings : IScreenCaptureSourceSettings, IVideoCaptureBaseVideoSourceSettings, IVideoMixerSource, IVideoSourceSettings, IMediaBlockSettings
Constructors
ScreenCaptureDX9SourceSettings()
Initializes a new instance of the ScreenCaptureDX9SourceSettings class.
Declaration
public ScreenCaptureDX9SourceSettings()
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. For DX9 capture enumeration started from 0.
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> |