Split PDF files...

Hello, sorry for this question: is there a way to split a pdf file
containing data matrix, splitting the pdf at the page in which the
data matrix is contained?

Thank you very much.

There are a few ways to split a page. These forums contain a number of different posts handling different cases of splitting.

The most flexible way would be follow the ElementEdit sample, but have two ElementWriters, one writing to the original page, and the other new page.

A simple, but less flexible way, would be to crop the source page, and use it with Stamper.StampPage to stamp to a new page. Then adjust the crop of the original page to show only what you want there. This will bloat the file somewhat as some content is duplicated possibly, and hidden content is still present.