share image (#1039)
This commit is contained in:
parent
8483b68f12
commit
dab258f3f0
@ -316,6 +316,7 @@ void GraphingCalculator::OnDataRequested(DataTransferManager ^ sender, DataReque
|
|||||||
auto bitmapStream = GraphingControl->GetGraphBitmapStream();
|
auto bitmapStream = GraphingControl->GetGraphBitmapStream();
|
||||||
|
|
||||||
requestData->ResourceMap->Insert(ref new String(L"graph.png"), bitmapStream);
|
requestData->ResourceMap->Insert(ref new String(L"graph.png"), bitmapStream);
|
||||||
|
requestData->SetBitmap(bitmapStream);
|
||||||
|
|
||||||
// Set the thumbnail image (in case the share target can't handle HTML)
|
// Set the thumbnail image (in case the share target can't handle HTML)
|
||||||
requestData->Properties->Thumbnail = bitmapStream;
|
requestData->Properties->Thumbnail = bitmapStream;
|
||||||
|
Loading…
Reference in New Issue
Block a user