Microsoft.Office.Interop.Word.ApplicationClass中,可以通过这样设置行高:
wordapp.Selection.ParagraphFormat.LineSpacing = 15f;//设置文档的行间距
但在Aspose.Words中,是如何设置行高呢?
Aspose.Words.Document doc = new Document(fileName);
DocumentBuilder builder = new DocumentBuilder(doc);
builder.ParagraphFormat.LineSpacing = 15;