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 : Thursday, July 23, 2009 5:02:07 PM(UTC)

brucelu  
brucelu

Groups: Registered
Posts: 7


I used the AddCommand like following:

myImage.AddPage(...)
AddCommand cmd = new AddCommand(AddCommandType.Add);
cmd.Run(myImage)

But the image hasn't any change. Is there something wrong with my code?
 

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 : Friday, July 24, 2009 6:13:52 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


The AddCommand.Run method doesn't modify the image passed to it.  It stores the resulting image in the read-only DestinationImage property.
 
#3 Posted : Sunday, July 26, 2009 10:18:18 PM(UTC)

brucelu  
brucelu

Groups: Registered
Posts: 7


Thank you Greg!
It works now. I didn't read the document carefully. This is mentioned in 'remarks'.
Thanks a lot.
 
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.044 seconds.