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