SetBreakString
文字
描述
設定用來標記換行的字串。使用
*WrappedText 系列函式時,該字串用來拆分文字。預設換行字串為 CR/LF,即 Delphi 中的 '#13#10'。
斷行字串為 CR、LF 或 CR/LF 組合時,文字中的每種行尾都會結束一行:單獨的 CR 或單獨的 LF 與組合同等對待。
語法
Delphi
Function TPDFlib.SetBreakString(Const NewBreakString: WideString): Integer;
ActiveX
Function PDFlib::SetBreakString(NewBreakString As String) As Long
DLL
int DLSetBreakString(int InstanceID, const wchar_t* NewBreakString);
int DLSetBreakStringA(int InstanceID, const char* NewBreakString);
參數
| NewBreakString | 作為斷行字元使用的字元字串,例如 Chr(13) + Chr(10) |
|---|
傳回值
一律傳回 1。