DrawWrappedText
Besedilo, Postavitev strani
Opis
Nariše besedilo, prelomljeno na določeno širino. Poravavo besedila lahko spremenite z funkcijo SetTextAlign. Ločilo za prelome vrstic nastavite z funkcijo SetBreakString. Privzeto je par CR / LF. Na nekaterih sistemih je lahko privzeto LF
Sintaksa
Delphi
Function TPDFlib.DrawWrappedText(XPos, YPos, Width: Double; Const Text: WideString): Integer;
ActiveX
Function PDFlib::DrawWrappedText(XPos As Double, YPos As Double, Width As Double, Text As String) As Long
DLL
int DLDrawWrappedText(int InstanceID, double XPos, double YPos, double Width, const wchar_t * Text);
Parametri
| XPos | Levi rob besedilnega bloka Osnovnica prve vrstice besedila |
|---|---|
| YPos | |
| Width | Širina besedilnega bloka |
| Text | Besedilo za izris |