Share via


EuroDisplay Object

Ee797654.c++_off(en-US,CS.10).gifEe797654.vb_on(en-US,CS.10).gif

Use this object to convert and format currency amounts where multiple currencies must be displayed.

ProgID:   Commerce.EuroDisplay (Externally creatable)
COM Class Name:   EuroDisplay
COM Interface Name:   IEuroDisplay
Interface ID Constant:   None
Header File:   None
Type Library Name:   Microsoft Commerce 2000 Euro Display Component Type Library
DLL Name:   EuroDisp.dll
Threading Model:   Both

In C++, use the IEuroDisplay interface to access the properties and methods of the EuroDisplay object.

Because this object is primarily intended for use within ASP script, access from C++ will not be common.

The methods of the EuroDisplay object are shown in the following table.

Method Description
ConvertAltStringToCurr Converts a string representation of a monetary value in the currency specified by the alternate locale identifier to a currency VARIANT.
ConvertBaseStringToCurr Converts a string representation of a monetary value in the currency specified by the base locale identifier to a currency VARIANT.
ConvertMoney Converts the specified currency VARIANT (representing a monetary value in the base currency) to a currency VARIANT representing a monetary value in the alternate currency, using the initialized conversion rate.
FormatAltMoney Creates a string representation of a currency VARIANT, based on the alternate locale identifier and the alternate currency symbol string.
FormatBaseMoney Creates a string representation of a currency VARIANT, based on the base locale identifier and the base currency symbol string.
Initialize Initializes the object with the specified alternate currency symbol, base currency symbol, alternate locale identifier, base locale identifier, and conversion rate.

See Also

Display Objects


All rights reserved.