Table of Contents

Constructor MergeImage

Namespace
DocWright.MailMerge
Assembly
DocWright.MailMerge.dll

MergeImage(byte[], string)

Initializes a new instance of the MergeImage class.

public MergeImage(byte[] bytes, string contentType)

Parameters

bytes byte[]

The encoded image bytes.

contentType string

The MIME content type, for example image/png.

Exceptions

ArgumentNullException

bytes or contentType is null.