...
Introducedin | ||
---|---|---|
|
...
|
Description |
---|
Excerpt |
---|
Sets the preferred width of the table and the units for said width. |
Signature | ||||
---|---|---|---|---|
| ||||
public void SetPreferredWidth(double width, Units units)
{signature}
{signature: |
Signature | ||||||
---|---|---|---|---|---|---|
| }
| |||||
Public Sub SetPreferredWidth(ByVal width As Double, ByVal units As Units)
{signature}
{parameters}
{param:width}
The preferred width of the table.
MS Word equivalent: Table menu > Table |
Parameters |
---|
Param | ||||
---|---|---|---|---|
| ||||
The preferred width of the table. > Table tab > Options... > dropdown after "Preferred width" {param} {param:units} The [units|Units] for the width. For [Units.Auto|Units#Auto]: MS Word equivalent: Table menu > Table |
Param | ||||
---|---|---|---|---|
| ||||
The units for the width. > Table tab > Options... > Preferred width
, or [|Units#Twips]:
Word equivalent: Table menu > Table Properties... > Table tab > Options... > Measure in {param} {exceptions} {exception:ArgumentOutOfRangeException} If [units|#param-units] is something other than [Units.Auto|Units#Auto],[Units.Percent|Units#Percent], or [Units.Twips|Units#Twips]. {exception} {remarks} {remarks} {example} {code:csharp|title=C#}in |
Exceptions |
---|
Exception | ||||
---|---|---|---|---|
| ||||
If units is something other than Units.Auto,Units.Percent, or Units.Twips. |
Remarks |
---|
Example | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|