Beispiel #1
0
        private ILabelLayer FindLabelLayer(string name)
        {
            ICanvasViewer viewer = _session.SmartWindowManager.ActiveCanvasViewer;

            if (viewer == null)
            {
                return(null);
            }
            ILabelService labelService = (viewer as ICurrentRasterInteractiver).LabelService;

            if (labelService == null)
            {
                return(null);
            }
            return(labelService.FindLabelLayer(name));
        }