private static void DecorateSlideFour(PPT.Slide slide) { var starShape = PptShapeManager.DrawShape(slide, MsoAutoShapeType.msoShape16pointStar, 45f, 25f, 150f, 150f); var upArrowShape = PptShapeManager.DrawShape( slide, MsoAutoShapeType.msoShapeUpArrow, 250f, 100f, 150f, 250f); var downArrowShape = PptShapeManager.DrawShape( slide, MsoAutoShapeType.msoShapeDownArrow, 500f, 100f, 150f, 250f); starShape.Fill.ForeColor.RGB = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Gold); starShape.Line.ForeColor.RGB = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Yellow); // Insert the textboxes var textShape0 = PptShapeManager.AddTextBoxToSlide( slide, MsoTextOrientation.msoTextOrientationHorizontal, 70f, 75f, 100f, 100f); var textShape1 = PptShapeManager.AddTextBoxToSlide( slide, MsoTextOrientation.msoTextOrientationHorizontal, 100f, 195f, 200f, 300f); var textShape2 = PptShapeManager.AddTextBoxToSlide( slide, MsoTextOrientation.msoTextOrientationHorizontal, 650f, 120f, 200f, 300f); // Set the text in the textboxes PptShapeManager.SetTextBoxText(textShape0, "Important" + "\nFact!"); textShape0.TextEffect.Alignment = MsoTextEffectAlignment.msoTextEffectAlignmentCentered; textShape0.Rotation = -45f; textShape0.TextFrame.TextRange.Font.Color.RGB = System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Red); textShape0.TextEffect.FontSize = 20f; PptShapeManager.SetTextBoxText( textShape1, "The number of C# developers has grown" + "\nby 25% over the past quarter."); textShape1.TextEffect.FontSize = 18f; PptShapeManager.SetTextBoxText( textShape2, "The number of VB.Net developers has declined" + "\nby 40% over the past quarter."); textShape2.TextEffect.FontSize = 18f; SetSlideFooter(slide, 4); }