InsertOleObject

function InsertOleObject(NewObject: OLEObjectData, bSelect: boolean): void

Description

Inserts the OLE object at the current document position.

Parameters

NewObjectOLEObjectData

The OLEObjectData object.

bSelectboolean

Defines if the OLE object will be selected after inserting into the document (true) or not (false).

Returns

void

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).