1

I am setting bounds of pdfpage to crop the page. it crop the page but not the annotations applied to it.

page.setBounds(rect, for: .cropBox)

by this code annotation applied to page will show over the cropped page as in image

enter image description here

mkl
  • 90,588
  • 15
  • 125
  • 265
Spanix Dev
  • 101
  • 6

1 Answers1

2

This is standard behavior, annotations are not cropped by CropBox, only the page content is.

Mihai Iancu
  • 1,818
  • 2
  • 11
  • 10