This document is archived and information here might be outdated. Recommended version. |
Import Picture from an IPictureDisp interface.
[Visual Basic .NET]
Public Sub ImportPicture ( _
ByVal pictureDisp As stdole.IPictureDisp _
)
[C#]
public void ImportPicture (
stdole.IPictureDisp pictureDisp
);
[C++]
HRESULT ImportPicture(
IPictureDisp* pictureDisp
);
[C++] Parameters pictureDisp [in]
pictureDisp is a parameter of type IPictureDisp*
ImportPicture is used to load a picture into a BmpPictureElement or a EmfPictureElement through an OLE IPictureDisp. To load a picture from a file, use IPictureElement::ImportPictureFromFile.