TryConvertPosisiveNumberToDip(String,Double) Method (DocumentUnitsConverter)
Tries to convert a string, which represents a positive number, to the number in the Device Independed Pixels (DIP).
'Declaration
Public Function TryConvertPosisiveNumberToDip( _
ByVal As System.String, _
ByRef As Double _
) As Boolean
public bool TryConvertPosisiveNumberToDip(
System.String ,
out double
)
public: bool TryConvertPosisiveNumberToDip(
System.String ,
[PARAMFLAG::Out] double
)
public:
bool TryConvertPosisiveNumberToDip(
System.String ,
[Out] double
)
Parameters
- text
- A string, which represents a positive number, to convert.
- value
- The converted value.
Return Value
True if string was converted successfully; otherwise, false.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5