Initializes a new instance based on the specified parameters.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public FIURational( decimal value ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ value As Decimal _ ) |
| Visual C++ |
|---|
public: FIURational( Decimal value ) |
Parameters
- value
- Type: System..::.Decimal
The value to convert into a fraction.
Exceptions
| Exception | Condition |
|---|---|
| System..::.OverflowException | value cannot be converted into a fraction represented by two unsigned integer values. |