Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Layer Attributes

Question

Is there a way to get the Layer's/OCGs printable and visible attributes ? There is already a way to set them, but i didn't find out how to get the layer attributes of a loaded PDF.

Answer

In version 7.21 there is a new function called GetOptionalContentConfigState which will tell you if an optional content group is visible or not (on or off). There isn't a function for determining if an OCG is printable at the moment, but we'll try to add it for the 7.21 release as well.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum