ImageGear .NET v25.1 - Updated
FromString Method (ImGearRationalInt)
Example 




ImageGear.Core Assembly > ImageGear.Core Namespace > ImGearRationalInt Structure : FromString Method
The string to parse.
Creates a ImGearRationalInt from the specified string.
Syntax
'Declaration
 
Public Shared Function FromString( _
   ByVal value As String _
) As ImGearRationalInt
'Usage
 
Dim value As String
Dim value As ImGearRationalInt
 
value = ImGearRationalInt.FromString(value)
public static ImGearRationalInt FromString( 
   string value
)
public: static ImGearRationalInt FromString( 
   string* value
) 
public:
static ImGearRationalInt FromString( 
   String^ value
) 

Parameters

value
The string to parse.

Return Value

A new ImGearRationalInt structure.
Example
ImGearRationalInt rational = ImGearRationalInt.FromString("2/4");
Dim rational As ImGearRationalInt
rational = ImGearRationalInt.FromString("2/4")
See Also

Reference

ImGearRationalInt Structure
ImGearRationalInt Members