Initializes a new instance based on the specified parameters.

Namespace:  FreeImageAPI
Assembly:  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

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

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also