This document is archived and information here might be outdated.  Recommended version.


IOlePictureElement.ImportPicture Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOlePictureElement Interface > IOlePictureElement.ImportPicture Method
ArcGIS Developer Help

IOlePictureElement.ImportPicture Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

 

See Also

IOlePictureElement Interface