File tree 9 files changed +2039
-4
lines changed
9 files changed +2039
-4
lines changed Original file line number Diff line number Diff line change 6
6
using FileFormat . Slides ;
7
7
using System . Collections . Generic ;
8
8
using FileFormat . Slides . Common ;
9
+ //using DocumentFormat.OpenXml.Presentation;
9
10
10
11
11
12
@@ -507,8 +508,44 @@ static void Main()
507
508
doubleBracket.Y = doubleBracket.Height + 200 / 2;
508
509
slide.DrawDoubleBracket(doubleBracket);
509
510
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();
511
540
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();*/
512
549
513
550
}
514
551
You can’t perform that action at this time.
0 commit comments