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 356

Summary: [TD29016279] I am running your Direct2DDemo. When selecting GDI+ exporting of pict...
Product: .NET TeeChart Reporter: narcís calvet <narcis>
Component: Direct2DAssignee: Steema Issue Manager <issuemanager>
Status: IN_PROGRESS ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2013-11-20 11:25:20 EST
I am running your Direct2DDemo. When selecting GDI+ exporting of pictures works fine, but if I select Direct2D the exported picture is just a gray area without any axes and traces. PDF export works fine. [created:2012-07-26T16:39:00.000+01:00 reported by:narcis@steema.com reported in version:Build 4.1.2012.07130 (TeeChart for .NET)]
Comment 1 christopher ireland 2013-11-28 10:11:04 EST
This is problematic, as to export from Direct2D to an image file requires the IWICImagingFactory interface, at least according to this MSDN article here: 
http://msdn.microsoft.com/en-us/library/windows/desktop/ee690281(v=vs.85).aspx

unfortunately, the wrapper TeeChart uses for Direct2D, SlimDX, does not support this interface, making the exportation unworkable for the time being.

As a workaround, we suggest that for exportation to image files the GDI+ canvas is used.