Loading...

draw multiple transparent rectangles in multipage TIFF

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

draw multiple transparent rectangles in multipage TIFF

Postby dsellers » Fri Jul 31, 2009 11:01 am

Hi

Just evaluating gdPicturePro and gdViewer. I need to be able to open and display multipage TIFFs and PDFs and to highlight certain areas on certain pages. I have experimented with DrawFillRectangle() and have had a little success - I can open and display a file in the viewer and step back and forth thru the pages. I can display a highlight rectangle with:

Code: Select all
   Imaging1.SetNativeImage(gdviewer1.GetNativeImage);
   Imaging1.DrawFillRectangle(0, 0, 300, 500, Imaging1.argb(180, r,g,b), true);
   gdviewer1.SetNativeImage(Imaging1.GetNativeImage);


Of course now though, I can no longer step thru pages (cos I only have the single native image in the viewer). I don't want the highlights to be permanent (not saved to file) but I want to be able to set highlights when the file is opened and for them to be visible as I step thru the pages. Is there an easy way of doing this or do I have to implement a whole separate paging mechanism based on the above ?

Regards
Dave
dsellers
 
Posts: 1
Joined: Tue Jul 28, 2009 2:12 pm

Re: draw multiple transparent rectangles in multipage TIFF

Postby Loïc » Tue Aug 04, 2009 11:49 pm

Hi Dave,

Highlighted regions are available in out .NET editions only.
With GdPicture ActiveX, you have to implement your own mechanism.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron