의 텍스트 내가 매우 매우 긴 50 개 이상의 단어와 텍스트를 가지고 내가 전 분할해야합니다분할 라벨
string text = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.;
if(Text.text.Length > 30)
string split = text.split(>30);
label1.text = split; (Lorem Ipsum is simply dummy text of the printing and typesetting industry..)
이 가능합니까? 당신이 보는 무엇
문자열을 변경해야하나요? 라벨에 [너무 긴 텍스트 줄 바꿈] (http://stackoverflow.com/questions/1204804/word-wrap-for-label-in-winforms)을 사용 하시겠습니까? –
변경 사항 만 바꿈 없음) = 변경 사항 split.Replace ("...", "."); – Federal09
텍스트가 가변적이어서 문자열 대체를 사용할 수 없습니다. – Federal09