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

IMapDescriptor.AddPixelGraphic Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescriptor Interface > IMapDescriptor.AddPixelGraphic Method
ArcGIS Developer Help

IMapDescriptor.AddPixelGraphic Method

Call this multiple times to place graphics in pixel space on the map above Custom Graphics and Map Surrounds. Specify coordinates in pixels. Origin is at lower left corner.

[Visual Basic .NET]
Public Sub AddPixelGraphic ( _
    ByVal graphic As IElement _
public void AddPixelGraphic (
    IElement graphic
HRESULT AddPixelGraphic(
  IElement* graphic

graphic is a parameter of type IElement*

Product Availability

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

See Also

IMapDescriptor Interface