The following TeeChart Pro AXv6.0.0.4 code seems to work correctly here:The Export.CopyToClipboardMetafile (True) works fine until I use brushstyles in my area chart. The chart builds correctly but passes in the clipboard without brushstyles.
Code: Select all
Private Sub Command1_Click()
With TChart1
.Export.CopyToClipboardMetafile True
End With
End Sub
Private Sub Form_Load()
With TChart1
.AddSeries scArea
.Series(0).FillSampleValues 10
.Series(0).asArea.AreaBrush = bsBDiagonal
.Series(0).asArea.Brush.Style = bsBackDiagSmall
End With
End Sub