PreferredWidth Constructor
|
Create a new PreferredWidth object
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public PreferredWidth(
WidthType type,
short value
)
Public Sub New (
type As WidthType,
value As Short
)
public:
PreferredWidth(
WidthType type,
short value
)
new :
type : WidthType *
value : int16 -> PreferredWidth
Parameters
-
type
-
Type:
Spire.Doc
WidthType
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
-
Type:
System
Int16
An short value that specifies the preferred width
See Also