GetWrappedText

텍스트, 페이지 레이아웃

설명

현재 글꼴과 텍스트 크기를 기준으로 텍스트가 줄 바꿈되는 위치를 가져옵니다. SetBreakString 함수로 줄 바꿈 구분 기호를 설정할 수 있습니다. 기본값은 CR/LF 쌍입니다

구문

Delphi

Function TPDFlib.GetWrappedText(Width: Double; Const Delimiter, Text: WideString): WideString;

ActiveX

Function PDFlib::GetWrappedText(Width As Double, Delimiter As String, Text As String) As String

DLL

const wchar_t* DLGetWrappedText(int InstanceID, double Width, const wchar_t* Delimiter, const wchar_t* Text);
const char* DLGetWrappedTextA(int InstanceID, double Width, const char* Delimiter, const char* Text);

매개변수

Width텍스트를 줄 바꿈할 블록의 너비
Delimiter각 줄 사이에 배치할 문자열
Text줄 바꿈할 텍스트

반환 값

Delimiter 문자열로 구분된 텍스트 블록의 줄을 반환합니다