Debenu Quick PDF logo

DrawWrappedText

Text, Page layout

Description

Draw text which is wrapped to a certain width. The SetTextAlign function can be used to change the alignment of the text. The SetBreakString function can be used to set the delimiter for the linebreak. The default is CR / LF pair. On some systems a LF may be default.

Syntax

Delphi

function TDebenuPDFLibrary1811.DrawWrappedText(XPos, YPos, Width: Double; 
  Text: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::DrawWrappedText(XPos As Double,
  YPos As Double, Width As Double, Text As String) As Long

DLL

int DPLDrawWrappedText(int InstanceID, double XPos, double YPos, double Width,
  wchar_t * Text)

Parameters

XPos The left edge of the text block
YPos The baseline of the first line of text
Width The width of the text block
Text The text to draw

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport