Hi Aspose Team,
I’ve found a defect with setting values that are not available in Word. Code looks like follows:
var output = new Document(); output.EnsureMinimum(); var builder = new DocumentBuilder(output); builder.MoveToHeaderFooter(HeaderFooterType.FooterPrimary); builder.Write("Text In Footer."); builder.CurrentParagraph.ParagraphFormat.SpaceAfterAuto = false; builder.CurrentParagraph.ParagraphFormat.SpaceAfter = -14; builder.Document.Save("Output//Results.docx");
The values available in Word are in range -1pt to 1584pt, setting -14 for whatever reason sets it to 3262.65.
Could you please fix it? I’d expect validation and exception thrown on setting value that is out of available range, same as it’s done for few other properties.