ArcObjects Library Reference (Carto)  

IMxdServer.GetMapPicture Method

Generates a picture of the map, based on the given map descriptor, and returns the image as an IPictureDisp. If pMapDescriptor is null, it draws a picture of the default map at the default extent.

[Visual Basic .NET]
Public Function GetMapPicture ( _
    ByVal MapDescriptor As IMapDescriptor, _
    ByVal Dpi As Integer, _
    ByRef pixelBounds As tagRECT _
) As stdole.IPictureDisp
[C#]
public stdole.IPictureDisp GetMapPicture (
    IMapDescriptor MapDescriptor,
    int Dpi,
    ref tagRECT pixelBounds
);
[C++]
HRESULT GetMapPicture(
  IMapDescriptor* MapDescriptor,
  Long Dpi,
  tagRECT* pixelBounds,
  IPictureDisp** pict
);
[C++]

Parameters

MapDescriptor [in]

  MapDescriptor is a parameter of type IMapDescriptor

Dpi [in]   Dpi is a parameter of type Long pixelBounds [in]

  pixelBounds is a parameter of type tagRECT

pict [out, retval]

  pict is a parameter of type IPictureDisp

Product Availability

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

See Also

IMxdServer Interface