Click or drag to resize

LocalizationFormatVolume Method

Format a Volume string from a number

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static string FormatVolume(
	double volume,
	UnitSystem units,
	DimensionStyle dimStyle,
	bool alternate
)

Parameters

volume
Type: SystemDouble

[Missing <param name="volume"/> documentation for "M:Rhino.UI.Localization.FormatVolume(System.Double,Rhino.UnitSystem,Rhino.DocObjects.DimensionStyle,System.Boolean)"]

units
Type: RhinoUnitSystem

[Missing <param name="units"/> documentation for "M:Rhino.UI.Localization.FormatVolume(System.Double,Rhino.UnitSystem,Rhino.DocObjects.DimensionStyle,System.Boolean)"]

dimStyle
Type: Rhino.DocObjectsDimensionStyle

[Missing <param name="dimStyle"/> documentation for "M:Rhino.UI.Localization.FormatVolume(System.Double,Rhino.UnitSystem,Rhino.DocObjects.DimensionStyle,System.Boolean)"]

alternate
Type: SystemBoolean

[Missing <param name="alternate"/> documentation for "M:Rhino.UI.Localization.FormatVolume(System.Double,Rhino.UnitSystem,Rhino.DocObjects.DimensionStyle,System.Boolean)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Rhino.UI.Localization.FormatVolume(System.Double,Rhino.UnitSystem,Rhino.DocObjects.DimensionStyle,System.Boolean)"]

See Also