Vložte vývojový diagram do Excelu přes C++
Vkládejte objekty pomocí nativního a vysokého výkonu na straně serveru Aspose.Cells for C++ API bez použití jakéhokoli softwaru, jako je Microsoft nebo Adobe PDF.
Jak vložit vývojový diagram do souboru aplikace Excel pomocí C++
Abychom mohli vložit vývojový diagram do souboru aplikace Excel, použijeme
API, což je funkčně bohatá, výkonná a snadno použitelná platforma pro vyhledávání dokumentů API for C++. Jeho nejnovější verzi si můžete stáhnout přímo, stačí otevřít
správce balíčků, vyhledejte Aspose.Cells.Cpp a nainstalovat. Můžete také použít následující příkaz z konzoly Správce balíčků.
Příkaz
PM> Install-Package Aspose.Cells.Cpp
Kroky pro vložení vývojového diagramu do souboru aplikace Excel prostřednictvím C++
- Vytvoření instance objektu Workbook. (nebo->Načtěte soubor XLSX s úplnou cestou.)
- Vyberte List přes jeho index.
- Použijte přidat metodu pro vložení vývojového diagramu do vybraného listu
- Uložit sešit ve formátu XLSX.
Požadavky na systém
Aspose.Cells for C++ podporuje všechny hlavní platformy a operační systémy. Ujistěte se prosím, že máte následující předpoklady.
- Microsoft Windows nebo kompatibilní OS s C++ Runtime Environment pro Windows 32 bit, Windows 64 bit a Linux 64 bit.
- Přidejte odkaz na Aspose.Cells for C++ DLL ve svém projektu.
Ukázkový kód níže ukazuje, jak vložit “Multidocument”. Další typy naleznete v části „Přehled typů vývojových diagramů“ níže.
Vložte vývojový diagram – C++
Přehled typů vývojových diagramů
![](/cells/net/shapes/insert-flowchart-to-excel/process.png)
AutoShapeType::
AutoShapeType_FlowChartProcess
![](/cells/net/shapes/insert-flowchart-to-excel/alternate_process.png)
AutoShapeType::
AutoShapeType_FlowChartAlternateProcess
![](/cells/net/shapes/insert-flowchart-to-excel/decision.png)
AutoShapeType::
AutoShapeType_FlowChartDecision
![](/cells/net/shapes/insert-flowchart-to-excel/data.png)
AutoShapeType::
AutoShapeType_FlowChartData
![](/cells/net/shapes/insert-flowchart-to-excel/predefined_process.png)
AutoShapeType::
AutoShapeType_FlowChartPredefinedProcess
![](/cells/net/shapes/insert-flowchart-to-excel/internal_storage.png)
AutoShapeType::
AutoShapeType_FlowChartInternalStorage
![](/cells/net/shapes/insert-flowchart-to-excel/document.png)
AutoShapeType::
AutoShapeType_FlowChartDocument
![](/cells/net/shapes/insert-flowchart-to-excel/multidocument.png)
AutoShapeType::
AutoShapeType_FlowChartMultidocument
![](/cells/net/shapes/insert-flowchart-to-excel/terminator.png)
AutoShapeType::
AutoShapeType_FlowChartTerminator
![](/cells/net/shapes/insert-flowchart-to-excel/preparation.png)
AutoShapeType::
AutoShapeType_FlowChartPreparation
![](/cells/net/shapes/insert-flowchart-to-excel/manual_input.png)
AutoShapeType::
AutoShapeType_FlowChartManualInput
![](/cells/net/shapes/insert-flowchart-to-excel/manual_operation.png)
AutoShapeType::
AutoShapeType_FlowChartManualOperation
![](/cells/net/shapes/insert-flowchart-to-excel/connector.png)
AutoShapeType::
AutoShapeType_FlowChartConnector
![](/cells/net/shapes/insert-flowchart-to-excel/offpage_connector.png)
AutoShapeType::
AutoShapeType_FlowChartOffpageConnector
![](/cells/net/shapes/insert-flowchart-to-excel/card.png)
AutoShapeType::
AutoShapeType_FlowChartCard
![](/cells/net/shapes/insert-flowchart-to-excel/punched_tape.png)
AutoShapeType::
AutoShapeType_FlowChartPunchedTape
![](/cells/net/shapes/insert-flowchart-to-excel/summing_junction.png)
AutoShapeType::
AutoShapeType_FlowChartSummingJunction
![](/cells/net/shapes/insert-flowchart-to-excel/or.png)
AutoShapeType::
AutoShapeType_FlowChartOr
![](/cells/net/shapes/insert-flowchart-to-excel/collate.png)
AutoShapeType::
AutoShapeType_FlowChartCollate
![](/cells/net/shapes/insert-flowchart-to-excel/sort.png)
AutoShapeType::
AutoShapeType_FlowChartSort
![](/cells/net/shapes/insert-flowchart-to-excel/extract.png)
AutoShapeType::
AutoShapeType_FlowChartExtract
![](/cells/net/shapes/insert-flowchart-to-excel/merge.png)
AutoShapeType::
AutoShapeType_FlowChartMerge
![](/cells/net/shapes/insert-flowchart-to-excel/stored_data.png)
AutoShapeType::
AutoShapeType_FlowChartStoredData
![](/cells/net/shapes/insert-flowchart-to-excel/delay.png)
AutoShapeType::
AutoShapeType_FlowChartDelay
![](/cells/net/shapes/insert-flowchart-to-excel/sequential_access_storage.png)
AutoShapeType::
AutoShapeType_FlowChartSequentialAccessStorage
![](/cells/net/shapes/insert-flowchart-to-excel/magnetic_disk.png)
AutoShapeType::
AutoShapeType_FlowChartMagneticDisk
![](/cells/net/shapes/insert-flowchart-to-excel/direct_access_storage.png)
AutoShapeType::
AutoShapeType_FlowChartDirectAccessStorage
![](/cells/net/shapes/insert-flowchart-to-excel/display.png)
AutoShapeType::
AutoShapeType_FlowChartDisplay