Voeg FlowChart in Excel in via C++
Voeg objecten in met behulp van de native en hoge prestaties van de server-side Aspose.Cells for C++ API zonder gebruik te maken van software zoals Microsoft of Adobe PDF.
Hoe u een stroomdiagram in een Excel-bestand kunt invoegen met behulp van C++
Om FlowChart in het Excel-bestand in te voegen, gebruiken we
API, een functierijk, krachtig en gebruiksvriendelijk platform voor het zoeken naar documenten API for C++. U kunt de nieuwste versie direct downloaden, gewoon openen
pakketbeheerder, zoek naar Aspose.Cells.Cpp en installeren. U kunt ook de volgende opdracht gebruiken vanuit de Package Manager Console.
Commando
PM> Install-Package Aspose.Cells.Cpp
Stappen om FlowChart in Excel-bestand in te voegen via C++
- Een werkmapobject instantiëren. (of->Laad het bestand XLSX met het volledige pad.)
- Selecteer Werkblad via de index.
- Gebruik de methode toevoegen om een stroomdiagram in het geselecteerde werkblad in te voegen
- Bewaar werkmap in XLSX-formaat.
systeem vereisten
Aspose.Cells for C++ ondersteunt op alle belangrijke platforms en besturingssystemen. Zorg ervoor dat u aan de volgende vereisten voldoet.
- Microsoft Windows of een compatibel besturingssysteem met C++ Runtime Environment voor Windows 32 bit, Windows 64 bit en Linux 64 bit.
- Voeg een verwijzing toe naar de Aspose.Cells for C++ DLL in uw project.
De onderstaande voorbeeldcode laat zien hoe u een “Multidocument” invoegt. Voor meer typen kunt u het onderstaande “Overzicht van stroomdiagramtypen” raadplegen.
Stroomdiagram invoegen - C++
Overzicht van stroomdiagramtypen
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