Returns the "x" (horizontal) position within the control's graphic area given the FFT index

Namespace: NDXVUMeterNET
Assembly: DXVUMeterNETGDI (in DXVUMeterNETGDI.dll) Version: 3.0.4021.33606 (3.1.0.0)

Syntax

C#
public double FFTIdx2X(
	int fftIdx,
	double min,
	double max,
	double w
)
Visual Basic
Public Function FFTIdx2X ( _
	fftIdx As Integer, _
	min As Double, _
	max As Double, _
	w As Double _
) As Double
Visual C++
public:
double FFTIdx2X(
	int fftIdx, 
	double min, 
	double max, 
	double w
)

Parameters

fftIdx
Type: System..::..Int32
The index for which we want to obtain the "x" value for
min
Type: System..::..Double
The minimum Frequency Index
max
Type: System..::..Double
The maximum Frequency Index
w
Type: System..::..Double
The width of the control's area

Return Value

Returns the "x" position for the given index

Remarks