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!
![]() |
FlattenAnnot still opaque in v10.13 |
Post Reply
|
| Author | |
kk aw
Team Player
Joined: 02 Feb 10 Location: Malaysia Status: Offline Points: 36 |
Post Options
Thanks(0)
Quote Reply
Topic: FlattenAnnot still opaque in v10.13Posted: 28 Mar 14 at 12:36AM |
|
The FlattenAnnot function in version 10.13 still create an opaque bar when use with the renderto.. function.
The codes I use are as follows: iPageCount:= Qp.PageCount; With Qp do begin For i:= 1 to iPagecount do begin QP.SelectPage(i); iAnnotCount:= qp.AnnotationCount; for j:= iAnnotCount downto 1 do begin s1:= qp.GetAnnotStrProperty(j, 101); If sm.equalIC(s1,'Highlight') then begin retval:= qp.FlattenAnnot(j, 0); if retval = 0 then ShowMessage(Format('Annotation No. %d cannot be flattened',[j])); end; end; end; end; |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 Mar 14 at 6:12AM |
|
kk aw,
Have you tried opening your PDF file in Acrobat ? Your code is working for me if I open the flattened PDF in Acrobat.
The Highlight annotation uses transparency object and will require the new rendering engine to render correctly if you use any of the Debenu Quick PDF Library rendering functions such as RenderPageToFile etc... ret = QP.SetDPLRFileName(@"DebenuPDFRendererDLL1013.dll"); SelectRenderer(3); The extra DLL can be found in the "Rendering and Printing Add-On" directory in your Debenu Quick PDF Library 10.13 installation directory. Andrew. |
|
![]() |
|
kk aw
Team Player
Joined: 02 Feb 10 Location: Malaysia Status: Offline Points: 36 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 Mar 14 at 7:30AM |
|
Can you provide the code example for Delphi. I am not sure of the DebenuPDFRendererDLL1013.dll function.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store