Rtf To HtmlAttachment Placeholder Callback Property
Get or set the RtfToHtmlAttachmentPlaceholderCallback method to use for rendering attachment placeholders.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The attachment placeholder callback.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public RtfToHtmlAttachmentPlaceholderCallback? AttachmentPlaceholderCallback { get; set; }Property Value
RtfToHtmlAttachmentPlaceholderCallbackThe attachment placeholder callback.
Remarks
Gets or sets the RtfToHtmlAttachmentPlaceholderCallback method to use for rendering the attachment placeholders (\objattph) described by [MS-OXRTFEX] section 2.2.3.4.
The callback is invoked once for each placeholder that is rendered, in document order. Placeholders that are hidden or that are within a destination that is skipped are not rendered. When the RTF encapsulates HTML and ExtractEncapsulatedHtml is , the placeholders are not rendered either, since the extracted HTML refers to its attachments by itself.
When the value is , the placeholders are not rendered.