I came upon one problem. I made a program which sets watermarks. It is working well, but we have some documents which looks like normal A4 0 degree rotation and they are not