RibbonManager.GetImage Method

Implements the icon loader.

Namespace:  Microsoft.Office.BusinessApplications.Runtime
Assembly:  Microsoft.Office.BusinessApplications.RuntimeUi (in Microsoft.Office.BusinessApplications.RuntimeUi.dll)

Syntax

'Declaration
Public Function GetImage ( _
    imageName As String _
) As IPictureDisp
'Usage
Dim instance As RibbonManager
Dim imageName As String
Dim returnValue As IPictureDisp

returnValue = instance.GetImage(imageName)
public IPictureDisp GetImage(
    string imageName
)

Parameters

  • imageName
    Type: System.String
    The path to the image that is relative to path of the solution package.

Return Value

Type: IPictureDisp
The loaded picture in standard OLE format.

See Also

Reference

RibbonManager Class

RibbonManager Members

Microsoft.Office.BusinessApplications.Runtime Namespace