|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.PreferredWidth
public class PreferredWidth
An PreferredWidth class that specifies the preferred total width of the table of which this row is a part.
Constructor Summary | |
---|---|
PreferredWidth(WidthType type,
short value)
Create a new PreferredWidth object |
Method Summary | |
---|---|
static PreferredWidth |
getAuto()
Get an instance of PreferredWidth, this instance indicates thie preferred width is auto. |
static PreferredWidth |
getNone()
Get an instance of PreferredWidth, this instance indicates thie preferred width is not specified. |
WidthType |
getType()
A enum element from WidthType that specifies the units of measurement for the Value. |
short |
getValue()
An short value that specifies the preferred width |
Constructor Detail |
---|
public PreferredWidth(WidthType type, short value)
type
- A enum element from WidthType that specifies the units of measurement for the Value.
if type is Auto or None, the value must be 0,
if type is Percentage, the value must be non-negative and less than or equal to 600,
if type is Twip, the value must be non-negative and and less than or equal to 31,680 (22 inches).value
- An short value that specifies the preferred widthMethod Detail |
---|
public short getValue()
public WidthType getType()
public static PreferredWidth getAuto()
public static PreferredWidth getNone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |