StringToReportSizeType Method
In This Topic
Converts a string to a ReportSizeType value. The string can be one of the following: "in", "mm", "cm", "pt". This method is case-insensitive.
Syntax
'Declaration
Public Shared Function StringToReportSizeType( _
ByVal As String, _
ByRef As ReportSizeType _
) As Boolean
public static bool StringToReportSizeType(
string ,
ref ReportSizeType
)
Parameters
- s
- The string to convert.
- units
- OUT: On exit, contains the ReportSizeType value.
Return Value
true if no error occurred, false otherwise.
See Also