Methods
public static int ParseAngleExpession()
expression,
start_offset,
expression_length,
parse_settings_in,
output_angle_unit_system,
out double
value_out,
parse_results,
ref AngleUnitSystem
parsed_unit_system
Parse a string for a length value. Expression can include complex expressions Most complex version of length parsing
public static int ParseLengthExpession()
expression,
[In] The string to parse
start_offset,
[In] Offset position in string to start parsing
expression_length,
[In] Maximum length of string to parse. -1 means parse to a terminating character or end of string
parse_settings_in,
[In] Determines what input will be parsed
output_unit_system,
[In] Output value is returned in this unit system
out double
value_out,
[Out] The length value result
parse_results,
[Out] Describes the results of the parse operation
ref UnitSystem
parsed_unit_system
[Out] If a unit system name was found in the string, it is returned here. The output value is in the unit system specified in output_unit_system
Returns: Returns the count of characters that were parsed or 0 if the operation was unsuccessful
Parse a string for a length value. Expression can include complex expressions Simplest version of Length parsing
Returns: Count of characters parsed or 0 for failure
Parse a string expression to get a number
Returns: Count of characters in expression parsed if ParseNumber() returns 0, parse was unsuccessful