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


IGridLabel2.Preview Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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

Parameters hDC [in] hDC is a parameter of type long rectangle [in]
rectangle is a parameter of type tagRECT

Product Availability

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

See Also

IGridLabel2 Interface