I am having the same issue as this post - I want to convert a PDF to HTML with css data embedded in a tag inside the html file and not as a separated file.
but I am using JAVA and I couldn’t find the “PartsEmbeddingModes” property. I get a syntax error that PartsEmbeddingMode and PartsEmbeddingModes cannot be resolved or is not a field.
My code: (The two bolded properties are not recognized)
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(inStream);
HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.Html);
I have tested the scenario using Aspose.PDF for Java 20.5 in Eclipse Juno Application running over Windows 7 (x64) with JDK 1.7 and I am unable to notice any issue. The conversion is properly being performed. Can you please try using the latest release and in case you still face any issue, please feel free to contact. We are sorry for this inconvenience.
Thanks for your inquiry. It seems you are using some old JAR of Aspose.Pdf for Java, so getting the issue. Please download and try latest version of Aspose.Pdf for Java, it will resolve the issue.
Please feel free to contact us for any further assistance.
Best Regards,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.