OPC Studio User's Guide and Reference
LinearConverter Constructor(Double,Double,Double,Double)



OpcLabs.BaseLibComponents Assembly > OpcLabs.BaseLib.Components Namespace > LinearConverter Class > LinearConverter Constructor : LinearConverter Constructor(Double,Double,Double,Double)
X coordinate of the first point on the conversion line.
X coordinate of the second point on the conversion line.
Y coordinate of the first point on the conversion line.
Y coordinate of the second point on the conversion line.
Initializes a new instance of the class, specifying coordinates of two points.
Syntax
'Declaration
 
Public Function New( _
   ByVal x1 As Double, _
   ByVal x2 As Double, _
   ByVal y1 As Double, _
   ByVal y2 As Double _
)
'Usage
 
Dim x1 As Double
Dim x2 As Double
Dim y1 As Double
Dim y2 As Double
 
Dim instance As New LinearConverter(x1, x2, y1, y2)
public LinearConverter( 
   double x1,
   double x2,
   double y1,
   double y2
)
public:
LinearConverter( 
   double x1,
   double x2,
   double y1,
   double y2
)

Parameters

x1
X coordinate of the first point on the conversion line.
x2
X coordinate of the second point on the conversion line.
y1
Y coordinate of the first point on the conversion line.
y2
Y coordinate of the second point on the conversion line.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also