Is there a way to set units of measurement once for given context (document, page, or graphics), so that all subsequent coordinates are interpreted in new units?
I'm comming from PdfSharp environment and there was a neat setting to do just that, i.e.
- //PdfSharp Eample
- PdfGraphics gfx = XGraphics.FromPdfPage(pdfpage, XGraphicsUnit.Millimeter);
and all subsequent method calls to gfx would interpret numbers as millimeters.
Maybe I'm missing something, but I can't find global (PdfGraphics - wise, PdfPage - wise, or even PdfDocument - wise) setting for PdfGraphicsUnit.
Thank you.