PNG JPG BMP TIFF XLSX
Aspose.Cells  for C++

Insert Stars And Banners into Excel via C++

Insert objects using the native and high performance of the server-side Aspose.Cells for C++ API without using any software such as Microsoft or Adobe PDF.

How to Insert Stars And Banners into Excel File Using C++

In order to insert Stars And Banners into excel file, we’ll use

Aspose.Cells for C++

API which is a feature-rich, powerful and easy to use document searching API for C++ platform. You can download its latest version directly, just open

NuGet

package manager, search for Aspose.Cells.Cpp and install. You may also use the following command from the Package Manager Console.

Command


PM> Install-Package Aspose.Cells.Cpp

Steps to insert Stars And Banners to Excel file via C++

  • Instantiating a Workbook object.(or->Load the XLSX file with full path.)
  • Select Worksheet via its index.
  • Use the add method to insert Stars And Banners in the selected worksheet
  • Save workbook in XLSX format.

System Requirements

Aspose.Cells for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
  • Add reference to the Aspose.Cells for C++ DLL in your project.

The sample code below demonstrates how to insert “Ribbon: Curved and Tilted Up” and “Explosion: 8 Points”. For more types, please refer to “Overview of Star and Banner Types” below.

 

Insert Stars And Banners - C++

 

Overview of Star And Banner Types

AutoShapeType::AutoShapeType_Explosion1

AutoShapeType::AutoShapeType_Explosion2

AutoShapeType::AutoShapeType_Star4

AutoShapeType::AutoShapeType_Star5

AutoShapeType::AutoShapeType_Star6

AutoShapeType::AutoShapeType_Star7

AutoShapeType::AutoShapeType_Star8

AutoShapeType::AutoShapeType_Star10

AutoShapeType::AutoShapeType_Star12

AutoShapeType::AutoShapeType_Star16

AutoShapeType::AutoShapeType_Star24

AutoShapeType::AutoShapeType_Star32

AutoShapeType::AutoShapeType_UpRibbon

AutoShapeType::AutoShapeType_DownRibbon

AutoShapeType::AutoShapeType_CurvedUpRibbon

AutoShapeType::AutoShapeType_CurvedDownRibbon

AutoShapeType::AutoShapeType_VerticalScroll

AutoShapeType::AutoShapeType_HorizontalScroll

AutoShapeType::AutoShapeType_Wave

AutoShapeType::AutoShapeType_DoubleWave

  • About Aspose.Cells for C++ API

    Aspose.Cells API can be used to create, edit, convert and render Microsoft Excel formats to different formats. Moreover, it can be used for comprehensive charting, scalable reporting and reliable calculations within software applications. Aspose.Cells is a standalone API and it does not require any software like Microsoft or OpenOffice.