Create a new PreferredWidth object
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
- 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
- Int16
An short value that specifies the preferred width