public void DocumentBuilderMoveToParagraph()
{
//ExStart
//ExFor:DocumentBuilder.MoveToParagraph
//ExId:DocumentBuilderMoveToParagraph
//ExSummary:Shows how to move a cursor position to the specified paragraph.
Document doc = new Document(MyDir + "DocumentBuilder.doc");
DocumentBuilder builder = new DocumentBuilder(doc);
// Parameters are 0-index. Moves to third paragraph.
builder.MoveToParagraph(2, 0);
builder.Writeln("This is the 3rd paragraph.");
//ExEnd
}