Hi,
I've been trying to trim document in order to reduce its size without scaling content.
Ex. I got page 20 x 30cm and I'd like to trim it to 18 x 30cm, which means cut out those 2cm with all content.
I managed to do so on the right side and top of the document using:
Code:
page.TrimMargins.Right = someValue; //someValue is XUnit obj.
page.TrimMargins.Top = someValue;
Unfortunately, when trying to trim left side or bottom it still trims right and top.
I've found couple sample codes and they all look similar to mine (there's really not much that could go wrong), so I suspect it might be bug.
Can anyone help please?