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
AutoShapeType::
AutoShapeType_FlowChartProcess
AutoShapeType::
AutoShapeType_FlowChartAlternateProcess
AutoShapeType::
AutoShapeType_FlowChartDecision
AutoShapeType::
AutoShapeType_FlowChartData
AutoShapeType::
AutoShapeType_FlowChartPredefinedProcess
AutoShapeType::
AutoShapeType_FlowChartInternalStorage
AutoShapeType::
AutoShapeType_FlowChartDocument
AutoShapeType::
AutoShapeType_FlowChartMultidocument
AutoShapeType::
AutoShapeType_FlowChartTerminator
AutoShapeType::
AutoShapeType_FlowChartPreparation
AutoShapeType::
AutoShapeType_FlowChartManualInput
AutoShapeType::
AutoShapeType_FlowChartManualOperation
AutoShapeType::
AutoShapeType_FlowChartConnector
AutoShapeType::
AutoShapeType_FlowChartOffpageConnector
AutoShapeType::
AutoShapeType_FlowChartCard
AutoShapeType::
AutoShapeType_FlowChartPunchedTape
AutoShapeType::
AutoShapeType_FlowChartSummingJunction
AutoShapeType::
AutoShapeType_FlowChartOr
AutoShapeType::
AutoShapeType_FlowChartCollate
AutoShapeType::
AutoShapeType_FlowChartSort
AutoShapeType::
AutoShapeType_FlowChartExtract
AutoShapeType::
AutoShapeType_FlowChartMerge
AutoShapeType::
AutoShapeType_FlowChartStoredData
AutoShapeType::
AutoShapeType_FlowChartDelay
AutoShapeType::
AutoShapeType_FlowChartSequentialAccessStorage
AutoShapeType::
AutoShapeType_FlowChartMagneticDisk
AutoShapeType::
AutoShapeType_FlowChartDirectAccessStorage
AutoShapeType::
AutoShapeType_FlowChartDisplay