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

DynaPDF.StampAnnot

Creates a stamp annotation.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.StampAnnot"; PDF; SubType; PosX; PosY; Width; Height { ; Author; Subject; Comment } )   More

Parameters

Parameter Description Example Flags
PDF The PDF reference returned from DynaPDF.New. $pdf
SubType The type of stamp.
Can be Approved, AsIs, Confidential, Departmental, Draft, Experimental, Expired, Final, ForComment, ForPublicRelease, NotApproved, NotForPublicRelease, Sold, TopSecret or UserDefined.
"Approved"
PosX x-coordinate 100
PosY y-coordinate 100
Width Stamp width 100
Height Stamp height 100
Author The author name. Can be empty. "Christian Schmitz" Optional
Subject The subject to use. Can be empty. Optional
Comment The comment. Can be empty. Optional

Result

Returns annotation handle or error.

Description

Creates a stamp annotation.
PDF viewers support a large set of predefined stamp types but it is also possible to create user defined stamps. A user defined stamp can be created as follows:
  • Create the stamp with the SubType UserDefined.
  • Call DynaPDF.CreateAnnotAP with the handle of the stamp annotation to create a user defined appearance stream.
  • Draw arbitrary contents to the appearance stream and close it finally with EndTemplate, finish!

See also StampAnnot function in DynaPDF manual.

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 28th November 2014, last changed 12nd May 2023


DynaPDF.SquareAnnot - DynaPDF.StrokePath