Debenu Quick PDF logo

DrawMultiLineText

Text, Page layout

Description

Draw text which is wrapped at a specific delimiter. The SetTextAlign function can be used to change the alignment of the text.

Syntax

Delphi

function TDebenuPDFLibrary1811.DrawMultiLineText(XPos, YPos: Double; Delimiter, 
  Text: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::DrawMultiLineText(XPos As Double,
  YPos As Double, Delimiter As String, Text As String) As Long

DLL

int DPLDrawMultiLineText(int InstanceID, double XPos, double YPos,
  wchar_t * Delimiter, wchar_t * Text)

Parameters

XPos The horizontal reference point of the text block
YPos The baseline of the first line of text
Delimiter The delimiter to use when splitting the text into lines. The only valid characters to use as the delimiter are characters which have a "width", as well as the CR and LF characters (ASCII values 13 and 10).
Text The text to draw

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport