Multiplies a specified
Length value using a scale factor.
'Declaration
Public Shared Function Multiply( _
ByVal As Length, _
ByVal As Single _
) As Length
Parameters
- unit
- A Length value to multiply.
- scale
- A System.Single value indicating the scale factor.
Return Value
A new
Length value representing the scaled length.
var length = new Length("1in");
var scaledLength = Length.Multiply(length, 2); // 2in