OleObjectFrame
OleObjectFrame class
Represents an OLE object on a slide.
getEmbeddedData
Name | Description |
---|
getEmbeddedData () | Gets or sets information about OLE embedded data. Read/write IOleEmbeddedDataInfo. |
Returns:
OleEmbeddedDataInfo
getEmbeddedFileLabel
Name | Description |
---|
getEmbeddedFileLabel () | Returns the file name of embedded OLE object |
Returns:
String
getEmbeddedFileName
Name | Description |
---|
getEmbeddedFileName () | Returns the path of embedded OLE object |
Returns:
String
getLinkFileName
Name | Description |
---|
getLinkFileName () | Returns the full path to a linked file. Short file name will be used. Read-only String. |
Returns:
String
getLinkPathLong
Name | Description |
---|
getLinkPathLong () | Returns the full path to a linked file. Long file name will be used. Read/write String. |
Returns:
String
getLinkPathRelative
Name | Description |
---|
getLinkPathRelative () | Returns the relative path to a linked file if present, otherwise returns an empty string. Readonly String. In the Ppt presentations, some Ole object links may have a relative representation. |
Returns:
String
getObjectName
Name | Description |
---|
getObjectName () | Returns or sets the name of an object. Read/write String. |
Returns:
String
getObjectProgId
Name | Description |
---|
getObjectProgId () | Returns the ProgID of an object. Read only String. |
Returns:
String
Name | Description |
---|
getSubstitutePictureFormat () | Returns OleObject image fill properties object. Read-only IPictureFillFormat. |
Returns:
PictureFillFormat
getSubstitutePictureTitle
Name | Description |
---|
getSubstitutePictureTitle () | Returns or sets the title for OleObject icon. Read/write String. When IsObjectIcon == false this value is ignored. The string can be truncated according to the size of the Ole icon. |
Returns:
String
getUpdateAutomatic
Name | Description |
---|
getUpdateAutomatic () | Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write boolean. |
Returns:
boolean
isObjectIcon
Name | Description |
---|
isObjectIcon () | Determines whether an object is visible as icon. Read/write boolean. |
Returns:
boolean
isObjectLink
Name | Description |
---|
isObjectLink () | Determines whether an object is linked to external file. Read-only boolean. |
Returns:
boolean
setEmbeddedData
Parameters:
Name | Type | Description |
---|
embeddedData | OleEmbeddedDataInfo | Embedded data IOleEmbeddedDataInfo This function changes the properties of the object to reflect the new data and sets the IsObjectLink flag to false, indicating that the OLE object is embedded. |
Error
Error | Condition |
---|
ArgumentNullException | When embeddedData parameter is null. |
setLinkPathLong
Name | Description |
---|
setLinkPathLong (String) | Returns the full path to a linked file. Long file name will be used. Read/write String. |
setObjectIcon
Name | Description |
---|
setObjectIcon (boolean) | Determines whether an object is visible as icon. Read/write boolean. |
setObjectName
Name | Description |
---|
setObjectName (String) | Returns or sets the name of an object. Read/write String. |
setObjectProgId
Name | Description |
---|
setObjectProgId (String) | Returns the ProgID of an object. Read only String. |
setSubstitutePictureTitle
Name | Description |
---|
setSubstitutePictureTitle (String) | Returns or sets the title for OleObject icon. Read/write String. When IsObjectIcon == false this value is ignored. The string can be truncated according to the size of the Ole icon. |
setUpdateAutomatic
Name | Description |
---|
setUpdateAutomatic (boolean) | Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write boolean. |