HTML to TIFF conversion throws ArgumentOutOfRangeException using C#

We are using aspose words to convert from HTML to Tiff and seeing the following error during conversion of the attached HTML file:

- [System.ArgumentOutOfRangeException] {"Index and length must refer to a location within the string.\r\nParameter name: length"}

StackTrace " at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)\r\n at System.String.Substring(Int32 startIndex, Int32 length)\r\n at x6c95d9cf46ff5f25.x0d299f323d241756.x3b67e683e83cab62(String xe4115acdf4fbfccc, Int32 x961016a387451f05)\r\n at x4adf554d20d941a6.x50e6e6d123fa4a35.x4469479613bec4d8(Node xda5bf54deb817e37)\r\n at x4adf554d20d941a6.x50e6e6d123fa4a35.x7be41bff00df2c71(Node xda5bf54deb817e37)\r\n at x4adf554d20d941a6.x50e6e6d123fa4a35.x699caa1974f95d1a(Node xda5bf54deb817e37)\r\n at x4adf554d20d941a6.x50e6e6d123fa4a35.x21e4bd206d6231f8(Object xa860e35844c20ac7)\r\n at x4adf554d20d941a6.x50e6e6d123fa4a35.xb5ef8a04e65b87e6(String x1f25abf5fb75e795, Object xa860e35844c20ac7)\r\n at x59d6a4fc5007b7a4.xdeb77ea37ad74c56.xbbf9a1ead81dd3a1(String x1f25abf5fb75e795, Object xa860e35844c20ac7)\r\n at x59d6a4fc5007b7a4.x487cdc969fefe3d6.xbbf9a1ead81dd3a1(String x1f25abf5fb75e795, Object xa860e35844c20ac7)\r\n at x59d6a4fc5007b7a4.x487cdc969fefe3d6.xf3a1cfbffa44728c()\r\n at x59d6a4fc5007b7a4.x487cdc969fefe3d6.x47f176deff0d42e2()\r\n at x59d6a4fc5007b7a4.x487cdc969fefe3d6.x83f07df6a659e05b()\r\n at x59d6a4fc5007b7a4.xcde671c53995c411.xd9db07500873ae98(Document x3664041d21d73fdc, xdeb77ea37ad74c56 xdfde339da46db651)\r\n at Aspose.Words.Document.UpdatePageLayout()\r\n at Aspose.Words.Document.x410db0f4a89a6ef1(Boolean x24af0daafcd8fb8c)\r\n at Aspose.Words.Document.get_xcde671c53995c411()\r\n at x077e797660ceec8d.x39513200ff58c2e3.x8cac5adfe79bc025(x8556eed81191af11 x5ac1382edb7bf2c2)\r\n at Aspose.Words.Document.xf381a641001e6830(Stream xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, SaveOptions xc27f01f21f67608c)\r\n at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)\r\n at Aspose.Words.Document.Save(String fileName, SaveFormat saveFormat)\r\n at Idox.Conversion.Converters.Html.Converter.SaveDocument(String saveItem, ISaveOptions saveOptions)

Aspose Words for .NET Version 10.6.0.0

Hi Steven,

Thanks for your query. Please use the latest version of Aspose.Words for .NET 11.3.0. I have not found any issue while using latest version. I have attached the output Tiff file with this post.

Please let us know, If you have any more queries.