Page 1 of 1

Posted: Wed Jan 07, 2004 7:42 am
by Chris
Hi --
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.
The following TeeChart Pro AXv6.0.0.4 code seems to work correctly here:

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