_CommandBars.GetImageMso Method

Returns an IPictureDisp object of the control image identified by the idMso parameter scaled to the dimensions specified by width and height.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function GetImageMso ( _
    idMso As String, _
    Width As Integer, _
    Height As Integer _
) As IPictureDisp
'Usage
Dim instance As _CommandBars
Dim idMso As String
Dim Width As Integer
Dim Height As Integer
Dim returnValue As IPictureDisp

returnValue = instance.GetImageMso(idMso, _
    Width, Height)
IPictureDisp GetImageMso(
    string idMso,
    int Width,
    int Height
)

Parameters

Return Value

Type: IPictureDisp
IPictureDisp

Remarks

The Width and Height parameters must be between 16 and 128.

See Also

Reference

_CommandBars Interface

_CommandBars Members

Microsoft.Office.Core Namespace