ArcObjects Library Reference (Carto)  

IMapGrid.PrepareForOutput Method

Prepares the map grid for output to a device.

[Visual Basic .NET]
Public Sub PrepareForOutput ( _
    ByVal hDC As Integer, _
    ByVal Dpi As Integer, _
    ByRef pixelBounds As tagRECT, _
    ByVal pMapFrame As IMapFrame _
)
[C#]
public void PrepareForOutput (
    int hDC,
    int Dpi,
    ref tagRECT pixelBounds,
    ref IMapFrame pMapFrame
);
[C++]
HRESULT PrepareForOutput(
  OLE_HANDLE hDC,
  long Dpi,
  tagRECT* pixelBounds,
  IMapFrame* pMapFrame
);
[C++]

Parameters

hDC [in]

  hDC is a parameter of type OLE_HANDLE

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

  pixelBounds is a parameter of type tagRECT

pMapFrame [in]

  pMapFrame is a parameter of type IMapFrame

Product Availability

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

See Also

IMapGrid Interface