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


IMapGrid.PrepareForOutput Method (ArcObjects .NET 10.5 SDK)
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(
  long hDC,
  long Dpi,
  tagRECT* pixelBounds,
  IMapFrame* pMapFrame
);
[C++]

Parameters hDC [in] hDC is a parameter of type long 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