Show / Hide Table of Contents

Class ExifSRational

Represents a rational number defined with a 32-bit signed numerator and denominator. (EXIF Specification: SRATIONAL)

Inheritance
System.Object
ExifProperty
ExifSRational
Inherited Members
ExifProperty.mTag
ExifProperty.mIFD
ExifProperty.mName
ExifProperty.Tag
ExifProperty.IFD
ExifProperty.Name
Namespace: ExifLibrary
Assembly: ExifLibrary.dll
Syntax
public class ExifSRational : ExifProperty

Constructors

| Improve this Doc View Source

ExifSRational(ExifTag, MathEx.Fraction32)

Declaration
public ExifSRational(ExifTag tag, MathEx.Fraction32 value)
Parameters
Type Name Description
ExifTag tag
MathEx.Fraction32 value
| Improve this Doc View Source

ExifSRational(ExifTag, Int32, Int32)

Declaration
public ExifSRational(ExifTag tag, int numerator, int denominator)
Parameters
Type Name Description
ExifTag tag
System.Int32 numerator
System.Int32 denominator

Fields

| Improve this Doc View Source

mValue

Declaration
protected MathEx.Fraction32 mValue
Field Value
Type Description
MathEx.Fraction32

Properties

| Improve this Doc View Source

_Value

Declaration
protected override object _Value { get; set; }
Property Value
Type Description
System.Object
Overrides
ExifProperty._Value
| Improve this Doc View Source

Interoperability

Declaration
public override ExifInterOperability Interoperability { get; }
Property Value
Type Description
ExifInterOperability
Overrides
ExifProperty.Interoperability
| Improve this Doc View Source

Value

Declaration
public MathEx.Fraction32 Value { get; set; }
Property Value
Type Description
MathEx.Fraction32

Methods

| Improve this Doc View Source

ToArray()

Declaration
public int[] ToArray()
Returns
Type Description
System.Int32[]
| Improve this Doc View Source

ToFloat()

Declaration
public float ToFloat()
Returns
Type Description
System.Single
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Operators

| Improve this Doc View Source

Explicit(ExifSRational to Single)

Declaration
public static explicit operator float (ExifSRational obj)
Parameters
Type Name Description
ExifSRational obj
Returns
Type Description
System.Single
Back to top Copyright © 2019 Özgür Özçıtak