Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, April 1, 2011 1:36:18 AM(UTC)
a.bologni

Groups: Registered
Posts: 17


Hi, I have recently updated Leadtools Imaging Pro from version 15 to 17.
I have a portion of my code that is :

Leadtools.RasterImage bcImage = _codecs.Load(
                inputFileName1Front,
                0, Leadtools.Codecs.CodecsLoadByteOrder.BgrOrGray,
                1, info.TotalPages);
RasterImageGdiPlusGraphicsContainer gContainer = bcImage.CreateGdiPlusGraphics();
Graphics g = gContainer.Graphics;

I' ve the necessity to create a Graphics object from RsterImage.
I've the error in CreateGdiPlusGraphics because there isn't method.

How can I do?

Thanks

Andrea
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Saturday, April 2, 2011 10:44:28 PM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 2 time(s) in 2 post(s)

There are several design changes in LEADTOOLS v17. The RasterImage.CreateGdiPlusGraphics method has been replaced with the
Leadtools.Drawing.RasterImageGdiPlusGraphicsContainer(RasterImage) Method.
For more information regarding these changes, please check the help topic 'Leadtools Assembly Changes' in the .NET documentation.
Please let me know if you face any problems.
 
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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.101 seconds.