コード例 #1
0
        public Task <IList <LabelPlacementStyleItem> > GetLabelPlacementsFromStyleAsync(StyleProjectItem style, string searchString)
        {
            if (style == null)
            {
                throw new System.ArgumentNullException();
            }

            //Search for standard label placement
            return(QueuedTask.Run(() => style.SearchLabelPlacements(StyleItemType.StandardLabelPlacement, searchString)));
        }