Debenu Quick PDF logo

DrawUniscribeText

Text

Version history

This function was introduced in Quick PDF Library version 13.12.

Description

Experimental function to draw text containing complex script on the selected page using the Uniscribe API. The selected font must have been added using the AddUnicodeFont function.

Syntax

Delphi

function TDebenuPDFLibrary1511.DrawUniscribeText(XPos, YPos: Double; 
  Text: WideString; Options: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DrawUniscribeText(XPos As Double,
  YPos As Double, Text As String, Options As Long) As Long

DLL

int DPLDrawUniscribeText(int InstanceID, double XPos, double YPos, wchar_t * Text,
  int Options)

Parameters

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
Options Reserved for future use. Should always be set to 0.

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