Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Introducedin
4.1.0.1331

...

4.1.0.1331
Description

Excerpt

Returns a double that represents the preferred width of this cell, with the associated units return in units.

Signature
C#
C#
public double GetPreferredWidth(out Units units)
{signature}
{signature:
}
Signature
vb.net
vb.net
Public Function GetPreferredWidth(ByRef units As Units) As Double
{signature}

{parameters}
{param:units}
The [units|Units] for the width.
MS Word equivalent: Table menu > Table 
Parameters
Param
units
units

The units for the width.
MS Word equivalent: Table menu > Table Properties...

>

Table

tab

>

Options...

>

Measure

in {param} {returns} The preferred width of the table. MS Word equivalent: Table menu > Table

in

Returns

The preferred width of the table.
MS Word equivalent: Table menu > Table Properties...

>

Table

tab

>

Options...

>

dropdown

after

"Preferred

width"

{returns} {example} {code:csharp|title=C#}

Example
Code Block
csharp
csharp
titleC#

Units units;
double width = table.GetPreferredWidth(out units);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim units As Units
Dim width As Double = table.GetPreferredWidth(units)
{code} {example}