TiffSRational Class

The tiff rational type.
Inheritance Hierarchy
SystemObject
  Aspose.CAD.FileFormats.TiffTiffSRational

Namespace:  Aspose.CAD.FileFormats.Tiff
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 20.8
Syntax
public class TiffSRational

The TiffSRational type exposes the following members.

Constructors
  NameDescription
Public methodTiffSRational
Initializes a new instance of the TiffSRational class.
Public methodTiffSRational(Int32)
Initializes a new instance of the TiffRational class.
Public methodTiffSRational(Int32, Int32)
Initializes a new instance of the TiffSRational 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