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
 Black-and-white image and color annotations
 New Topic  Reply to Topic
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

w2m

USA
1990 Posts

Posted - Oct 29 2018 :  10:27:40  Show Profile  Reply
Is IEBitmap1 defined as
var
IEBitmap1: TIEBitmap?

If it is defined as a TIEBitmap try
IEBitmap1.PrintImage(Printer.Canvas, 0, 0, 0, 0, ievpCenter, iehpCenter, iesNormal, 0, 0, 1);

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

graph_man

326 Posts

Posted - Oct 29 2018 :  10:44:22  Show Profile  Reply
TIEBitmap *IEBitmap1 = new TIEBitmap();

and

IEBitmap1->PrintImage(MyPrinter->Canvas, 0, 0, 0, 0, ievpCenter, iehpCenter, iesFitToPage, 0, 0, 1);
Go to Top of Page

w2m

USA
1990 Posts

Posted - Oct 29 2018 :  11:02:52  Show Profile  Reply
is the procedure in iexHelperFunctions, in other words, open iexHelperFunctions and look to see if 'PrintImage' is in your copy of iexHelperFunctions.

If it is not present upgrade to recent version. What version are you using?

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

graph_man

326 Posts

Posted - Oct 29 2018 :  11:15:13  Show Profile  Reply
I use the latest version
Go to Top of Page

w2m

USA
1990 Posts

Posted - Oct 29 2018 :  11:17:22  Show Profile  Reply
I have no answer. Contact Nigel.

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

graph_man

326 Posts

Posted - Oct 29 2018 :  11:28:52  Show Profile  Reply
There is procedure TIEBitmapHelper.PrintImage(...
Go to Top of Page

w2m

USA
1990 Posts

Posted - Oct 29 2018 :  11:34:27  Show Profile  Reply
You probably have more than one copy of iexHelperFunctions on your pc. Try to find how many you have and remove the older versions. If there is only one copy then contact Nigel.

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

graph_man

326 Posts

Posted - Oct 29 2018 :  11:36:39  Show Profile  Reply
...\ImageEn\Source
and
...\ImageEn\Delphi2010

Both files are the same.
Go to Top of Page

w2m

USA
1990 Posts

Posted - Oct 29 2018 :  11:52:17  Show Profile  Reply
Remove one.

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

graph_man

326 Posts

Posted - Oct 29 2018 :  15:21:24  Show Profile  Reply
1)
Remove one.
The same result.

2)
After reinstalling component - the same error message.
Go to Top of Page

xequte

38196 Posts

Posted - Oct 29 2018 :  16:42:52  Show Profile  Reply
I cannot think of any good reason you cannot access the helper methods from BCB 2010, but you can print the TIEBitmap as follows:

var
  io: TImageEnIO;
begin

  ...

  io := TImageEnIO.CreateFromBitmap( MyIEBitmap );
  try
    io.PrintingFilterOnSubsampling := SubsampleFilter;
    io.PrintImage( PrtCanvas,
                   MarginLeft, MarginTop, MarginRight, MarginBottom,
                   VerticalPos, HorizontalPos,
                   Size, SpecWidth, SpecHeight,
                   GammaCorrection, False, False,
                   Heading, HeadingHeight, HeadingColor );
  finally
    io.Free;
  end;
end;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
Jump To: