Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
DynaPDF.WatermarkAnnot
Creates a Watermark annotation.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
DynaPDF
|
7.0 |
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
✅ Yes
|
MBS( "DynaPDF.WatermarkAnnot"; PDF; PosX; PosY; Width; Height )
More
MBS(
"DynaPDF.WatermarkAnnot"; /* Creates a Watermark annotation. */
$PDF; /* The PDF reference returned from
DynaPDF.New. */
$PosX; /* The x position. */
$PosY; /* The y position. */
$Width; /* The width of the watermark annotation. */
$Height) /* The height of the watermark annotation. */
Less
Parameters
Parameter |
Description |
Example |
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
Release notes
Blog Entries
Created 13th December 2016, last changed 13th December 2016
DynaPDF.Uninitialize
-
DynaPDF.WebLink
Feedback: Report problem or ask question.