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
Name | Value | Description |
---|---|---|
Auto | 0 | The alignment will be taken from the first paragraph in corresponding table column. |
Left | 1 | The content of tables will be aligned to the Left. |
Center | 2 | The content of tables will be aligned to the Center. |
Right | 3 | The 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
- namespace Wordize.Saving
- assembly Wordize