Excel API Library for .NET - Sample Browser | Document Solutions | Shape
[
フレーム]
## Shape
Document Solutions for Excel lets you embed drawing objects like shapes and pictures in the cells of a worksheet. You can insert arrows, lines, charts, slicers, pictures, and general shapes.
To create a shape for a worksheet, use the **AddShape** method of the worksheet's Shapes collection. Then you can configure the Shape instance using properties like these:
- Configure a shape's fill style using the **Fill** property
- Configure a shape's line style using the **Line** property
- Configure a shape's 3D format using the **ThreeD** property
- Configure a shape's rich text using the **TextFrame** property
// Save to an excel file
workbook.Save("FolderExample.xlsx");
' Create a new Workbook
Dim workbook As New Workbook
FIXME: This demo doesn't have VB code.
' save to an excel file
workbook.Save("FolderExample.xlsx")