The TableWidthType enum specifies how the preferred width for a table,
table indent, table cell, cell margin, or cell spacing is defined.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
Public Enumeration WidthType
public enum class WidthType
Members
|
Member name
|
Value
|
Description
|
|
None
|
0
|
No Preffered Width
|
|
Auto
|
1
|
No preferred width is specified.
The width is derived from other table measurements where a preferred size is specified,
as well as from the size of the table contents, and the constraining size of the
container of the table.
|
|
Percentage
|
2
|
When specifying the preferred width of a portion of a table,
such as a cell, spacing or indent, the percentage is relative
to the width of the entire table.
When specifying the preferred width of an entire table,
the percentage is relative to the width of the page,
less any margin or gutter space. Alternatively,
if the table is nested inside another table,
the percentage is relative to the width of the cell
in the containing table, less cell margins.
|
|
Twip
|
3
|
The preferred width of the table, indent, cell,
cell margin, or cell spacing is an absolute width measured in twips.
|
See Also