Click or drag to resize

TextSpacingMultiple Method

Creates a text spacing instance from the specified percentage value.

If percent parameter is equal to 1, then returned text spacing is equal to Single. If percent parameter is equal to 1.5, then returned text spacing is equal to OnePointFiveLines. If percent parameter is equal to 2, then returned text spacing is equal to Double.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public static TextSpacing Multiple(
	double percent
)

Parameters

percent
Type: SystemDouble
The percentage value of the text spacing.

Return Value

Type: TextSpacing
A text spacing instance that represents the specified percentage text spacing.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionArgument is not between 0 and 10 (exclusive).
See Also