Table of Contents

Class GenICamFrameReceivedEventArgs

Namespace
VisioForge.Core.GenICam
Assembly
VisioForge.Core.dll

Provides data for the frame received event in GenICam operations. This event is raised when a new frame is captured from a GenICam-compatible device.

public class GenICamFrameReceivedEventArgs : EventArgs

Inheritance

Inherited Members

Examples

// Subscribe to frame received event
genICamDevice.FrameReceived += (sender, e) =>
{
    var frameData = e.Frame;
    Console.WriteLine($"Frame received: {frameData.Width}x{frameData.Height}");
};

Remarks

The GenICamFrameReceivedEventArgs class carries frame data that includes image information, timestamps, and other metadata associated with the captured frame.

Constructors

GenICamFrameReceivedEventArgs(GenICamFrameData)

Initializes a new instance of the VisioForge.Core.GenICam.GenICamFrameReceivedEventArgs class.

public GenICamFrameReceivedEventArgs(GenICamFrameData frame)

Parameters

frame GenICamFrameData

The frame data associated with the received frame.

Remarks

This constructor is typically called by the GenICam device implementation when a new frame is captured and ready to be processed.

Exceptions

ArgumentNullException

Thrown when frame is null.

Properties

Frame

Gets the frame data associated with the received frame.

public GenICamFrameData Frame { get; }

Property Value

GenICamFrameData

Remarks

This property provides read-only access to the frame data. The frame data contains all relevant information about the captured image frame.