ArcObjects Library Reference (Carto)  

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(
  Picture* pictureDisp
);
[C++]

Parameters

pictureDisp [in]

  pictureDisp is a parameter of type Picture

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