PreferredWidthType Property

Gets the unit of measure used for this preferred width value.

Namespace:  Aspose.Words.Tables
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public PreferredWidthType Type { get; }

Property Value

Type: PreferredWidthType
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