com.esri.arcgis.carto
Interface IOlePictureElement

All Superinterfaces:
Serializable
All Known Implementing Classes:
BmpPictureElement, EmfPictureElement, GifPictureElement, ImgPictureElement, Jp2PictureElement, JpgPictureElement, PngPictureElement, SidPictureElement, TifPictureElement

public interface IOlePictureElement
extends Serializable

Provides access to members that control the Ole Style Picture element.

When To Use

IOlePictureElement is a generic interface implemented by only BmpPictureElement and EmfPictureElement. The interface is used to load a picture into one of these elements through an OLE IPictureDisp. To load a picture from a file, use IPictureElement.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void importPicture(Picture pictureDisp)
          Import Picture from an IPictureDisp interface.
 

Method Detail

importPicture

void importPicture(Picture pictureDisp)
                   throws IOException,
                          AutomationException
Import Picture from an IPictureDisp interface.

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pictureDisp - A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.