GetImageDataFromSelection

function GetImageDataFromSelection(): ImageData

Description

Returns the image data from the first of the selected drawings. If there are no drawings selected, the method returns a white rectangle.

Returns

ImageData

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).