This document is archived and information here might be outdated.  Recommended version.


IScaleFormat.StringToScale Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IScaleFormat.StringToScale Method

Convert the string to an absolute scale using the current IScaleFormat attributes.

[Visual Basic .NET]
Public Function StringToScale ( _
    ByVal scaleStr As String _
) As Double
[C#]
public double StringToScale (
    string scaleStr
);
[C++]
HRESULT StringToScale(
  BSTR scaleStr,
  double* Scale
);
[C++]

Parameters scaleStr [in] scaleStr is a parameter of type BSTR Scale [out, retval] Scale is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IScaleFormat Interface