ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Problem using Resample with ImageEnDBView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Tulloch

USA
5 Posts

Posted - Sep 09 2014 :  08:04:30  Show Profile  Reply
We are having a strange problem using Resample with an ImageEnDBView component.

The following lines of code all work as expected:

ImageEnDBView1.Proc.Resample(1000, 1000);
ImageEnDBView1.Proc.Resample(-1, 1000);
ImageEnDBView1.Proc.Resample(1000, -1);

Adding the third parameter for FilterType causes a syntax error, E2003 Undeclared identifier: 'rfNone'.

ImageEnDBView1.Proc.Resample(1000, 1000, rfNone);

Thanks in advance for any help with this.

w2m

USA
1990 Posts

Posted - Sep 09 2014 :  08:43:46  Show Profile  Reply
Do you have hyiedefs in uses?

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

Tulloch

USA
5 Posts

Posted - Sep 09 2014 :  09:28:59  Show Profile  Reply
Hi Bill,

Thanks very much for the advice. Adding hyiedefs to the uses took care of the problem!

Jim
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: