Aspose.Word for NET - during saving input.htm file to pdf, the next error occurs (when width=“0” or height=“0”):
Aspose.Words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at K5a.c(H5a a, t5a b)
at H5a.a(String a)
at y5a.b(t5a a, H5a b)
at y5a.a(H5a a, t5a b)
at y5a.b(H5a a, t5a b)
at y5a.d(H5a a, t5a b)
at y5a.a(H5a a, t5a b)
at G5a.a(Fba a, Fba b)
at jQa.g(HOa a, Boolean b)
at jQa.a(HOa a, Boolean b, DIa c)
at jQa.h(HOa a, Boolean b)
at jQa.a(HOa a, Boolean b)
at jQa.a(Stream a, Encoding b, DocumentBuilder c, Boolean d)
at GPa.ijaJPcsa()
at Aspose.Words.Document.b(Stream a, LoadOptions b)
--- End of inner exception stack trace ---
at Aspose.Words.Document.b(Stream a, LoadOptions b)
at Aspose.Words.Document..ctor(Stream stream, LoadOptions loadOptions)
input.7z (308 Bytes)