Debenu Quick PDF logo

DrawFontGroupText

Text

Version history

This function was introduced in Quick PDF Library version 13.12.

Description

Draws text on the selected page, automatically selecting a font from the specified font group, at the predetermined font size.

Syntax

Delphi

function TDebenuPDFLibrary1511.DrawFontGroupText(FontGroupName: WideString; XPos, 
  YPos: Double; Text: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DrawFontGroupText(FontGroupName As String,
  XPos As Double, YPos As Double, Text As String) As Long

DLL

int DPLDrawFontGroupText(int InstanceID, wchar_t * FontGroupName, double XPos,
  double YPos, wchar_t * Text)

Parameters

FontGroupName The name of the font group as used with the AddToUnicodeFontGroup function
XPos The horizontal position of where to draw the text
YPos The vertical position of where to draw the text
Text The text to draw on the page

Return values

0 The font group name was invalid or the text string contained no valid characters
1 The text was drawn successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport