Class ScientificFormatClass
- Namespace
- ESRI.ArcGIS.esriSystem
- Assembly
- ESRI.Server.System.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("7E4F471F-8E54-11D2-AAD8-000000000000")]
public class ScientificFormatClass : ScientificFormat, INumberFormat, INumberFormatOperations, IScientificNumberFormat, IClone, IPersistStream, IPersist
- Inheritance
-
ScientificFormatClass
- Implements
- Inherited Members
Constructors
ScientificFormatClass()
public ScientificFormatClass()
Explicit Interface Implementations
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
DecimalPlaces
The number of decimal digits in a scientifically-formatted number.
virtual int DecimalPlaces { get; set; }
Returns
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
IPersistStream_GetClassID(out Guid)
virtual void IPersistStream_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
Increment(double)
Increments a value according to the numbers format.
virtual double Increment(double Value)
Parameters
Valuedouble
Returns
Remarks
The Increment method reacts differently depending on the number format object used and how that object is configured. A NumericFormat configured for a specific number of decimal places will increment to the last decimal place. For example, if two decimal places are specified, 22.533 would increment to 22.54; if the object is configured for two significant digits, 22.533 would increment to 24. For an AngleFormat, the input value is converted to the display format first then the same rules apply as for a NumericFormat.
IsDirty()
virtual void IsDirty()
IsEqual(IClone)
Indicates if the receiver and other have the same properties.
virtual bool IsEqual(IClone other)
Parameters
otherIClone
Returns
IsIdentical(IClone)
Indicates if the receiver and other are the same object.
virtual bool IsIdentical(IClone other)
Parameters
otherIClone
Returns
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
StringToValue(string)
Converts a formatted string to a numeric value.
virtual double StringToValue(string str)
Parameters
strstring
Returns
Remarks
When using the StringToValue method to obtain a ValueToString argument value, the properties in the associated interface must be set the same as they were when the ValueToString method was used. This applies in cases where ValueToString may perform a numerical conversion (in the IAngleFormat, IFractionFormat, IPercentageFormat, and IRateFormat interfaces).
ValueToString(double)
Converts a numeric value to a formatted string.
virtual string ValueToString(double Value)
Parameters
Valuedouble