Table of Contents

Method Write

Namespace
DocWright.Formats.Html
Assembly
DocWright.Formats.Html.dll

Write(string, string, byte[])

Stores one resource and returns the href to write into the document.

string? Write(string suggestedFileName, string contentType, byte[] data)

Parameters

suggestedFileName string

A deterministic suggested file name, for example "image1.png".

contentType string

The content type.

data byte[]

The resource bytes.

Returns

string

The href to write, or null to omit the reference and report it as dropped.