# Watermark/Annotation in DynaPDFMBS

**URL:** <https://forum.xojo.com/t/watermark-annotation-in-dynapdfmbs/80703>\
**Category:** Extras\
**Created:** [June 16, 2024, 8:06am UTC](https://forum.xojo.com/t/watermark-annotation-in-dynapdfmbs/80703 "2024-06-16T08:06:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [June 16, 2024, 8:06am UTC](https://forum.xojo.com/t/watermark-annotation-in-dynapdfmbs/80703/1 "2024-06-16T08:06:17Z")

</div>

I have the option to add an Annotation to PDFs.  
It seems to be ‘all or nothing’ - every page of a multipage, or none.  
Is there a way to have the annotation only on _some_ of the pages?

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [June 16, 2024, 8:27am UTC](https://forum.xojo.com/t/watermark-annotation-in-dynapdfmbs/80703/2 "2024-06-16T08:27:15Z")

</div>

How do you add it?  
Normally it just applies to the open page. So do you do EditPage() function before adding it?  
And an annotation has normally a page property, so the viewer knows on which page to put it.

---

<div class="post-metadata">

**Author:** ![Jeff\_Tullin](https://forum.xojo.com/user_avatar/forum.xojo.com/jeff_tullin/32/693_2.png) [@Jeff\_Tullin](https://forum.xojo.com/u/Jeff_Tullin)\
**Post date:** [June 16, 2024, 8:56am UTC](https://forum.xojo.com/t/watermark-annotation-in-dynapdfmbs/80703/3 "2024-06-16T08:56:52Z")

</div>

more or less this…

> anhan = pdf.WatermarkAnnot…  
> then  
> // create an annotation appearance stream  
> Dim x As Integer = pdf.CreateAnnotAP(anhan)  
> save graphicstate  
> draw stuff  
> end template  
> restore state

I cant see any of the functions asking for a page number right now…
