1 person found this helpful
1. To take a snapshot of a graph
public var balanceSheetImage:String;
var snapshot:ImageSnapshot =
ImageSnapshot.captureImage(balanceSheet); // balanceSheet is a Flex chart instance
balanceSheetImage = ImageSnapshot.encodeImageAsBase64(snapshot);
snapshot = ImageSnapshot.captureImage(earnings);
earningsImage = ImageSnapshot.encodeImageAsBase64(snapshot);
2. Copy to the clipboard
You have more flexibility for that part if you use AIR than if you use Flash Player. With Flash Player, it will be only text based information, with AIR, it can be a binary format like a bitmap
3. Someone explains here how to get that Base 64 encoded XML image to Powerpoint
Thanks for your reply.Here we copying the image content as text to clipboard .But my requirement is need to copy the image snapshot, is there any possiblities.Are any third party API is available for the same.
Thanks in advance
Hi, not that I know of if you use Flash Player. Only AIR.