GetWrappedTextBreakStringA

Text

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetWrappedTextBreakString and string arguments are interpreted using the current SetAnsiMode code page

Similar to the GetWrappedText function, but preserves the break strings originally in the text. This is useful for splitting text into different areas on the page

Syntax

Delphi

Function DLGetWrappedTextBreakStringA(InstanceID: Integer; Width: Double; Delimiter, Text: PAnsiChar): PAnsiChar;

DLL

const char* DLGetWrappedTextBreakStringA(int InstanceID, double Width, const char* Delimiter, const char* Text);

Parameters

WidthThe width that the text should be wrapped to
DelimiterThe delimiter to use between wrapped lines
TextThe text to wrap