@Markus1980Wien
We tried to convert the barcode rectangle to make it annotation friendly but we could not get any success:
RedactionAnnotation annot = new RedactionAnnotation(pdfDoc.Pages[i]
, new Aspose.Pdf.Rectangle(
pdfDoc.Pages[i].GetPageRect(true).Width - result.Region.Quadrangle.LeftBottom.X
, pdfDoc.Pages[i].GetPageRect(true).Height - result.Region.Quadrangle.LeftBottom.X
, pdfDoc.Pages[i].GetPageRect(true).Width - result.Region.Quadrangle.RightTop.X - 72
, pdfDoc.Pages[i].GetPageRect(true).Height - result.Region.Quadrangle.RightTop.Y - 72));
Therefore, an investigation ticket as PDFNET-53420 has been logged in our issue tracking system to analyze your requirements. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.
We are sorry for the inconvenience.