ApiExamples.ExLists.PrintOutAllLists C# (CSharp) Метод

PrintOutAllLists() публичный Метод

public PrintOutAllLists ( ) : void
Результат void
        public void PrintOutAllLists()
        {
            // You can use any of your documents to try this little program out.
            Document srcDoc = new Document(MyDir + "Lists.PrintOutAllLists.doc");

            // This will be the sample document we product.
            Document dstDoc = new Document();
            DocumentBuilder builder = new DocumentBuilder(dstDoc);

            foreach (Aspose.Words.Lists.List srcList in srcDoc.Lists)
            {
                // This copies the list formatting from the source into the destination document.
                Aspose.Words.Lists.List dstList = dstDoc.Lists.AddCopy(srcList);
                AddListSample(builder, dstList);
            }

            dstDoc.Save(MyDir + @"\Artifacts\Lists.PrintOutAllLists.doc");
        }