Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1122 - GDI canvas throws a runtime error after exports a chart as image.
Summary: GDI canvas throws a runtime error after exports a chart as image.
Status: RESOLVED FIXED
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Others (show other bugs)
Version: unspecified
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 11:47 EST by sandra pazos
Modified: 2015-03-13 08:36 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2015-02-05 11:47:53 EST
GDI canvas throws a runtime error after exports a chart as image. Use the code below to reproduce the problem: 
Private Sub Command1_Click()
TChart1.Export.asJPEG.SaveToFile (App.Path & "\DBBar.jpeg")
End Sub
Private Sub Form_Load()
TChart1.Aspect.GDIPlus.Active = False
TChart1.AddSeries scLine
TChart1.Series(0).FillSampleValues
End Sub
The problem is reproducible in the Visual Basic. In the Japanese machine the problem occurs only when is used the executable. The exportation process works fine with GDIPlus canvas.
Comment 1 marc meumann 2015-03-13 08:36:03 EDT
Fix implemented affecting free up of GDIPlus elements.