private AnalysisCore() { if (_prototype16x9 == null) { _prototype16x9 = PresentationDocument.Open(AppDomain.CurrentDomain.BaseDirectory + "/blankone.pptx", true); } Doc = (PresentationDocument)_prototype16x9.Clone(); InitProperty(); }
/// <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); }