private void UpdatePreviewImage()
 {
     using (new WaitCursor(this))
     {
         m_editor.SyncSessionCopy();
         _previewImg = _mappingSvc.GetLegendImage(_preview.Scale, _preview.LayerDefinition, _preview.ThemeCategory, 2, previewPicture.Width, previewPicture.Height, _preview.ImageFormat);
         previewPicture.Invalidate();
     }
 }
 private void UpdatePreviewImage()
 {
     using (new WaitCursor(this))
     {
         _edSvc.SyncSessionCopy();
         _previewImg = _mappingSvc.GetLegendImage(_preview.Scale, _preview.LayerDefinition, _preview.ThemeCategory, 4, symPreview.Width, symPreview.Height, _preview.ImageFormat);
         symPreview.Invalidate();
     }
 }