widthtype-ag凯发旗舰厅
com.spire.doc
enum widthtype
java.lang.object
java.lang.enum<widthtype>
com.spire.doc.widthtype
- all implemented interfaces:
- java.lang.comparable<widthtype>
public enum widthtype
- extends java.lang.enum<widthtype>
the tablewidthtype enum specifies how the preferred width for a table,
table indent, table cell, cell margin, or cell spacing is defined.
enum constant summary |
auto
no preferred width is specified. |
none
|
percentage
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. |
twip
the preferred width of the table, indent, cell,
cell margin, or cell spacing is an absolute width measured in twips. |
none
public static final widthtype none
auto
public static final widthtype auto
- 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
public static final widthtype percentage
- 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
public static final widthtype twip
- the preferred width of the table, indent, cell,
cell margin, or cell spacing is an absolute width measured in twips.
getvalue
public int getvalue()