Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.WatermarkAnnot

Creates a Watermark annotation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 7.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.WatermarkAnnot"; PDF; PosX; PosY; Width; Height )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
PosX The x position.
PosY The y position.
Width The width of the watermark annotation.
Height The height of the watermark annotation.

Result

Returns annotation index or error.

Description

Creates a Watermark annotation.
Watermark annotations have no interactive elements like other annotation types. This property is useful in many cases because it is usually not possible to select or change the contents of a watermark annotation in viewer applications.
The annotation has no appearance after it was created. Call DynaPDF.CreateAnnotAP to create an appearance template for the annotation. After the appearance template was created you can draw text, images or vector graphics into it. The template must be closed with DynaPDF.EndTemplate when finished. It is also possible to import an external page or EMF contents into the template.
Watermark annotations can be shared on multiple pages. To place the annotation on other pages call DynaPDF.AddAnnotToPage.

If the function succeeds the return value is the annotation handle, a value greater or equal zero.
If the function fails the function returns an error.

See also WatermarkAnnot function in DynaPDF manual.

See also


DynaPDF.UnLockLayer   -   DynaPDF.WebLink

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins