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 - SetTransparency
  FAQ FAQ  Forum Search   Register Register  Login Login

SetTransparency

 Post Reply Post Reply
Author
Message
hbarclay View Drop Down
Team Player
Team Player


Joined: 29 Oct 05
Location: United States
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote hbarclay Quote  Post ReplyReply Direct Link To This Post Topic: SetTransparency
    Posted: 06 Jul 11 at 6:05PM

I'm not sure if this is a bug or if I'm just overlooking something obvious, but I'm having to use a workaround to get SetTransparency to work like I expect.

The problem occurs when I am using primarily FormFields but want to overlay the form with text.

I write the field values
Make a call to settransparency with a relatively high value (88) in this case.
Set the text size to a large value.

Call DrawrotatedText to print on the document.

Set the text size back to the original value
Call SetTransparency(0)

Now if I just flatten the fields and print the documents, the fields will use the proper text size, but the transparency is still 88 so they really don't show.

I can make this work by calling DrawRotatedText or just DrawText with a blank value after the SetTransparencly(0) and that apparently tickles the SetTransparency(0) to apply to the fields.

Am I overlooking something?

Harry

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