T > TextField.getTextFormat |
TextField.getTextFormat
지원 버전
Flash Player 6
구문
TextField.getTextFormat()TextField.getTextFormat (index)TextField.getTextFormat (beginIndex,endIndex)
매개 변수
index 문자열의 특정 문자를 지정하는 정수입니다.
반환값
객체
설명
메서드; (구문 1) 텍스트 필드에 있는 모든 텍스트의 서식 정보가 포함된 TextFormat 객체를 반환합니다. 텍스트 필드의 모든 텍스트에 공통인 속성만 결과 TextFormat 객체에 설정됩니다. 혼합 속성은 텍스트 내의 각 위치마다 서로 다른 값을 갖는다는 것을 의미하며, null로 설정된 값을 갖습니다.
구문 2: index에서 텍스트 필드의 텍스트 서식 사본이 포함된 TextFormat 객체를 반환합니다.
구문 3: beginIndex에서 endIndex까지 텍스트 범위의 서식 정보가 포함된 TextFormat 객체를 반환합니다.
참고 항목
TextField.getNewTextFormat, TextField.setNewTextFormat, TextField.setTextFormat