using System.Drawing; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS.Display; namespace KGIS.Plugin.LayerProperty.Interface { public interface IDoStyleGalleryClass { IEnumBSTR NewObjectTypes { get; } long Number { get; } int Index { get; set; } string Name { get; set; } string AliasName { get; set; } string Description { get; set; } double PreviewRatio { get; set; } object get_NewObject(string newType); void Preview(object galleryItem, int hDC, ref tagRECT rectangle); Bitmap StyleGalleryItemToBmp(IDoStyleGalleryItem item, int height); Bitmap StyleGalleryItemToBmp(IDoStyleGalleryItem item, int width, int height); bool Update(); void EditProperties(ref object galleryItem, ref int hWnd, ref bool ok); } }