Argentini.Halide.H3Text.WordWrap C# (CSharp) Метод

WordWrap() публичный статический Метод

Wraps the passed string up until the next whitespace on or after the total charCount has been reached for that line. Uses the environment new line symbol for the break text.
public static WordWrap ( string input, int charCount ) : String
input string The string to wrap.
charCount int The number of characters per line.
Результат String
        public static String WordWrap(string input, int charCount)
        {
            return WordWrap(input, charCount, false, Environment.NewLine);
        }

Same methods

H3Text::WordWrap ( string input, int charCount, bool cutOff ) : String
H3Text::WordWrap ( string input, int charCount, bool cutOff, string breakText ) : String