This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOlePictureElement Interface > IOlePictureElement.ImportPicture Method (ArcObjects .NET 10.5 SDK) |
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(
Picture* pictureDisp
);
[C++]
Parameters pictureDisp [in]
pictureDisp is a parameter of type Picture
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.