This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IStyleGalleryClass Interface > IStyleGalleryClass.Preview Method (ArcObjects .NET 10.5 SDK) |
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