Initializes a new instance based on the specified parameters.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public FIRational(
	decimal value
)
Visual Basic (Declaration)
Public Sub New ( _
	value As Decimal _
)
Visual C++
public:
FIRational(
	Decimal value
)

Parameters

value
Type: System..::.Decimal
The value to convert into a fraction.

Exceptions

ExceptionCondition
System..::.OverflowException value cannot be converted into a fraction represented by two integer values.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also