SilverScreen Solid Modeler

ToString methods

ToString methods

Previous topic Next topic  

ToString methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

string ToString();

string ToString(Notation notation, UnitsOfMeasure measure);

 

Notation       notation; // A SilverSharp.Notation enumeration

UnitsOfMeasure measure;  // A SilverSharp.UnitsOfMeasure enumeration

 

 




Synopsis

using SilverSharp;

 

The ToString methods format a SilverSharp.SS_COEF object as a string. The first method formats the object using the current units and notation, while the second formats the object for a particular units + notation.

 

 

Parameters

notation is the notation to use when formatting the object

measure is the units of measurement to use when formatting the object

 

 

Return Value

ToString returns a System.String object

 

 

Remarks

The parameterless form of ToString overrides the standard System.Object.ToString method.

 

 

See Also

SS_COEF, format_double