Singer Instruments PIXL Client
PickupLineUsedInMetersChanged Event
Example 



SI.PIXL.Client Namespace > PIXLClient Class : PickupLineUsedInMetersChanged Event
Occurs when the PIXLClient.PickupLineUsedInMeters property changes.
Syntax
'Declaration
 
Public Event PickupLineUsedInMetersChanged As EventHandler(Of Double)
'Usage
 
Dim instance As PIXLClient
Dim handler As EventHandler(Of Double)
 
AddHandler instance.PickupLineUsedInMetersChanged, handler
public event EventHandler<double> PickupLineUsedInMetersChanged
public:
event EventHandler<double>^ PickupLineUsedInMetersChanged
Example
This sample shows how to handle the PickupLineUsedInMetersChanged event.
// Subscribe to PickupLineUsedInMetersChanged events.
pixl.PickupLineUsedInMetersChanged += (sender, used) =>
{
    // Publish an update to the Console.
    Console.WriteLine($"PIXL has used {used}m of PickupLine from the current reel.");
};
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members