Skip to main content
A newer version of this page is available. .

DocxExportOptions.TableLayout Property

Specifies whether to use the table or frame layout in the resulting DOCX file.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[DefaultValue(false)]
[TypeConverter(typeof(DocxTableLayoutConverter))]
[XtraSerializableProperty]
public bool TableLayout { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to use a table layout; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to TableLayout
Cross-Platform Class Library ExportOptions
.Docx.TableLayout
WPF Controls ExportOptionsContainer
.Docx.TableLayout

Remarks

The TableLayout property is in effect only when the DocxExportOptions.ExportMode property is set to DocxExportMode.SingleFilePageByPage.

When the TableLayout option is enabled, a document is exported by a table with its cells carrying the actual content. In this case, use the DocxExportOptions.KeepRowHeight to specify whether the height of table cells in a resulting document should have fixed values.

See Also