Example of Image in ASP.NET Core Spreadsheet Control

Spreadsheet
Illustrations
Image

This sample explains about the image feature by using weekly diet planner as an example. You can change the height and width of the picture by resizing and move it to another position by drag and drop.

ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Weekly Diet Planner
BREAKFASTLUNCHDINNERSNACKS
SBacon, Eggs, and Toast
MStrawberry Waffles
TPancakes and Maple Syrup
WSausage and Egg Sandwich
T
F
S

In this demo, the image has been inserted in the specific cell position by using the image property in the cell object. You can also insert an image by using the insertImage method. To enable or disable this feature use the allowImage property in Spreadsheet.

This sample is configured with import and export options. Use Ctrl + O to open an excel file and Ctrl + S to save an excel file with a picture.

More information about the Spreadsheet component can be found in this documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab