imageFrame

fnTextNode imageFrame(string imagePath, string width = "", string height = "", string anchorType = "paragraph") @safe pure nothrow

Creates an image frame node.

Parameters

imagePathPath to the image within the ODF package.
widthFrame width (e.g. "10cm").
heightFrame height (e.g. "5cm").
anchorTypeAnchor type (e.g. "paragraph").

Returns

A TextNode of kind FRAME containing an IMAGE child.