C# Класс Sharpex2D.Common.Extensions.StringExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
WordWrap ( this value, int width ) : string

Word wraps the given text to fit within the specified width.

Приватные методы

Метод Описание
BreakLine ( string text, int pos, int max ) : int

Locates position to break the given line so as to avoid breaking words.

WordWrapInner ( string text, int width ) : string

Word wraps the given text to fit within the specified width.

Описание методов

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

Word wraps the given text to fit within the specified width.
public static WordWrap ( this value, int width ) : string
value this Text to be word wrapped
width int Width, in characters, to which the text /// should be word wrapped
Результат string