Infoga flödesdiagram i Excel via C++
Infoga objekt med den inbyggda och höga prestanda på serversidan Aspose.Cells for C++ API utan att använda någon programvara som Microsoft eller Adobe PDF.
Hur man infogar flödesschema i Excel-fil med C++
För att infoga flödesdiagram i excel-filen kommer vi att använda
API som är en funktionsrik, kraftfull och lättanvänd plattform för dokumentsökning API for C++. Du kan ladda ner den senaste versionen direkt, bara öppna
pakethanterare, sök efter Aspose.Cells.Cpp och installera. Du kan också använda följande kommando från Package Manager Console.
Kommando
PM> Install-Package Aspose.Cells.Cpp
Steg för att infoga flödesschema till Excel-fil via C++
- Instantiera ett arbetsboksobjekt.(eller->Läs in XLSX-filen med fullständig sökväg.)
- Välj kalkylblad via dess index.
- Använd lägga till metod för att infoga flödesdiagram i det valda kalkylbladet
- Spara arbetsboken i XLSX-format.
Systemkrav
Aspose.Cells for C++ stöder på alla större plattformar och operativsystem. Se till att du har följande förutsättningar.
- Microsoft Windows eller ett kompatibelt operativsystem med C++ Runtime Environment för Windows 32 bitar, Windows 64 bitar och Linux 64 bitar.
- Lägg till referens till Aspose.Cells for C++ DLL i ditt projekt.
Exempelkoden nedan visar hur man infogar ett “Multidokument”. För fler typer, se “Översikt över flödesdiagramtyper” nedan.
Infoga flödesschema - C++
Översikt över flödesdiagramtyper
![](/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