[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Exif.ExifSRational

Class ExifSRational

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

Represents an Exif field with rational (positive or negative) values.

public class ExifSRational : ExifValue, IComparable<ExifValue>
Inheritance
object
ExifSRational
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 rational (signed) Exif value.

public int Denominator { get; }

Property Value

int

Numerator

Gets a value of numerator for rational (signed) Exif value.

public int Numerator { get; }

Property Value

int

RawValues

Gets the array of rational (signed) values in raw format as defined in Exif specification.

public int[] RawValues { get; }

Property Value

int[]

Value

Gets the value of type Single (negative values allowed).

public float Value { get; }

Property Value

float

Values

Gets the array of rational (signed) values.

public float[] Values { get; }

Property Value

float[]

Methods

Equals(ExifSRational)

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

public bool Equals(ExifSRational other)

Parameters

other ExifSRational

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 ==(ExifSRational, ExifSRational)

Compares two ExifSRational objects for equality.

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

Parameters

left ExifSRational
right ExifSRational

Returns

bool

operator !=(ExifSRational, ExifSRational)

Compares two ExifSRational objects for inequality.

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

Parameters

left ExifSRational
right ExifSRational

Returns

bool