Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OfficeSignedRational

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
1d5ef38d1e0b with working tree changes
Base
ValueType
Modifiers
sealed

An exact signed rational number used by Exif.

Inheritance

  • ValueType
  • OfficeSignedRational

Constructors

public OfficeSignedRational(int numerator, int denominator) #

Creates a signed rational value.

Parameters

numerator int required
denominator int required

Methods

public double ToDouble() #

Returns the quotient, or NaN for a zero denominator.

Returns

double
public override string ToString() #

Returns the fully qualified type name of this instance.

Returns

string The fully qualified type name.

Properties

public int Numerator { get; } #

The numerator.

public int Denominator { get; } #

The denominator.