Example code of writing annotations to OCG Layer

Discussions about PDF management.
Post Reply
StevenH
Posts: 4
Joined: Mon Mar 20, 2017 3:28 pm

Example code of writing annotations to OCG Layer

Post by StevenH » Tue Mar 28, 2017 4:01 pm

Is it possible to draw annotations to an OCG layer? Is there a code example of creating an OCG layer and writing an annotation to that layer?

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: Example code of writing annotations to OCG Layer

Post by Gabriela » Wed Mar 21, 2018 9:45 am

Hi,
Unfortunately, we do not support adding an annotation to an OCG layer yet.
You can find some examples related to OCG features in the Optional Content Groups (Layers) section in our Reference Guide, for example:
https://www.gdpicture.com/guides/gdpicture/web ... ewOCG.html

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest