We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Global setting for PdfGraphicsUnit

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.

1 Reply

SK Sasi Kumar Sekar Syncfusion Team May 16, 2017 12:26 PM UTC

Hi Slobodan,

Thank you for contacting Syncfusion support,
 
Currently we do not have support to use the different graphics unit type in PDF document. We have added it to our feature request list, and it can be tracked through our Features Management System:

https://www.syncfusion.com/support/directtrac/features/XAMARIN-7638
 

We will be implementing this feature in any of the upcoming release and will let you know. 

Regards,
Sasi Kumar S.
 


Loader.
Up arrow icon