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

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

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 _
public void PrepareForOutput (
    int hDC,
    int Dpi,
    ref tagRECT pixelBounds,
    ref IMapFrame pMapFrame
HRESULT PrepareForOutput(
  long Dpi,
  tagRECT* pixelBounds,
  IMapFrame* pMapFrame
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