Update a Table Cell Format

This REST API updates table’s cell formatting properties.

Important properties are the following:

Property Name Type Description
BottomPadding double Specifies the amount of space (in points) to add below the contents of the cell.
FitText bool If true, fits text in the cell, compressing each paragraph to the width of the cell.
HorizontalMerge CellMerge Specifies how the cell is merged horizontally with other cells in the row.
LeftPadding double Specifies the amount of space (in points) to add to the left of the contents of the cell.
Orientation TextOrientation Specifies the orientation of text in a table cell.
PreferredWidth PreferredWidth Specifies the preferred width of the cell.
RightPadding double Specifies the amount of space (in points) to add to the right of the contents of the cell.
TopPadding double Specifies the amount of space (in points) to add above the contents of the cell.
VerticalAlignment CellVerticalAlignment Specifies the vertical alignment of text in the cell.
VerticalMerge CellMerge Specifies how the cell is merged with other cells vertically.
Width double Gets the width of the cell in points.
WrapText bool If true, wrap the text for the cell.

Usage examples with cURL and Postman

You can carry out REST API interactions using cURL and Postman. Please read these instructions to receive a personal JWT_TOKEN for authorization.

Download sample TablesGet.docx file for testing purposes.

Aspose.Words Cloud SDK Family

Using SDK is the quickest way to speed up the development. Please go to the GitHub repository to explore a wide family of our Cloud SDKs. These powerful libraries take care of all low-level programming details and let you focus on your primary tasks.

Usage examples in Python, Java, C#, etc.

The following code samples show how to interact with the REST API using almost any mainstream programming language.

You can find a lot of other examples in Python, Java, C#, JavaScript, PHP, C++, Golang, Ruby, Swift, Dart on GitHub. All codes are thoroughly tested and ready for production use.