GetWrappedTextLineCount

텍스트, 페이지 레이아웃

설명

현재 글꼴과 텍스트 크기를 기준으로 특정 너비에 맞춰 줄 바꿈된 텍스트 블록이 차지하는 줄 수를 확인합니다. SetBreakString 함수로 줄 바꿈 구분 기호를 설정할 수 있습니다. 기본값은 CR/LF 쌍이며 일부 시스템에서는 LineFeed가 기본값일 수 있습니다

구문

Delphi

Function TPDFlib.GetWrappedTextLineCount(Width: Double; Const Text: WideString): Integer;

ActiveX

Function PDFlib::GetWrappedTextLineCount(Width As Double, Text As String) As Long

DLL

int DLGetWrappedTextLineCount(int InstanceID, double Width, const wchar_t * Text);

매개변수

Width텍스트를 줄 바꿈할 블록의 너비
Text줄 바꿈할 텍스트

반환 값

줄 수