In the following example we add three blocks of text to a
document. The first block uses the default left margin. The
subsequent blocks use different left margin settings to indent the
text.
using var doc = new Doc();
string text = "Gallia est omnis divisa in partes tres, quarum unam incolunt Belgae, aliam Aquitani...";
doc.TextStyle.Size = 48;
doc.AddText(text);
doc.Rect.Move(0, -250);
doc.TextStyle.LeftMargin = 100;
doc.AddText(text);
doc.Rect.Move(0, -250);
doc.TextStyle.LeftMargin = 200;
doc.AddText(text);
doc.Save("stylemargin.pdf");