Chèn FlowChart vào Excel qua C++
Chèn đối tượng bằng cách sử dụng hiệu suất cao và gốc của phía máy chủ Aspose.Cells for C++ API mà không cần sử dụng bất kỳ phần mềm nào như Microsoft hoặc Adobe PDF.
Cách chèn FlowChart vào file Excel bằng C++
Để chèn FlowChart vào file excel, chúng ta sẽ sử dụng
API là nền tảng tìm kiếm tài liệu API for C++ giàu tính năng, mạnh mẽ và dễ sử dụng. Bạn có thể tải trực tiếp phiên bản mới nhất của nó, chỉ cần mở
quản lý gói, tìm kiếm Aspose.Cells.Cpp và cài đặt. Bạn cũng có thể sử dụng lệnh sau từ Bảng điều khiển quản lý gói.
Yêu cầu
PM> Install-Package Aspose.Cells.Cpp
Các bước chèn FlowChart vào file Excel qua C++
- Khởi tạo một đối tượng Workbook.(hoặc->Tải file XLSX với đường dẫn đầy đủ.)
- Chọn Worksheet thông qua chỉ mục của nó.
- Sử dụng thêm phương pháp để chèn FlowChart vào bảng tính đã chọn
- Lưu sổ làm việc ở định dạng XLSX.
yêu cầu hệ thống
Aspose.Cells for C++ hỗ trợ trên tất cả các nền tảng và Hệ điều hành chính. Hãy đảm bảo rằng bạn có các điều kiện tiên quyết sau đây.
- Microsoft Windows hoặc HĐH tương thích với C++ Môi trường chạy cho Windows 32 bit, Windows 64 bit và Linux 64 bit.
- Thêm tham chiếu đến DLL Aspose.Cells for C++ trong dự án của bạn.
Mã mẫu bên dưới minh họa cách chèn “Đa tài liệu”. Để biết thêm các loại, vui lòng tham khảo “Tổng quan về các loại sơ đồ dòng chảy” bên dưới.
Chèn sơ đồ luồng - C++
Tổng quan về các loại sơ đồ dòng chảy
![](/cells/net/shapes/insert-flowchart-to-excel/process.png)
Kiểu hình tự động::
AutoShapeType_FlowChartProcess
![](/cells/net/shapes/insert-flowchart-to-excel/alternate_process.png)
Kiểu hình tự động::
AutoShapeType_FlowChartAlternateProcess
![](/cells/net/shapes/insert-flowchart-to-excel/decision.png)
Kiểu hình tự động::
AutoShapeType_FlowChartQuyết định
![](/cells/net/shapes/insert-flowchart-to-excel/data.png)
Kiểu hình tự động::
AutoShapeType_FlowChartData
![](/cells/net/shapes/insert-flowchart-to-excel/predefined_process.png)
Kiểu hình tự động::
AutoShapeType_FlowChartQuy trình được xác định trước
![](/cells/net/shapes/insert-flowchart-to-excel/internal_storage.png)
Kiểu hình tự động::
AutoShapeType_FlowChartInternalStorage
![](/cells/net/shapes/insert-flowchart-to-excel/document.png)
Kiểu hình tự động::
Tài liệu AutoShapeType_FlowChart
![](/cells/net/shapes/insert-flowchart-to-excel/multidocument.png)
Kiểu hình tự động::
AutoShapeType_FlowChartMultidocument
![](/cells/net/shapes/insert-flowchart-to-excel/terminator.png)
Kiểu hình tự động::
AutoShapeType_FlowChartTerminator
![](/cells/net/shapes/insert-flowchart-to-excel/preparation.png)
Kiểu hình tự động::
AutoShapeType_FlowChartPreparation
![](/cells/net/shapes/insert-flowchart-to-excel/manual_input.png)
Kiểu hình tự động::
AutoShapeType_FlowChartManualInput
![](/cells/net/shapes/insert-flowchart-to-excel/manual_operation.png)
Kiểu hình tự động::
AutoShapeType_FlowChartManualOperation
![](/cells/net/shapes/insert-flowchart-to-excel/connector.png)
Kiểu hình tự động::
AutoShapeType_FlowChartConnector
![](/cells/net/shapes/insert-flowchart-to-excel/offpage_connector.png)
Kiểu hình tự động::
AutoShapeType_FlowChartOffpageConnector
![](/cells/net/shapes/insert-flowchart-to-excel/card.png)
Kiểu hình tự động::
AutoShapeType_FlowChartCard
![](/cells/net/shapes/insert-flowchart-to-excel/punched_tape.png)
Kiểu hình tự động::
AutoShapeType_FlowChartPunchedTape
![](/cells/net/shapes/insert-flowchart-to-excel/summing_junction.png)
Kiểu hình tự động::
AutoShapeType_FlowChartSummingJunction
![](/cells/net/shapes/insert-flowchart-to-excel/or.png)
Kiểu hình tự động::
AutoShapeType_FlowChartHoặc
![](/cells/net/shapes/insert-flowchart-to-excel/collate.png)
Kiểu hình tự động::
AutoShapeType_FlowChartĐối chiếu
![](/cells/net/shapes/insert-flowchart-to-excel/sort.png)
Kiểu hình tự động::
AutoShapeType_FlowChartSort
![](/cells/net/shapes/insert-flowchart-to-excel/extract.png)
Kiểu hình tự động::
AutoShapeType_FlowChartExtract
![](/cells/net/shapes/insert-flowchart-to-excel/merge.png)
Kiểu hình tự động::
AutoShapeType_FlowChartHợp nhất
![](/cells/net/shapes/insert-flowchart-to-excel/stored_data.png)
Kiểu hình tự động::
AutoShapeType_FlowChartStoredData
![](/cells/net/shapes/insert-flowchart-to-excel/delay.png)
Kiểu hình tự động::
AutoShapeType_FlowChartDelay
![](/cells/net/shapes/insert-flowchart-to-excel/sequential_access_storage.png)
Kiểu hình tự động::
AutoShapeType_FlowChartSequentialAccessStorage
![](/cells/net/shapes/insert-flowchart-to-excel/magnetic_disk.png)
Kiểu hình tự động::
AutoShapeType_FlowChartMagneticDisk
![](/cells/net/shapes/insert-flowchart-to-excel/direct_access_storage.png)
Kiểu hình tự động::
AutoShapeType_FlowChartDirectAccessStorage
![](/cells/net/shapes/insert-flowchart-to-excel/display.png)
Kiểu hình tự động::
AutoShapeType_FlowChartHiển thị