Is there any page restriction for temporary license comparison using Aspose.words? I have used 12 pager document but only 7 got returned
When using a temporary license with Aspose.Words, there are no specific page restrictions that limit the number of pages you can process. However, if you are experiencing issues where only a portion of your document is being returned, it could be due to the following reasons:
-
License Application: Ensure that the temporary license is applied correctly in your code before any Aspose.Words operations. If the license is not applied, the library may revert to evaluation mode, which can impose limitations.
-
Document Size: While the temporary license should allow you to work with larger documents, verify that your document does not exceed any internal limits set by the library or your environment.
-
Code Logic: Review your code to ensure that there are no logical errors that might be causing only part of the document to be processed or returned.
Here’s a simple example of how to apply a temporary license in C#:
License license = new License();
license.SetLicense("path/to/your/temporary.lic");
Document doc = new Document("path/to/your/document.docx");
// Perform operations on the document
doc.Save("path/to/output/document.docx");
Make sure to replace "path/to/your/temporary.lic" and "path/to/your/document.docx" with the actual paths.
Next Steps: If you continue to face issues, check the license file for any errors, and ensure that it is valid. If the problem persists, please reach out to Aspose support for further assistance.
Let me know if this resolves your issue!
@Likitha_T Most likely you are using Aspose.Words in evaluation mode. In evaluation mode Aspose.Words has only two limitations: it limits the maximum size of the processed document to several hundred of paragraphs and injects an evaluation watermark into the document. So the document is truncated. If you would like to test Aspose.Words without evaluation version limitations, you can request a free 30-days temporary license . Please see our documentation to learn more about licensing:
https://docs.aspose.com/words/java/licensing/
I have got the temporary license. And it is applied successfully. As I am no longer getting the evaulation watermark at the top. The document is still truncated even when the license is applied.
@Likitha_T Could you please attach your problematic input and output document along with code that will allow us to reproduce the problem? We will check the issue and provide you more information.