Skip to main content
Participant
June 4, 2019
Question

Is it possible to determine if a PDF has layers/OCGs using VB.net?

  • June 4, 2019
  • 1 reply
  • 617 views

I would like to be able to determine if a PDF has layers/OCGs in it using an existing VB.net where we are previewing images.

We have some graphics files that our graphics department didn't turn off a layer with template marks on them.

We can't see them in the preview, but they do show up when actually printed.

When I come across one, I want to be able to alert them to correct the situation.

This topic has been closed for replies.

1 reply

lrosenth
Adobe Employee
Adobe Employee
June 4, 2019

You can using JavaScript which you can use from VB. See the SDK for documentation about JSObject