I want to scale contents of my pdf page when i resize the page.
double height = doc.getPages().get_Item(1).getPageRect(true).getHeight();
double width = doc.getPages().get_Item(1).getPageRect(true).getWidth();
I want to set size of one pdf file according the size of another pdf and this code does help me crop the page to the size i require. However, i want the contents to resize according to the size as well. Kindly guide me how i can achieve that