Set border on a Page in a Document

if I have the following code, how could I create a Border around the page?

Document doc = new Document();
Page page = doc.getPages().add();

Thanks

Hi Mark,


Thanks for contacting support.

I am afraid requested feature is currently not supported. However for the sake of implementation, we have logged this requirement as PDFNEWJAVA-35354 in our issue tracking system. We will further look into the details of this requirement and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.