public PointContext() { Stream = new MemoryStream(); Doc = PresentationDocument.Create(Stream, PresentationDocumentType.Presentation, true); P = Doc.AddPresentationPart(); P.Presentation = new Presentation(); }