IGridLabel.Preview Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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