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
 [IEvolution] Scaling ObjectLines
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Claus.Gerlach

Germany
18 Posts

Posted - Jan 24 2013 :  07:16:20  Show Profile  Reply
Hello,

I'm using your IEvolution Library (Version 4.1.2).
In order to generate a PDF-document I've to scale everything of the IEViewer-Object:
1. image itself
2. annotations

If annotation-object is of type IEObjectLine and the line has direction from left, bottom corner to right, upper corner,
value of obj.Height is positive and value of obj.Rect.Rectangle.Height is the same but negative. The negative value is correct.
But I have no possibility to set the obj.Rect.Rectangle.Height-Property. This means that line will be mirrored on x-axis.
Is there a possibility to give Height the right sign?

Best Regards
Claus Gerlach

fab

1310 Posts

Posted - Jan 25 2013 :  01:29:27  Show Profile  Reply
Hello,
you should assign Rect property with a new value. For example:

obj.Rect = new IERect(x1, y1, x2, y2);

Where x2 and y2 can be less than x1 and y1.
Go to Top of Page

Claus.Gerlach

Germany
18 Posts

Posted - Jan 30 2013 :  23:41:52  Show Profile  Reply
Hello,
thank you for your help. It works fine.

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