Currently the MigraDoc provides a single overload for the AddImage method that accepts a file name. There is another option that wasn't easy to discover. One can pass a specially formatted string, that looks like base64:{base64-ecoded-image}.
Please add an overload AddImage(Stream stream) to make the API more dev-friendly.
Currently the
MigraDoc
provides a single overload for theAddImage
method that accepts a file name. There is another option that wasn't easy to discover. One can pass a specially formatted string, that looks likebase64:{base64-ecoded-image}
. Please add an overloadAddImage(Stream stream)
to make the API more dev-friendly.