MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / Multiply Method
A Length value to multiply.
A System.Single value indicating the scale factor.
Example

In This Topic
Multiply Method
In This Topic
Multiplies a specified Length value using a scale factor.
Syntax
'Declaration
 
Public Shared Function Multiply( _
   ByVal unit As Length, _
   ByVal scale 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.
Example
var length = new Length("1in");
var scaledLength = Length.Multiply(length, 2); // 2in
See Also