We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Words not conversion all page to pdf


I’m facing a weird behaviour using Aspose.Words to convert a docx file to pdf.

this is my code :-

Dim stream As New MemoryStream()
Dim MyDir As String = “C:\Users\hp\Downloads”
Dim doc As New Document(MyDir & “test.docx”)
Dim pages As Integer = doc.BuiltInDocumentProperties.Pages
doc.Save(MyDir & “test.pdf”, SaveFormat.Pdf)

How this can be explained please ?

Thanks in advance.

Hi there,

Thanks for your inquiry. Perhaps, you are using Aspose.Words without license. Please note that in evaluation mode there
are some limitations applied. E.g A
spose.Words injects an evaluation watermark at the top of the document. The document’s content are truncated after a certain number of paragraphs during import or export.

Please request for temporary license from here:

Please read the following documentation link about applying license.

you still face problem, please share your input Word document here for testing purposes. I will investigate the issue on my side and
provide you more information.

Dim _licence As New Aspose.Words.License()
Dim lic() As Byte = My.Computer.FileSystem.ReadAllBytes(HttpContext.Current.Server.MapPath("\bin") + "\Aspose.Total.lic")
Dim s6 As Stream = New MemoryStream(lic)
yes i knew setting the licence. still not working

Hi there,

Thanks for your inquiry. Could you please attach your input Word and output Pdf documents here for testing? I will investigate the issue on my side and provide you more information.