Skip to main content

DocxExportOptions.TableLayout Property

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

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

[DefaultValue(false)]
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:

Object Type Path to TableLayout
ExportOptions
.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