Unit Conversion (Single to Unit) |
Implicitly creates a Unit of type Pixel from the specified float.
Namespace: Kettic.AspNet.Controls.ChartModel.StylesAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic static implicit operator Unit (
float n
)
Public Shared Widening Operator CType (
n As Single
) As Unit
static implicit operator Unit^ (
float n
)
F# does not support the declaration of new casting operators.
Parameters
- n
- Type: SystemSingle
A float that represents the length of the Unit.
Return Value
Type:
UnitA Unit of type Pixel that represents the specified by the n parameter.
See Also