MarkdownTableContentAlignment Enum

Wordize.Saving.MarkdownTableContentAlignment enum. Allows to specify the alignment of the content of the table to be used when exporting into Markdown format.

MarkdownTableContentAlignment enumeration

Allows to specify the alignment of the content of the table to be used when exporting into Markdown format.

public enum MarkdownTableContentAlignment

Values

NameValueDescription
Auto0The alignment will be taken from the first paragraph in corresponding table column.
Left1The content of tables will be aligned to the Left.
Center2The content of tables will be aligned to the Center.
Right3The content of tables will be aligned to the Right.

Examples

Shows how to configure table content alignment in Markdown.

MarkdownSaveOptions mdSaveOptions = new MarkdownSaveOptions();
mdSaveOptions.TableContentAlignment = MarkdownTableContentAlignment.Center;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "MarkdownSaveOptions.TableContentAlignment.md", mdSaveOptions)
    .Execute();

See Also