Converts the value of a FIRational structure to an UInt16 structure.

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

Syntax

C#
public static explicit operator ushort (
	FIRational value
)
Visual Basic (Declaration)
Public Shared Narrowing Operator CType ( _
	value As FIRational _
) As UShort
Visual C++
static explicit operator unsigned short (
	FIRational value
)

Parameters

value
Type: FreeImageAPI..::.FIRational
A FIRational structure.

Return Value

A new instance of UInt16 initialized to value.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also