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
Syntaxpublic PreferredWidthType Type { get; }
Public ReadOnly Property Type As PreferredWidthType
Get
public:
property PreferredWidthType Type {
PreferredWidthType get ();
}
member Type : PreferredWidthType with get
Property Value
Type:
PreferredWidthType
ExamplesRetrieves 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