Access Keys:
Skip to content (Access Key - 0)


TableFormatting.AutoWidth

Description

Returns a boolean that represents whether or not this table's width will be set automatically by Word.

Signature: C#
Signature: VB.NET

Remarks

MS Word equivalent: Table menu > Table Properties... > Table tab > Options... > Automatically resize to fit contents

You will have to call table.SetPreferredColumnWidthUnits(i,TableCell.WidthUnits.Auto) to have each column adjusted to fit the text

Examples

C#
vb.net
Adaptavist Theme Builder Powered by Atlassian Confluence