Beispiel #1
0
        public static WordDocument OpenDocument(Stream stream)
        {
            WordDocument doc = CreateDocument();

            doc.Open(stream);

            return(doc);
        }
Beispiel #2
0
        public static WordDocument OpenDocument(string file)
        {
            WordDocument doc = CreateDocument();

            doc.Open(file);

            return(doc);
        }