Debenu Quick PDF logo

AddSignProcessOverlayText

Security and Signatures

Version history

This function was introduced in Quick PDF Library version 12.12.

Description

Adds overlay text to the digital signature appearance.

Syntax

Delphi

function TDebenuPDFLibrary1511.AddSignProcessOverlayText(SignProcessID: Integer; 
  XPos, YPos, TextSize: Double; LayerName, OverlayText: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::AddSignProcessOverlayText(
  SignProcessID As Long, XPos As Double, YPos As Double,
  TextSize As Double, LayerName As String, OverlayText As String) As Long

DLL

int DPLAddSignProcessOverlayText(int InstanceID, int SignProcessID, double XPos,
  double YPos, double TextSize, wchar_t * LayerName, wchar_t * OverlayText)

Parameters

SignProcessID A value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions.
XPos The horizontal co-ordinate of the text starting position measured in points from the left edge of the signature area
YPos The vertical co-ordinate of the text baseline measured in points from the bottom edge of the signature area
TextSize The size in points of the text to draw
LayerName The name of the layer that the text should be drawn into, for example "n2"
OverlayText The text to draw. Characters should be limited to the WinAnsi character set.

Return values

0 The layer name was empty or the SignProcessID was invalid
1 The overlay text was added successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport