[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Length.Multiply

Multiply Method

Multiply(Length, float)

Multiplies a specified Length value using a scale factor.

Declaration
public static Length Multiply(Length unit, float scale)
Parameters
Type Name Description
Length unit

A Length value to multiply.

float scale

A float value indicating the scale factor.

Returns
Type Description
Length

A new Length value representing the scaled length.

Examples
var length = new Length("1in");
var scaledLength = Length.Multiply(length, 2); // 2in