_CommandBars.GetImageMso(String, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an IPictureDisp object of the control image identified by the idMso
parameter scaled to the dimensions specified by width and height.
public:
stdole::IPictureDisp ^ GetImageMso(System::String ^ idMso, int Width, int Height);
public stdole.IPictureDisp GetImageMso (string idMso, int Width, int Height);
abstract member GetImageMso : string * int * int -> stdole.IPictureDisp
Public Function GetImageMso (idMso As String, Width As Integer, Height As Integer) As IPictureDisp
Parameters
- idMso
- String
Identifier for the control.
- Width
- Int32
The width of the image.
- Height
- Int32
The height of the image.
Returns
IPictureDisp
Remarks
The Width
and Height
parameters must be between 16 and 128.