Html To HtmlOutput Html Fragment Property
Get or set whether the converter should only output an HTML fragment.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the converter should only output an HTML fragment; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool OutputHtmlFragment { get; set; }Property Value
Booleanif the converter should only output an HTML fragment; otherwise, .
Remarks
Gets or sets whether the converter should output an entire HTML document or just a fragment of the HTML body content.
When , the <!DOCTYPE>, <html>, <head> (including its content) and <body> tags are removed without being passed to the HtmlTagCallback.