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
referencestringThe resolved value of the image's
Valueexpression, never null or empty.contentTypestringReceives 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.