[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Exif.ExifRational

Class ExifRational

Namespace
GrapeCity.Documents.Imaging.Exif
Assembly
GcDocs.Imaging.dll

Represents an Exif field with unsigned rational values.

public class ExifRational : ExifValue, IComparable<ExifValue>
Inheritance
object
ExifRational
Implements
System.IComparable<T><ExifValue>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Properties

DataType

Gets the Exif data type of a value.

public override ExifDataType DataType { get; }

Property Value

ExifDataType

Denominator

Gets a value of denominator for unsigned rational Exif value.

public uint Denominator { get; }

Property Value

uint

Numerator

Gets a value of numerator for unsigned rational Exif value.

public uint Numerator { get; }

Property Value

uint

RawValues

Gets the array of unsigned rational values in raw format as defined in Exif specification.

public uint[] RawValues { get; }

Property Value

uint[]

Value

Gets the unsigned value of type Single.

public float Value { get; }

Property Value

float

Values

Gets the array of unsigned rational values.

public float[] Values { get; }

Property Value

float[]

Methods

Equals(ExifRational)

Determines if the specified ExifRational is equal to the current one.

public bool Equals(ExifRational other)

Parameters

other ExifRational

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

Returns a hash code for the current object.

public override int GetHashCode()

Returns

int

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

Operators

operator ==(ExifRational, ExifRational)

Compares two ExifRational objects for equality.

public static bool operator ==(ExifRational left, ExifRational right)

Parameters

left ExifRational
right ExifRational

Returns

bool

operator !=(ExifRational, ExifRational)

Compares two ExifRational objects for inequality.

public static bool operator !=(ExifRational left, ExifRational right)

Parameters

left ExifRational
right ExifRational

Returns

bool