C++ 経由でフローチャートを Excel に挿入
Microsoft や Adobe PDF などのソフトウェアを使用せずに、サーバー側 Aspose.Cells for C++ API のネイティブで高いパフォーマンスを使用してオブジェクトを挿入します。
C++ を使用して Excel ファイルにフローチャートを挿入する方法
フローチャートを Excel ファイルに挿入するには、次を使用します。
API は、機能が豊富で強力で使いやすいドキュメント検索 API for C++ プラットフォームです。最新バージョンを直接ダウンロードできます。開くだけです。
パッケージマネージャー、検索 Aspose.Cells.Cpp そしてインストールします。パッケージ マネージャー コンソールから次のコマンドを使用することもできます。
指示
PM> Install-Package Aspose.Cells.Cpp
C++ 経由で Excel ファイルにフローチャートを挿入する手順
Workbook オブジェクトをインスタンス化します。(または -> XLSX ファイルをフルパスでロードします。)
- インデックスからワークシートを選択します。
- を使用してください メソッドの追加 選択したワークシートにフローチャートを挿入するには ワークブックを XLSX 形式で保存します。
システム要求
Aspose.Cells for C++ は、すべての主要なプラットフォームとオペレーティング システムでサポートされています。次の前提条件を満たしていることを確認してください。
- Microsoft Windows、または Windows 32 ビット、Windows 64 ビット、および Linux 64 ビットの C++ ランタイム環境と互換性のある OS。
- プロジェクトに Aspose.Cells for C++ DLL への参照を追加します。
以下のサンプル コードは、「マルチドキュメント」を挿入する方法を示しています。その他のタイプについては、以下の「フローチャートのタイプの概要」を参照してください。
フローチャートの挿入 - C++
フローチャートの種類の概要
![](/cells/net/shapes/insert-flowchart-to-excel/process.png)
オートシェイプタイプ::
AutoShapeType_FlowChartProcess
![](/cells/net/shapes/insert-flowchart-to-excel/alternate_process.png)
オートシェイプタイプ::
AutoShapeType_FlowChartAlternateProcess
![](/cells/net/shapes/insert-flowchart-to-excel/decision.png)
オートシェイプタイプ::
AutoShapeType_FlowChartDecision
![](/cells/net/shapes/insert-flowchart-to-excel/data.png)
オートシェイプタイプ::
AutoShapeType_FlowChartData
![](/cells/net/shapes/insert-flowchart-to-excel/predefined_process.png)
オートシェイプタイプ::
AutoShapeType_FlowChart事前定義プロセス
![](/cells/net/shapes/insert-flowchart-to-excel/internal_storage.png)
オートシェイプタイプ::
AutoShapeType_FlowChartInternalStorage
![](/cells/net/shapes/insert-flowchart-to-excel/document.png)
オートシェイプタイプ::
AutoShapeType_FlowChartDocument
![](/cells/net/shapes/insert-flowchart-to-excel/multidocument.png)
オートシェイプタイプ::
AutoShapeType_FlowChartマルチドキュメント
![](/cells/net/shapes/insert-flowchart-to-excel/terminator.png)
オートシェイプタイプ::
AutoShapeType_FlowChartTerminator
![](/cells/net/shapes/insert-flowchart-to-excel/preparation.png)
オートシェイプタイプ::
AutoShapeType_FlowChart準備
![](/cells/net/shapes/insert-flowchart-to-excel/manual_input.png)
オートシェイプタイプ::
AutoShapeType_FlowChartManualInput
![](/cells/net/shapes/insert-flowchart-to-excel/manual_operation.png)
オートシェイプタイプ::
AutoShapeType_FlowChartManualOperation
![](/cells/net/shapes/insert-flowchart-to-excel/connector.png)
オートシェイプタイプ::
AutoShapeType_FlowChartConnector
![](/cells/net/shapes/insert-flowchart-to-excel/offpage_connector.png)
オートシェイプタイプ::
AutoShapeType_FlowChartOffpageConnector
![](/cells/net/shapes/insert-flowchart-to-excel/card.png)
オートシェイプタイプ::
AutoShapeType_FlowChartCard
![](/cells/net/shapes/insert-flowchart-to-excel/punched_tape.png)
オートシェイプタイプ::
AutoShapeType_FlowChartパンチテープ
![](/cells/net/shapes/insert-flowchart-to-excel/summing_junction.png)
オートシェイプタイプ::
AutoShapeType_FlowChartSummingJunction
![](/cells/net/shapes/insert-flowchart-to-excel/or.png)
オートシェイプタイプ::
AutoShapeType_FlowChartOr
![](/cells/net/shapes/insert-flowchart-to-excel/collate.png)
オートシェイプタイプ::
AutoShapeType_FlowChartCollate
![](/cells/net/shapes/insert-flowchart-to-excel/sort.png)
オートシェイプタイプ::
AutoShapeType_FlowChartSort
![](/cells/net/shapes/insert-flowchart-to-excel/extract.png)
オートシェイプタイプ::
AutoShapeType_FlowChartExtract
![](/cells/net/shapes/insert-flowchart-to-excel/merge.png)
オートシェイプタイプ::
AutoShapeType_FlowChartMerge
![](/cells/net/shapes/insert-flowchart-to-excel/stored_data.png)
オートシェイプタイプ::
AutoShapeType_FlowChartStoredData
![](/cells/net/shapes/insert-flowchart-to-excel/delay.png)
オートシェイプタイプ::
AutoShapeType_FlowChartDelay
![](/cells/net/shapes/insert-flowchart-to-excel/sequential_access_storage.png)
オートシェイプタイプ::
AutoShapeType_FlowChartSequentialAccessStorage
![](/cells/net/shapes/insert-flowchart-to-excel/magnetic_disk.png)
オートシェイプタイプ::
AutoShapeType_FlowChartMagneticDisk
![](/cells/net/shapes/insert-flowchart-to-excel/direct_access_storage.png)
オートシェイプタイプ::
AutoShapeType_FlowChartDirectAccessStorage
![](/cells/net/shapes/insert-flowchart-to-excel/display.png)
オートシェイプタイプ::
AutoShapeType_FlowChartDisplay