BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Suggestions List
 Grid
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zaksoft

240 Posts

Posted - 07/27/2022 :  09:37:32 AM  Show Profile  Visit zaksoft's Homepage  Reply with Quote
Hi,
using grid the ability to save and share is a key point.

See BCGPGridExample > Sparklines as an example.

I can select all and copy as HTML, and then save to an HTML file, but all graphs are stored as png into %temp%:

</TR>
<TR>
<TD>Combined</TD>
<TD>1.00
6.00
3.00</TD>
<TD>7.00
2.00
1.00</TD>
<TD>5.00
6.00
2.00</TD>
<TD>4.00
3.00
6.00</TD>
<TD>5.00
7.00
9.00</TD>
<TD>6.00
6.00
12.00</TD>
<TD><img src="C:\Users\zacca\AppData\Local\Temp\BCGPGridSparkline6.png" alt="Grid Sparkline" /></TD>
</TR>

Can you consider in future lib version the capabilities to save as a PNG all the sheet ? this can solve also many other issues with col width...

TIA for your attention.

Davide

Davide zaccanti
www.zaksoft.com

Support

4187 Posts

Posted - 07/28/2022 :  03:24:55 AM  Show Profile  Visit Support's Homepage  Reply with Quote
Hi,

You may export any window to the bitmap using CBCGPWorkspace::CreateScreenshot(CBitmap& bmpScreenshot, CWnd* pWnd) method, but bitmap will contain "on-screen" part only.

Best regards,

BCGSoft Technical Support
Go to Top of Page

zaksoft

240 Posts

Posted - 07/29/2022 :  03:26:59 AM  Show Profile  Visit zaksoft's Homepage  Reply with Quote
Do not work when the grid is larger or longer then screen resolution..

Davide

Davide zaccanti
www.zaksoft.com
Go to Top of Page

Support

4187 Posts

Posted - 07/29/2022 :  04:19:17 AM  Show Profile  Visit Support's Homepage  Reply with Quote
Yes, we've outlined this:

quote:
bitmap will contain "on-screen" part only


If your grid has a lot of rows/columns, export to bitmap may fail due to Windows limitations, therefore we don't have any plans to implement exporting of the whole grid.

Best regards,

BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000