Skip to main content
The elements you pass in typically come from createElement or existing elements read from elsewhere; uuid stays the same before and after insertion. This API requires those elements to still be present in the native cache — if an element’s uuid can no longer be found in the cache (e.g. already released via recycleElement/clearElementCache), that item is silently skipped instead of causing a separate error. See Element Caching and Release for details.
Parameters Returns

Example

This example applies to sn-plugin-lib later than 0.1.65. It writes Android pixel coordinates, based on the actual page size returned by getPageSize. In 0.1.65 and earlier, what you write is EMR coordinates, so you need to convert them with PointUtils first.