PreferredWidthType Enumeration

Specifies the unit of measurement for the preferred width of a table or cell.

Namespace:  Aspose.Words.Tables
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public enum PreferredWidthType
Members
  Member nameValueDescription
Auto1 The preferred width is not specified. The actual width of the table or cell is either specified using the explicit width or will be determined automatically by the table layout algorithm when the table is displayed, depending on the table auto fit setting.
Percent2 Measure the current item width using a specified percentage.
Points3 Measure the current item width using a specified number of points (1/72 inch).
Remarks
Examples
Retrieves the preferred width type of a table cell.
Cell firstCell = table.FirstRow.FirstCell;
PreferredWidthType type = firstCell.CellFormat.PreferredWidth.Type;
double value = firstCell.CellFormat.PreferredWidth.Value;
See Also