What is the file version of Leadtools.dll that you are using?
Does the RasterImage still have pages left when you call RemovePage or are you attempting to remove a page from a single page image?
Is there any kind of loop in your code? I would double-check your logic to make sure you do not have an off-by-one error that is causing you to attempt something illegal like overstepping the bounds of an array or removing something that doesn't exist.
If you continue to have problems, please send a small sample project (NOT your entire application) that isolates this problem so I can try to reproduce it here.
NOTE: If you are attaching a project or file to the forums...
1.) Zip the file(s) up.
2.) Make sure it is less than 5 MB. If it is larger, please send an email to support@leadtools.com and we'll send you FTP instructions.
3.) Remove ANY AND ALL unlock codes and LEADTOOLS DLLs.
4.) Do not click the preview button, the attachment will not show up when you post it.
If you do not wish to post your file(s) on the forum since they are publically viewable, please send an email to support@leadtools.com and make sure that you include a link to this forum post.
Greg Ross LEADTOOLS Technical Support
|