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.
Unfortunately, activation email could not send to your email. Please try again.

Global setting for PdfGraphicsUnit

Thread ID:





130488 May 15,2017 02:10 PM May 16,2017 08:26 AM Xamarin.Forms 1
Tags: PDF
Slobodan Babic
Asked On May 15, 2017 02:10 PM

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.

Sasi Kumar Sekar [Syncfusion]
Replied On May 16, 2017 08:26 AM

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:


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

Sasi Kumar S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.