createImageDocument

fnOdfImageDocument createImageDocument(OdfImageBody imgBody)

Creates a new OdfImageDocument with the given image body.

Parameters

imgBodyThe image body model containing path and media type.

Returns

A new OdfImageDocument ready for saving.