Hi
We have a requirement to add watermark in XML file using Aspose PDF api for Java.
When tried using Aspose PDF it gives error "Exception in thread “main” class com.aspose.pdf.exceptions.InvalidPdfFileFormatException:…...0F); // Create watermark artifact and set its properties WatermarkArtifact...WatermarkArtifact artifact = new WatermarkArtifact(); artifact.setText(formattedText);...