This page describes how to work with Artifact class using Aspose.PDF for Java. Code snippets show how to add a background image to PDF pages and how to get each watermark on the first page of a PDF file....order to work with artifacts, Aspose.PDF has two classes: Artifact...static String _dataDir = "/home/aspose/pdf-examples/Samples/Artifacts/"...