com.esri.arcgis.framework
Interface INumberFormatDialog

All Superinterfaces:
Serializable
All Known Implementing Classes:
NumberFormatDialog

public interface INumberFormatDialog
extends Serializable

Provides access to members that work with the number format dialog.

Remarks

This example demonstrates how to use NumberFormatDialog. You would get m_app from the hook in ICommand::OnCreate().

Product Availability

Available with ArcGIS Desktop.

See Also:
ILatLonFormat2, CustomNumberFormat, IRateFormat, IAngleFormat, NumericFormat, LatLonFormat, CurrencyFormat, INumericFormat, IFractionFormat, RateFormat, IScientificNumberFormat, ICustomNumberFormat, ILatLonFormat, IPercentageFormat, INumberFormat, ScientificFormat, FractionFormat, PercentageFormat, AngleFormat

Method Summary
 boolean doModal(int hWnd)
          Displays the number format dialog.
 INumberFormat getNumberFormat()
          The current number format object.
 void setNumberFormat(INumberFormat format)
          The current number format object.
 

Method Detail

getNumberFormat

INumberFormat getNumberFormat()
                              throws IOException,
                                     AutomationException
The current number format object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.system.INumberFormat
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumberFormat

void setNumberFormat(INumberFormat format)
                     throws IOException,
                            AutomationException
The current number format object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
format - A reference to a com.esri.arcgis.system.INumberFormat (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

boolean doModal(int hWnd)
                throws IOException,
                       AutomationException
Displays the number format dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
hWnd - The hWnd (A COM typedef) (in)
Returns:
The okPressed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.