'Declaration Public Overloads Overridable Function TryConvertNumberToDip( _
ByVal textThe text to convert.As System.String, _
ByVal allowNegativeA value indicating whether negative number is allowed.As Boolean, _
ByRef valueThe converted value.As Double, _
ByVal unitsThe units of measure for text.As Vintasoft.Imaging.UnitOfMeasure _
) As Boolean
public virtual bool TryConvertNumberToDip(
System.String text,
bool allowNegative,
out double value,
Vintasoft.Imaging.UnitOfMeasure units
)
public: virtual bool TryConvertNumberToDip(
System.String text,
bool allowNegative,
[PARAMFLAG::Out] double value,
Vintasoft.Imaging.UnitOfMeasure units
)
public:
virtual bool TryConvertNumberToDip(
System.String text,
bool allowNegative,
[Out] double value,
Vintasoft.Imaging.UnitOfMeasure units
)
Parameters
- text
- The text to convert.
- allowNegative
- A value indicating whether negative number is allowed.
- value
- The converted value.
- units
- The units of measure for text.
Return Value
True if string was converted successfully; otherwise, false.