WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Align a picture inside a cell in an Excel worksheet | Syncfusion
3
+
description: Learn how to align an image precisely within a worksheet cell using the Syncfusion .NET Excel (XlsIO) library, including positioning, fitting to the cell.
4
+
platform: document-processing
5
+
control: XlsIO
6
+
documentation: UG
7
+
---
8
+
9
+
# How to align a picture inside a cell in an Excel worksheet?
10
+
Image can be aligned in the cell as required using the **TopRowOffset** and **LeftColumnOffset** properties of **ShapeImpl**. In the Microsoft Excel UI, the image is dragged to the required position manually. In the same way, there are no specific values for this property. The values can only be assigned manually.
11
+
12
+
The following example shows how to align a picture inside a worksheet cell using the Syncfusion .NET Excel (XlsIO) library.
13
+
14
+
{% tabs %}
15
+
{% highlight c# tabtitle="C# [Cross-platform]" %}
16
+
using (ExcelEngine excelEngine = new ExcelEngine())
0 commit comments