Example.
I have a FastLine series with cursor. I'd like to export the chart and the numeric information for cursor x and y position. To prepare this for Bitmap export I do
Code: Select all
Chart1->CopyToClipboardBitmap();
Graphics::TBitmap* BMP = new Graphics::TBitmap;
BMP->Assign(Clipboard());
Can I do something similar with TPNGExportFormat without drawing all to the visible chart? Can I assign a BMP to a TPNGExportFormat? There is a Bitmap() function for TPNGExportFormat with explanation
How can I set the bitmap used by the PNGExport? Bitmap() doesn't accept a parameter.Sets or returns the bitmap used by the PNGExport