Table of Contents

Property ImageResolving

Namespace
DocWright.MailMerge
Assembly
DocWright.MailMerge.dll

ImageResolving

Gets or sets a callback supplying image bytes for an image merge field.

public Func<MergeImageRequest, MergeImage?>? ImageResolving { get; set; }

Property Value

Func<MergeImageRequest, MergeImage>

Remarks

The only way an image enters a merge. INCLUDEPICTURE against a URL or a file path is never followed: a network or filesystem fetch driven by document content is a security surface, and one a merge template is a particularly good vehicle for. Such fields are diagnosed and skipped.