CopyToClipboardEnhMetafile
Posted: Fri Apr 18, 2008 8:15 am
Hi,
I am using the following code to copy a chart as an emf to the clipboard.
void CTeeChartDotNet2::CopyToClipboardEnhMetafile()
{
Steema::TeeChart::Export::MetafileFormat metaFile = mControl->Chart;
metaFile.bEnhanced = true;
metaFile.CopyToClipboard();
}
In version 2.0.2652.22325 it works perfect. With version 2.0.2987.19069 it produces none or corrupt clipboard contents.
What's wrong? Is there something missing? Is there a new interface?
Thanks
Sancho
I am using the following code to copy a chart as an emf to the clipboard.
void CTeeChartDotNet2::CopyToClipboardEnhMetafile()
{
Steema::TeeChart::Export::MetafileFormat metaFile = mControl->Chart;
metaFile.bEnhanced = true;
metaFile.CopyToClipboard();
}
In version 2.0.2652.22325 it works perfect. With version 2.0.2987.19069 it produces none or corrupt clipboard contents.
What's wrong? Is there something missing? Is there a new interface?
Thanks
Sancho