Insert Callouts 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 Callouts into Excel File Using C++
In order to insert Callouts into excel file, we’ll use
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
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 Callouts 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 Equation Shapes 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 a “Thought Bubble: Cloud”. For more types, please refer to “Overview of Callout Types” below.
Insert Callouts - C++
Overview of Callout Types
AutoShapeType::
AutoShapeType_RectangularCallout
AutoShapeType::
AutoShapeType_RoundedRectangularCallout
AutoShapeType::
AutoShapeType_OvalCallout
AutoShapeType::
AutoShapeType_CloudCallout
AutoShapeType::
AutoShapeType_LineCalloutWithBorder1
AutoShapeType::
AutoShapeType_LineCalloutWithBorder2
AutoShapeType::
AutoShapeType_LineCalloutWithBorder3
AutoShapeType::
AutoShapeType_LineCalloutWithAccentBar1
AutoShapeType::
AutoShapeType_LineCalloutWithAccentBar2
AutoShapeType::
AutoShapeType_LineCalloutWithAccentBar3
AutoShapeType::
AutoShapeType_LineCalloutNoBorder1
AutoShapeType::
AutoShapeType_LineCalloutNoBorder2
AutoShapeType::
AutoShapeType_LineCalloutNoBorder3
AutoShapeType::
AutoShapeType_LineCalloutWithBorderAndAccentBar1
AutoShapeType::
AutoShapeType_LineCalloutWithBorderAndAccentBar2
AutoShapeType::
AutoShapeType_LineCalloutWithBorderAndAccentBar3