Back to Devexpress

DocxExportOptions.TableLayout Property

corelibraries-devexpress-dot-xtraprinting-dot-docxexportoptions-ef26c265.md

latest2.2 KB
Original Source

DocxExportOptions.TableLayout Property

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

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(false)]
public bool TableLayout { get; set; }
vb
<DefaultValue(False)>
Public Property TableLayout As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

ExportMode

KeepRowHeight

DocxExportOptions Class

DocxExportOptions Members

DevExpress.XtraPrinting Namespace