[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Length.-ctor

Length Constructor

Length(string)

Initializes a new instance of the Length struct using a specified string length.

Declaration
public Length(string length)
Parameters
Type Name Description
string length

A string value indicating the length, e.g., "1 cm", "10 pt".

Length(double, Unit)

Initializes a new instance of the Length struct using a specified length and unit.

Declaration
public Length(double originalLength, Length.Unit originalUnit)
Parameters
Type Name Description
double originalLength

A string value indicating the numeric value of the length.

Length.Unit originalUnit

A Length.Unit of measurement for the length.