location property

Location? location
getter/setter pair

Inserts the image at a specific index in the document.

The image must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Inline images cannot be inserted inside a footnote or equation.

Implementation

Location? location;