跳到主要内容

OLEProperties

The OLE object properties

Properties

NameTypeDescription
datastringOLE object data (internal format).
imgSrcstringA link to the image (its visual representation) stored in the OLE object and used by the plugin.
guidstringAn identifier of the plugin which can edit the current OLE object and must be of the asc.{UUID} type.
widthnumberThe OLE object width measured in millimeters.
heightnumberThe OLE object height measured in millimeters.
widthPixnumberThe OLE object image width in pixels.
heightPixnumberThe OLE object image height in pixels.

Type

Object

Example

let oleProperties = {
"data": "{data}",
"imgSrc": "https://link-to-the-image.jpg",
"guid": "asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}",
"width": 70,
"height": 70,
"widthPix": 60 * 36000,
"heightPix": 60 * 36000
};