Converts a string to a ReportSizeType value. The string can be one of the following: "in", "mm", "cm", "pt". This method is case-insensitive.

Namespace:  C1.C1Rdl
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static bool StringToReportSizeType(
	string s,
	ref ReportSizeType units
)
Visual Basic
Public Shared Function StringToReportSizeType ( _
	s As String, _
	ByRef units As ReportSizeType _
) As Boolean

Parameters

s
Type: System..::..String
The string to convert.
units
Type: C1.C1Rdl..::..ReportSizeType%
OUT: On exit, contains the ReportSizeType value.

Return Value

true if no error occurred, false otherwise.

See Also