Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.PlaceSigFieldValidateIcon

Places the validation icon within a signature field to the wished position.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 10.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.PlaceSigFieldValidateIcon"; PDF; SigField; PosX; PosY; Width; Height )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
SigField Handle of a signature field
PosX X-Coordinate of the icon
PosY Y-Coordinate of the icon
Width Icon width
Height Icon height

Result

Returns OK or error.

Description

Places the validation icon within a signature field to the wished position.
By default, the validation icon is scaled to the width or height of the signature field and it is horizontally and vertically centered. When creating a user defined appearance for a signature field it is sometimes required to place the validation icon on another position within the signature field so that no important contents will be overdrawn.
The unscaled size of the validation icon is 100 x 100 units. It can be scaled to every size you want but it is usually best to preserve the aspect ratio. The icon should normally be placed fully inside the signature field. If the validation icon should not be shown then place it outside the signature field.
See also DynaPDF.CreateSigFieldAP.
Please note that the position of the validation icon is no property that can be stored in the PDF file. The position and size that you set with this function can only be considered if the file will be signed later with DynaPDF (see DynaPDF.SaveAndSignFile for further information).

See also PlaceSigFieldValidateIcon function in DynaPDF manual.

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 20th April 2020, last changed 20th April 2020


DynaPDF.Parser.WriteToPage - DynaPDF.PlaceTemplate