Converts a string to the corresponding ReportSizeType value. A return value indicates whether the conversion succeeded or failed.

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

Syntax

C#
public static bool TryParse(
	string s,
	out ReportSizeType reportSizeType,
	out double value
)
Visual Basic
Public Shared Function TryParse ( _
	s As String, _
	<OutAttribute> ByRef reportSizeType As ReportSizeType, _
	<OutAttribute> ByRef value As Double _
) As Boolean

Parameters

s
Type: System..::..String
A string to convert.
reportSizeType
Type: C1.C1Rdl..::..ReportSizeType%
OUT: a ReportSizeType value specifying the units of the parsed size.
value
Type: System..::..Double%
OUT: a double value representing the parsed size, in reportSizeType units.

Return Value

true if s was converted successfully; otherwise, false.

See Also