Update a Table Cell Format

This REST API updates table’s cell formatting properties.

The important properties are described below:

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.

REST API

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use cURL command-line tool to access Aspose.Words web services easily. The following example shows how to make calls to Cloud API with cURL. Feel free to download and explore sample input TablesGet.docx file designed to act as a demonstration and let you figure out the details quickly.

Cloud SDK Family

Using an SDK is the quickest way for a developer to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Words Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Words web services using various SDKs: