Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Chart Control
  New Posts New Posts RSS Feed - Copy chart to clipboard
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Copy chart to clipboard

 Post Reply Post Reply
Author
Message
wopag View Drop Down
Newbie
Newbie


Joined: 22 July 2025
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote wopag Quote  Post ReplyReply Direct Link To This Post Topic: Copy chart to clipboard
    Posted: 22 July 2025 at 2:58am


HI,

We just upgraded from v15 to 24 version.  We are just getting over the differences in the versions but have noticed that the copy to clipboard method we were using no longer works.


    Clipboard.Clear
    DoEvents
    Picture1.Cls
    Picture1.Width = Me.ChartControl.Width
    Picture1.Height = Me.ChartControl.Height
    Me.ChartControl.PrintToDC Picture1.hDC, -1, -1, Me.ChartControl.Width / Screen.TwipsPerPixelX, Me.ChartControl.Height / Screen.TwipsPerPixelY
    Clipboard.SetData Picture1.Image, vbCFBitmap




Using a a 3d Pie chart only copies the legend - it ignores the chart?

/Stu

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.