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

IGridLabel2.Preview Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGridLabel2 Interface > IGridLabel2.Preview Method
ArcGIS Developer Help

IGridLabel2.Preview Method

Draws a preview of the grid label into the specified hdc.

[Visual Basic .NET]
Public Sub Preview ( _
    ByVal hDC As Integer, _
    ByRef rectangle As tagRECT _
public void Preview (
    int hDC,
    ref tagRECT rectangle
HRESULT Preview(
  tagRECT* rectangle
hDC [in]

hDC is a parameter of type OLE_HANDLE rectangle [in]
rectangle is a parameter of type tagRECT*

Product Availability

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

See Also

IGridLabel2 Interface