Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
System::Windows::Forms::DataVisualization::Charting::Chart^クリップボードにコピーする最も簡単な方法は何ですか?
System::Windows::Forms::DataVisualization::Charting::Chart^
どうもありがとう。
メモリ ストリームを介してビットマップに保存し、それをクリップボードに置くことができます。このようなもの:
MemoryStream^ pStream = gcnew MemoryStream(); yourchart->SaveImage(pStream, ChartImageFormat::Bmp); Bitmap^ pBmp = gcnew Bitmap(pStream); Clipboard::SetImage(pBmp);