File tree Expand file tree Collapse file tree 9 files changed +2039
-4
lines changed Expand file tree Collapse file tree 9 files changed +2039
-4
lines changed Original file line number Diff line number Diff line change 66using FileFormat . Slides ;
77using System . Collections . Generic ;
88using FileFormat . Slides . Common ;
9+ //using DocumentFormat.OpenXml.Presentation;
910
1011
1112
@@ -507,8 +508,44 @@ static void Main()
507508 doubleBracket.Y = doubleBracket.Height + 200 / 2;
508509 slide.DrawDoubleBracket(doubleBracket);
509510 presentation.AppendSlide(slide);
510- presentation.Save();*/
511+ presentation.Save();
512+ */
513+
514+ /* Presentation presentation = Presentation.Open("D:\\AsposeSampleData\\draw.pptx");
515+ Slide slide = new Slide();
516+
517+ Hexagon hexagon = new Hexagon();
518+ hexagon.Width = 300.0;
519+ hexagon.Height = 300.0;
520+ hexagon.X = 300.0;
521+ hexagon.Y = 300.0;
522+ slide.DrawHexagon(hexagon);
523+ presentation.AppendSlide(slide);
524+ presentation.Save();*/
525+
526+ /* Presentation presentation = Presentation.Open("D:\\AsposeSampleData\\draw.pptx");
527+ Slide slide = new Slide();
528+
529+ Trapezoid trapezoid = new Trapezoid();
530+ trapezoid.Width = 300.0;
531+ trapezoid.Height = 300.0;
532+ trapezoid.X = 300.0;
533+ trapezoid.Y = 300.0;
534+ slide.DrawTrapezoid(trapezoid);
535+ presentation.AppendSlide(slide);
536+ presentation.Save();*/
537+ /*
538+ Presentation presentation = Presentation.Open("D:\\AsposeSampleData\\draw.pptx");
539+ Slide slide = new Slide();
511540
541+ Pie pie = new Pie();
542+ pie.Width = 300.0;
543+ pie.Height = 300.0;
544+ pie.X = 300.0;
545+ pie.Y = 300.0;
546+ slide.DrawPie(pie);
547+ presentation.AppendSlide(slide);
548+ presentation.Save();*/
512549
513550 }
514551
You can’t perform that action at this time.
0 commit comments