Table of Contents

Delegate ReportImageResolver

Namespace
DocWright.Reporting.Pagination
Assembly
DocWright.Reporting.dll

Turns an External report image's reference into encoded image bytes.

public delegate byte[]? ReportImageResolver(string reference, out string? contentType)

Parameters

reference string

The resolved value of the image's Value expression, never null or empty.

contentType string

Receives the bytes' content type, such as image/png. May be left null when the bytes' own header identifies them.

Returns

byte[]

The encoded image bytes, or null to decline the reference.

Remarks

See ImageResolver for why this is the host's to supply.

Constructors

ReportImageResolver(object, nint)

Methods

BeginInvoke(string, out string?, AsyncCallback, object)
EndInvoke(out string?, IAsyncResult)
Invoke(string, out string?)