C# 클래스 Sharpex2D.Common.Extensions.StringExtensions

파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

공개 메소드들

메소드 설명
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