SetFormFieldSignatureImage

Image handling, Form fields, Security and Signatures

Description

Sets the visual appearance of a signature form field to use the specified image.

Syntax

Delphi

function TPDFlib.SetFormFieldSignatureImage(Index, ImageID, Options: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldSignatureImage(Index As Long, ImageID As Long, Options As Long) As Long

DLL

int DLSetFormFieldSignatureImage(int InstanceID, int Index, int ImageID, int Options);

Parameters

IndexThe index of the signature form field to work with. The first form field has an index of 1.
ImageIDA valid image ID as returned by the SelectedImage or GetImageID functions.
Options0 = The image is stretched in both directions to fill the field size without any rotation

Return values

0The form field was not a signature field, the the Index parameter was out of range or the ImageID parameter was invalid.
1Success