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.

Syntax

Delphi

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

ActiveX

Function DebenuPDFLibrary1111.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 © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport