How to change the indents?

image.png (13.8 KB)
is there any method to change the indentation ?

@lkf77081 It looks like you’ve attached a wrong screenshot. Please, explain what indents you mean.


sorry ,here is the right screenshot.

@lkf77081 please consider the following code

Document doc = new Document("input.docx");
// Left indent in points.
doc.FirstSection.Body.FirstParagraph.ParagraphFormat.LeftIndent += 100;
// Right indent in points.
doc.FirstSection.Body.FirstParagraph.ParagraphFormat.RightIndent += 50;
doc.Save("output.docx");