OdfImageBody.imageBody
fn
OdfImageBody imageBody(string imagePath, string mediaType,
string width = "", string height = "") @safe pure nothrowConstructs an OdfImageBody referencing an image file.
Parameters
imagePath | Package-relative path to the image (e.g. "Pictures/image.png"). |
mediaType | MIME type of the image (e.g. "image/png"). |
width | Optional display width. |
height | Optional display height. |
Returns
A new