Example #1
0
        private AnalysisCore()
        {
            if (_prototype16x9 == null)
            {
                _prototype16x9 = PresentationDocument.Open(AppDomain.CurrentDomain.BaseDirectory + "/blankone.pptx", true);
            }

            Doc = (PresentationDocument)_prototype16x9.Clone();
            InitProperty();
        }
Example #2
0
 /// <summary>
 /// <inheritdoc cref="IPresentation.SaveAs"/> //TODO: resolve inheritdoc conflicts
 /// </summary>
 /// <param name="stream"></param>
 public void SaveAs(Stream stream)
 {
     Check.NotNull(stream, nameof(stream));
     _sdkPre = (PresentationDocument)_sdkPre.Clone(stream);
 }