Holds the rational values found in Exchangeable Image File (EXIF) tags. It is a supported element type of the Vector object and can be created using "WIA.Rational" as the ProgID in a call to CreateObject. The Rational object is a container.
The Rational object has these types of members:
The Rational object has these properties.
||Sets or retrieves the Rational value Denominator.
||Sets or retrieves the Rational value Numerator.
||Retrieves the Rational value as a Double.
Note that the Value (Rational) property is read-only. This is because there can be more than one way to represent a rational value as a floating point number. To set the value of a Rational object, you must set its Numerator and Denominator separately.
For example code, see Set Rational Numerator and Denominator in Shared Samples.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 R2 [desktop apps only]