Esempio n. 1
0
        private static void CreateRegionItemsOnSlide(ISlide slide, string title, ISnapshot top5Customers, ISnapshot quarterlyTrend)
        {
            var titleProp = slide.CreateTextSlideItemProperties(null, Slide.TextType.Title, text: title);

            titleProp.Position = new SlidePosition {
                Height = "20%", Left = "5%", Top = "0.1%", Width = "40%", ZIndex = 1
            };
            slide.CreateSlideItem(null, titleProp);
            AddSnapshotToSlide(slide, "Top5Slide", top5Customers.Id, null, "1%");
            AddSnapshotToSlide(slide, "QuarterlySlite", quarterlyTrend.Id, null, "51%");
        }