Method AddExpansionRule
AddExpansionRule(int, int, float)
Adds an expansion rule to ExpansionRules
Declaration
public void AddExpansionRule(int minCharacters, int maxCharacters, float expansion)
Parameters
Type | Name | Description |
---|---|---|
int | minCharacters | The minimum characters. The evaluated string length must be equal or greater than this value. |
int | maxCharacters | The maximum characters. The evaluated string length must be less than this value. |
float | expansion | The amount to increase the string length by as a ratio where 0 is no expansion and 1.0 is 100%(double length). It varies per language but 0.3 is a good value when using English. |