Do you own a Quick PDF Library 7 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 8 today!

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.


© 2012 Debenu. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum