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


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

IGridLabel.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 _
)
[C#]
public void Preview (
    int hDC,
    ref tagRECT rectangle
);
[C++]
HRESULT Preview(
  OLE_HANDLE hDC,
  tagRECT* rectangle
);
[C++]
Parameters
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

IGridLabel Interface