Search found 2 matches

by Magnus
Mon Mar 23, 2020 12:12 am
Forum: VCL
Topic: How do create a working instance of TChart using GDI+ in runtime, in a non main thread
Replies: 3
Views: 15158

How do create a working instance of TChart using GDI+ in runtime, in a non main thread

I have this thread that should generate a report and send it as an HTML email with an embedded chart (PNG image). I am trying to use TChart to generate this chart, and then use VclTee.TeePNG.TPNGExportFormat to generate the PNG stream. The TChart is created in runtime from within a separate TThread ...