GetWrappedTextBreakString

文字

描述

類似 GetWrappedText 函式,但保留文字中原有的斷行字串。要把文字切分到頁面上不同區域時很好用

語法

Delphi

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

ActiveX

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

DLL

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

參數

Width文字換行目標寬度
Delimiter換行之間使用的分隔符
TextThe text to wrap