ApiExamples.ExDocumentBuilder.DocumentBuilderMoveToSection C# (CSharp) Метод

DocumentBuilderMoveToSection() приватный Метод

private DocumentBuilderMoveToSection ( ) : void
Результат void
        public void DocumentBuilderMoveToSection()
        {
            //ExStart
            //ExId:DocumentBuilderMoveToSection
            //ExSummary:Shows how to move a cursor position to the specified section.
            Document doc = new Document(MyDir + "DocumentBuilder.doc");
            DocumentBuilder builder = new DocumentBuilder(doc);

            // Parameters are 0-index. Moves to third section.
            builder.MoveToSection(2);
            builder.Writeln("This is the 3rd section.");
            //ExEnd
        }
ExDocumentBuilder