Converts the value of a Single structure to a FIRational structure.

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

Syntax

C#
public static explicit operator FIRational (
	float value
)
Visual Basic (Declaration)
Public Shared Narrowing Operator CType ( _
	value As Single _
) As FIRational
Visual C++
static explicit operator FIRational (
	float value
)

Parameters

value
Type: System..::.Single
A Single structure.

Return Value

A new instance of FIRational initialized to value.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also