Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - setlayeroptional
  FAQ FAQ  Forum Search   Register Register  Login Login

setlayeroptional

 Post Reply Post Reply
Author
Message
alungwyther View Drop Down
Beginner
Beginner


Joined: 19 Feb 06
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote alungwyther Quote  Post ReplyReply Direct Link To This Post Topic: setlayeroptional
    Posted: 19 Feb 06 at 9:40AM

Hi

I am am having some problems with layers.
I have the following in my program

Result = .NewOptionalContentGroup "1"
LayerID = .GetOptionalContentGroupID (1)
Result = .SetOptionalContentGroupVisible(LayerID, 0)
Result = .SetLayerOptional(LayerID)

It works OK until the .SetLayerOptional statement which returns a 0, The OptionalContentGroupID parameter was not valid.
The ID must be valid as the .SetOptionalContentGroupVisible statement works fine.
I have also tried using the ID returned by .NewOptionalContentGroup but get the same results.
All help much appreciated.

Best Regards
Alun Gwyther
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store