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


IStyleGalleryClass2.Preview Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IStyleGalleryClass2.Preview Method

Draws a preview of a Style Gallery Item of the supported class.

[Visual Basic .NET]
Public Sub Preview ( _
    ByVal galleryItem As Object, _
    ByVal hDC As Integer, _
    ByRef rectangle As tagRECT _
)
[C#]
public void Preview (
    object galleryItem,
    int hDC,
    ref tagRECT rectangle
);
[C++]
HRESULT Preview(
  LPUNKNOWN galleryItem,
  long hDC,
  tagRECT* rectangle
);
[C++]

Parameters galleryItem [in] galleryItem is a parameter of type LPUNKNOWN 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

IStyleGalleryClass2 Interface