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


IMapDescriptor.AddPixelGraphic Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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 _
)
[C#]
public void AddPixelGraphic (
    IElement graphic
);
[C++]
HRESULT AddPixelGraphic(
  IElement* graphic
);
[C++]

Parameters graphic
graphic is a parameter of type IElement

Product Availability

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

See Also

IMapDescriptor Interface