TiffRational Class
The tiff rational type.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.TiffTiffRational

Namespace: Aspose.Imaging.FileFormats.Tiff
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
Syntax
public class TiffRational

The TiffRational type exposes the following members.

Constructors
  NameDescription
Public methodTiffRational
Initializes a new instance of the TiffRational class.
Public methodTiffRational(UInt32)
Initializes a new instance of the TiffRational class.
Public methodTiffRational(UInt32, UInt32)
Initializes a new instance of the TiffRational class.
Properties
  NameDescription
Public propertyDenominator
Gets the denominator.
Public propertyNominator
Gets the nominator.
Public propertyValue
Gets the float value.
Public propertyValueD
Gets the double value.
Methods
  NameDescription
Public methodStatic memberApproximateFraction(Double)
Approximates the provided value to a fraction.
Public methodStatic memberApproximateFraction(Single)
Approximates the provided value to a fraction.
Public methodStatic memberApproximateFraction(Double, Double)
Approximates the provided value to a fraction.
Public methodStatic memberApproximateFraction(Single, Double)
Approximates the provided value to a fraction.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Fields
  NameDescription
Public fieldStatic memberEpsilon
The epsilon for fraction calculation
See Also