# GrapeCity.Documents.Imaging.Exif.ExifRational

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Imaging_Exif_ExifRational" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational" class="text-break">ExifRational Class
</h1>
  <div class="markdown level0 summary"><p>Represents an Exif field with unsigned rational values.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifValue.html">ExifValue</a></div>
    <div class="level2"><span class="xref">ExifRational</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable-1">IComparable</a>&lt;<a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifValue.html">ExifValue</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.Exif.html">GrapeCity.Documents.Imaging.Exif</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_Exif_ExifRational_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ExifRational : ExifValue, IComparable&lt;ExifValue&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ExifRational
    Inherits ExifValue
    Implements IComparable(Of ExifValue)</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_DataType" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.DataType">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.DataType.html#GrapeCity_Documents_Imaging_Exif_ExifRational_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Exif data type of a value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_Denominator" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.Denominator">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.Denominator.html#GrapeCity_Documents_Imaging_Exif_ExifRational_Denominator">Denominator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value of denominator for unsigned rational Exif value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_Numerator" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.Numerator">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.Numerator.html#GrapeCity_Documents_Imaging_Exif_ExifRational_Numerator">Numerator</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value of numerator for unsigned rational Exif value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_RawValues" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.RawValues">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.RawValues.html#GrapeCity_Documents_Imaging_Exif_ExifRational_RawValues">RawValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of unsigned rational values in raw format as defined in Exif specification.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_Value" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.Value">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.Value.html#GrapeCity_Documents_Imaging_Exif_ExifRational_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unsigned value of type Single.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_Values" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.Values">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.Values.html#GrapeCity_Documents_Imaging_Exif_ExifRational_Values">Values</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of unsigned rational values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_Equals_GrapeCity_Documents_Imaging_Exif_ExifRational_" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.Equals(GrapeCity.Documents.Imaging.Exif.ExifRational)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.Equals.html#GrapeCity_Documents_Imaging_Exif_ExifRational_Equals_GrapeCity_Documents_Imaging_Exif_ExifRational_">Equals(ExifRational)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the specified <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.html">ExifRational</a> is equal to the current one.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_Equals_System_Object_" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.Equals.html#GrapeCity_Documents_Imaging_Exif_ExifRational_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified object is equal to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_GetHashCode" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.GetHashCode.html#GrapeCity_Documents_Imaging_Exif_ExifRational_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for the current object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_ToString" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.ToString">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.ToString.html#GrapeCity_Documents_Imaging_Exif_ExifRational_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_op_Equality_GrapeCity_Documents_Imaging_Exif_ExifRational_GrapeCity_Documents_Imaging_Exif_ExifRational_" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.op_Equality(GrapeCity.Documents.Imaging.Exif.ExifRational,GrapeCity.Documents.Imaging.Exif.ExifRational)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.op_Equality.html#GrapeCity_Documents_Imaging_Exif_ExifRational_op_Equality_GrapeCity_Documents_Imaging_Exif_ExifRational_GrapeCity_Documents_Imaging_Exif_ExifRational_">operator ==(ExifRational, ExifRational)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.html">ExifRational</a> objects for equality.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Exif_ExifRational_op_Inequality_GrapeCity_Documents_Imaging_Exif_ExifRational_GrapeCity_Documents_Imaging_Exif_ExifRational_" data-uid="GrapeCity.Documents.Imaging.Exif.ExifRational.op_Inequality(GrapeCity.Documents.Imaging.Exif.ExifRational,GrapeCity.Documents.Imaging.Exif.ExifRational)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.op_Inequality.html#GrapeCity_Documents_Imaging_Exif_ExifRational_op_Inequality_GrapeCity_Documents_Imaging_Exif_ExifRational_GrapeCity_Documents_Imaging_Exif_ExifRational_">operator !=(ExifRational, ExifRational)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifRational.html">ExifRational</a> objects for inequality.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
