MirrorIndents
ParagraphFormat.MirrorIndents property
Возвращает или задает флаг, указывающий, имеют ли левый и правый отступы одинаковую ширину.
public bool MirrorIndents { get; set; }
Примеры
Покажите, как сделать отступы слева и справа одинаковыми.
Document doc = new Document(MyDir + "Document.docx");
ParagraphFormat format = doc.FirstSection.Body.Paragraphs[0].ParagraphFormat;
format.MirrorIndents = true;
doc.Save(ArtifactsDir + "ParagraphFormat.MirrorIndents.docx");
Смотрите также
- class ParagraphFormat
- пространство имен Aspose.Words
- сборка Aspose.Words