Version

dateDataDateLinear Method

Provides a linear measurement based on date data.
Syntax
'Declaration
 
Public Shared Function dateDataDateLinear( _
   ByVal startDate As Date, _
   ByVal endDate As Date, _
   ByVal totalWidth As Single, _
   ByVal d_i As Date _
) As Single
public static float dateDataDateLinear( 
   DateTime startDate,
   DateTime endDate,
   float totalWidth,
   DateTime d_i
)

Parameters

startDate
The start date on the scale.
endDate
The end date on the scale.
totalWidth
Total width of the scale to provide the measurement based on.
d_i
The Date to plot on the scale.

Return Value

A position corresponding to the given value, measured using the other specified parameters.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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