mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 05:43:10 -07:00
share image (#1039)
This commit is contained in:
parent
8483b68f12
commit
dab258f3f0
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue