このトピックでは、Open XML SDK 2.5 for Office のクラスを使用して、プログラムによってスプレッドシート ドキュメントにグラフを挿入する方法を説明します。 このトピックのコードをコンパイルするには、次のアセンブリ ディレクティブが必要です。 using System.Collections.Generic; using System.Linq; using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Spreadsheet; using DocumentFormat.OpenXml.Drawing; using DocumentFormat.OpenXml.Drawing.Charts; using DocumentForma
![[方法] スプレッドシート ドキュメントにグラフを挿入する (Open XML SDK)](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)