Drawing on top of PDF Viewer

Drawing on top of PDF Viewer

Forum member · Nov 9, 2009
Good afternoon, I have just downloaded an evaluation version of the PDF Viewer. My usage scenario is as follows: 1. The user opens a file in my application using PDF Viewer. 2. From an external database some trim-box and bleed-box information is loaded. 3. The user gets a preview where the trix-box and bleed-box are rendered opaque on top of the text. Is there a possibility to do this with the PDF Viewer? Best regards, Tomislav

Re: Drawing on top of PDF Viewer

Support · Nov 9, 2009
Hello Tomislav, You will be able to display a rectangle on top of the text by using the SetViewRect method of the Viewer control. This method will take the X, Y, Width, and Height of the rectangle as parameters. But it is not possible to set opacity to the rectangle. Thanks, ceTe Software Support Team.