ExportOptions
Leave feedback
On this page
Options for exporting Markdown to a document format (reverse conversion).
public class ExportOptions
| Name | Description |
|---|---|
| ExportOptions() | Initializes a new instance of the ExportOptions class. |
| ExportOptions(FileFormat) | Initializes a new instance of the ExportOptions class with the specified target format. |
| Name | Description |
|---|---|
| Format { get; set; } | Gets or sets the target document format. If not set, the format is inferred from the output file extension. |
Use this class with FromMarkdown to control how the Markdown content is converted to a document format such as DOCX or PDF.
var options = new ExportOptions
{
Format = FileFormat.Pdf
};
MarkdownConverter.FromMarkdown("input.md", "output.pdf", options);
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.