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

IMapGrid.GenerateGraphics 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.GenerateGraphics Method
ArcGIS Developer Help

IMapGrid.GenerateGraphics Method

Generates graphic elements corresponding to the grid lines and stores them in the specified graphics container.

[Visual Basic .NET]
Public Sub GenerateGraphics ( _
    ByVal pMapFrame As IMapFrame, _
    ByVal GraphicsContainer As IGraphicsContainer _
public void GenerateGraphics (
    IMapFrame pMapFrame,
    IGraphicsContainer GraphicsContainer
HRESULT GenerateGraphics(
  IMapFrame* pMapFrame,
  IGraphicsContainer* GraphicsContainer
pMapFrame [in]

pMapFrame is a parameter of type IMapFrame* GraphicsContainer [in]
GraphicsContainer is a parameter of type IGraphicsContainer*

Product Availability

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

See Also

IMapGrid Interface