Skip to content

Markdown2Pdf.IConvertionEvents

GitHub Action edited this page May 25, 2024 · 1 revision

Interface IConvertionEvents

Namespace: Markdown2Pdf
Assembly: Markdown2Pdf.dll

Interface for events that occur during the conversion process.

public interface IConvertionEvents

Properties

OutputFileName

Name of the output file.

string? OutputFileName { get; }

Property Value

string?

BeforeHtmlConversion

Gets invoked before the markdown to HTML conversion.

event EventHandler<MarkdownArgs> BeforeHtmlConversion

Event Type

EventHandler<MarkdownArgs>

OnTempPdfCreatedEvent

Gets invoked after a temporary PDF file is created.

event EventHandler<PdfArgs> OnTempPdfCreatedEvent

Event Type

EventHandler<PdfArgs>

Remarks

This only happens if a parsing of the generated PDF is needed, e.g. for generating page numbers.

OnTemplateModelCreating

Gets invoked when the template model is created.

event EventHandler<TemplateModelArgs> OnTemplateModelCreating

Event Type

EventHandler<TemplateModelArgs>

Remarks

This can be used to add custom content to the html template.

Clone this wiki locally