Hello guys.
I need to copy a chart to clipboard, for this I use the CopyToClipboard(ClipboardImageFormat imageFormat, int width, int height) method, but the method doesn't return any result.
If I use the CopyToClipboard() method, the method copies a picture to clipboard, but it does not appropriate for me (It stretched).
Could you help me with this?
P.S.:I little bit debug my code and found that I can't change size of a LightningChartUltimate object. Maybe it may help for you.
Not able to copy to clipboard using Width and Height
Moderator: Queue Moderators
-
- Posts: 29
- Joined: Fri Sep 04, 2015 2:30 pm
Not able to copy to clipboard using Width and Height
- Attachments
-
- 11111.png (7.47 KiB) Viewed 10950 times
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Not able to copy to clipboard using Width and Height
Please update to newest 7.1.3.6 version. There has been fixes in the export routines.
chart.Width and Height only apply, if chart.Dock == None. Otherwise width and height are got from parent control.
chart.Width and Height only apply, if chart.Dock == None. Otherwise width and height are got from parent control.
LightningChart Support Team, PT
-
- Posts: 29
- Joined: Fri Sep 04, 2015 2:30 pm
Re: Not able to copy to clipboard using Width and Height
It works, thanks.