Listar sellos
Contents
[
Hide
]
Listar sellos en una página
- Vincule el PDF de origen a la fachada
PdfContentEditor. - Llame
getStamps(pageNumber)para recuperar los sellos en la página de destino. - Inspeccione la colección
StampInfo[]devuelta.
public static void listStamps(Path inputFile) {
PdfContentEditor editor = new PdfContentEditor();
try {
editor.bindPdf(inputFile.toString());
StampInfo[] stamps = editor.getStamps(1);
System.out.println("Stamps on page 1: " + stamps.length);
} finally {
editor.close();
}
}