Click or drag to resize

LengthToString Method (String, IFormatProvider, LengthUnit)

Returns a String that represents this Length instance in a specified format and a measurement unit by using a specified format provider.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public string ToString(
	string format,
	IFormatProvider formatProvider,
	LengthUnit unit
)

Parameters

format
Type: SystemString
The format.
formatProvider
Type: SystemIFormatProvider
The format provider.
unit
Type: GemBox.PresentationLengthUnit
The measurement unit.

Return Value

Type: String
A String that represents this Length instance in a specified format and a measurement unit by using a specified format provider.
See Also