OleObjectFrame

OleObjectFrame class

Represents an OLE object on a slide.

getEmbeddedData

NameDescription
getEmbeddedData()Gets or sets information about OLE embedded data. Read/write IOleEmbeddedDataInfo.

Returns: OleEmbeddedDataInfo


getEmbeddedFileLabel

NameDescription
getEmbeddedFileLabel()Returns the file name of embedded OLE object

Returns: String


getEmbeddedFileName

NameDescription
getEmbeddedFileName()Returns the path of embedded OLE object

Returns: String


getLinkFileName

NameDescription
getLinkFileName()Returns the full path to a linked file. Short file name will be used. Read-only String.

Returns: String


getLinkPathLong

NameDescription
getLinkPathLong()Returns the full path to a linked file. Long file name will be used. Read/write String.

Returns: String


getLinkPathRelative

NameDescription
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

NameDescription
getObjectName()Returns or sets the name of an object. Read/write String.

Returns: String


getObjectProgId

NameDescription
getObjectProgId()Returns the ProgID of an object. Read only String.

Returns: String


getSubstitutePictureFormat

NameDescription
getSubstitutePictureFormat()Returns OleObject image fill properties object. Read-only IPictureFillFormat.

Returns: PictureFillFormat


getSubstitutePictureTitle

NameDescription
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

NameDescription
getUpdateAutomatic()Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write boolean.

Returns: boolean


isObjectIcon

NameDescription
isObjectIcon()Determines whether an object is visible as icon. Read/write boolean.

Returns: boolean


NameDescription
isObjectLink()Determines whether an object is linked to external file. Read-only boolean.

Returns: boolean


setEmbeddedData

NameDescription
setEmbeddedData(OleEmbeddedDataInfo)Sets information about OLE embedded data.

Parameters:

NameTypeDescription
embeddedDataOleEmbeddedDataInfoEmbedded data IOleEmbeddedDataInfo This method 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

ErrorCondition
ArgumentNullExceptionWhen embeddedData parameter is null.

setLinkPathLong

NameDescription
setLinkPathLong(String)Returns the full path to a linked file. Long file name will be used. Read/write String.

setObjectIcon

NameDescription
setObjectIcon(boolean)Determines whether an object is visible as icon. Read/write boolean.

setObjectName

NameDescription
setObjectName(String)Returns or sets the name of an object. Read/write String.

setObjectProgId

NameDescription
setObjectProgId(String)Returns the ProgID of an object. Read only String.

setSubstitutePictureTitle

NameDescription
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

NameDescription
setUpdateAutomatic(boolean)Determines if the linked embedded object is automatically updated when the presentation is opened or printed. Read/write boolean.