Hello,
I am using the latest 2014 TeeChart under XE6 and Windows 8.1 Attached you may find a sample application that creates a metafile and assigns it in a TImage. You can see that at the right and bottom of the created metafile appears something like a border.
Regards
Issue with TeeCreatMetafile
Issue with TeeCreatMetafile
- Attachments
-
- Unit1.zip
- (56.72 KiB) Downloaded 539 times
Re: Issue with TeeCreatMetafile
Hello,
This sounds to be the same here:
http://www.teechart.net/support/viewtop ... =3&t=14851
In your case, these could be a workaround for you:
This sounds to be the same here:
http://www.teechart.net/support/viewtop ... =3&t=14851
In your case, these could be a workaround for you:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
var m: tmetafile;
oldColor: TColor;
begin
oldColor:=Self.Color;
Self.Color:=clWhite;
m := Chart5.TeeCreateMetafile(false,
Rect(0, 0, Round(Image1.Width), Round(Image1.Height)));
Image1.Picture.Assign(m);
m.Free;
Self.Color:=oldColor;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Issue with TeeCreatMetafile
Hello Yeray,
Thank you for your reply, indeed the code you mentioned fixes the issue but before I add so many lines to my projects do you have an estimate if this will be fixed shortly?
Regards
Thank you for your reply, indeed the code you mentioned fixes the issue but before I add so many lines to my projects do you have an estimate if this will be fixed shortly?
Regards
Re: Issue with TeeCreatMetafile
Hello,
I see you've added your mail to the ticket so you can be notified when it will be closed.
I've incremented the issue priority but I'm afraid I can't tell you a date for this to be fixed.johnnix wrote:Thank you for your reply, indeed the code you mentioned fixes the issue but before I add so many lines to my projects do you have an estimate if this will be fixed shortly?
I see you've added your mail to the ticket so you can be notified when it will be closed.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |