Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Node.ExNode.CreateAndAddParagraphNode C# (CSharp) 메소드

CreateAndAddParagraphNode() 공개 정적인 메소드

public static CreateAndAddParagraphNode ( ) : void
리턴 void
        public static void CreateAndAddParagraphNode()
        {
            // ExStart:CreateAndAddParagraphNode
            Document doc = new Document();
            Paragraph para = new Paragraph(doc);
            AWords.Section section = doc.LastSection;
            section.Body.AppendChild(para);
            // ExEnd:CreateAndAddParagraphNode
        }
    }