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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Remove empty left empty space (margin)

Thread ID:

Created:

Updated:

Platform:

Replies:

142007 Jan 14,2019 04:22 PM UTC Jan 17,2019 09:00 AM UTC UWP 3
loading
Tags: SfPdfViewer
Emanuel
Asked On January 14, 2019 04:22 PM UTC

Hi, How to remove empty left space into viewer?
My goal is to align the document content in left side and in resize not re-position the document content using automatically margin and not zooming document.
Thank you

Emanuel 



Sathish Sivakumar [Syncfusion]
Replied On January 16, 2019 11:00 AM UTC

Hi Emanuel, 
 
Greetings from Syncfusion. 
 
Please find the details in the below table: 
 
Query 
Response 
My goal is to align the document content in left side 
At present we do not support to align the PDF document to the right or left of the PDF Viewer, so we cannot remove the empty space in the left side.  
 
However we can fit the PDF document with respect to the width of the PDF Viewer using the ViewMode options to fill the left and right side of the empty space present in PDF Viewer.  
 
Please find the documentation link below to know more details of the ViewMode options 
 
 
While setting the ViewMode options to FitWidth, the PDF document scales with respect to the width of PDF Viewer. 
in resize not re-position the document content using automatically margin and not zooming document. 
Please confirm if you mean application window resizing (i.e. Minimizing or Maximizing)? If not,  provide more details on the requirement "resizing" 
 
Regards, 
Sathish 


Emanuel
Replied On January 16, 2019 03:03 PM UTC

Hi Sathish,
I saw that with FitWith the PDF document scales with respect to the width of PDF Viewer but my goal is to keep the pdf document size fixed without scaling / resize.
When I resize my page the size  of content pdfviewer not change.

Is there then how to calculate the size to be given to the viewer equal to the width of the pdf with 100% zoom? Or do I have to calculate it myself and set the fixed width?

In my project I used an InkCanvas control over the pdfviewer to write with the pen. But when you resize the page the pdfviewer "repositions" the pdf document (moving it to the left or right) and then the InkStrokes no longer correspond with the document.

I hope I have made you understand my need.

Thank you

Emanuel

Sathish Sivakumar [Syncfusion]
Replied On January 17, 2019 09:00 AM UTC

Hi Emanuel, 
Thanks for your update. 
The provided details are not enough for us to analyze your requirement. So, we have created a support incident under your account to track the status of your requirement. Please log on to our support website to check for further updates  
  
Regards, 
Sathish 


CONFIRMATION

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;