Class VideoFrameBitmapEventArgs
Frame bitmap event args class.
Inherited Members
Namespace: VisioForge.Core.Types.Events
Assembly: VisioForge.Core.dll
Syntax
public class VideoFrameBitmapEventArgs : EventArgs
Constructors
VideoFrameBitmapEventArgs(Bitmap, VideoFrameRate, ref bool, TimeSpan, VideoStreamType)
Initializes a new instance of the VideoFrameBitmapEventArgs class.
Declaration
public VideoFrameBitmapEventArgs(Bitmap frame, VideoFrameRate frameRate, ref bool updateData, TimeSpan timestamp, VideoStreamType sourceStream = VideoStreamType.Main)
Parameters
| Type | Name | Description |
|---|---|---|
| Bitmap | frame | Video frame. |
| VideoFrameRate | frameRate | Frame rate. |
| bool | updateData | Updated data flag. |
| TimeSpan | timestamp | Timestamp. |
| VideoStreamType | sourceStream | Source stream. |
Properties
Frame
Gets frame.
Declaration
public Bitmap Frame { get; }
Property Value
| Type | Description |
|---|---|
| Bitmap |
FrameRate
Gets frame rate.
Declaration
public VideoFrameRate FrameRate { get; }
Property Value
| Type | Description |
|---|---|
| VideoFrameRate |
SourceStream
Gets or sets source stream.
Declaration
public VideoStreamType SourceStream { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoStreamType |
Timestamp
Gets start time.
Declaration
public TimeSpan Timestamp { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
UpdateData
Gets or sets a value indicating whether frame has been updates and changes must be saved.
Declaration
public bool UpdateData { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |