Aspose.Slides.Examples.CSharp.Presentations.Properties.UpdatePresentationPropertiesUsingPropertiesOfAnotherPresentationAsATemplate.UpdateByTemplate C# (CSharp) Méthode

UpdateByTemplate() private static méthode

private static UpdateByTemplate ( string path, IDocumentProperties template ) : void
path string
template IDocumentProperties
Résultat void
        private static void UpdateByTemplate(string path, IDocumentProperties template)
        {
            IPresentationInfo toUpdate = PresentationFactory.Instance.GetPresentationInfo(path);
            toUpdate.UpdateDocumentProperties(template);
            toUpdate.WriteBindedPresentation(path);
        }
    }
UpdatePresentationPropertiesUsingPropertiesOfAnotherPresentationAsATemplate