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

SfPdfViewer - File size of the control

Thread ID:

Created:

Updated:

Platform:

Replies:

126257 Oct 4,2016 01:28 PM UTC Oct 21,2016 07:03 AM UTC UWP 6
loading
Tags: SfPdfViewer
Aki
Asked On October 4, 2016 01:28 PM UTC

Hi,
I have implemented SfPdfViewer into my app. The functionality looks very well so far although I just need a simple PDF viewing function.

However, I am concerning one thing which is the file size.
For an app package, this SfPdfViewer control increases the file size by 64 MB per platform. For the app bundle package of x86, x64 & ARM, it increases the file size by 123 MB.
I think the file size is too big especially phones although I am assuming there is no other way.

Do you have any thought on this point or any solution such as an alternative control?

Thank you in advance.

Sathish Sivakumar [Syncfusion]
Replied On October 6, 2016 12:47 PM UTC

Hi Akihiro, 
 
Thank you for using Syncfusion products. 
 
We have created a new support incident to follow up with the issue “Size of the SfPdfViewer control App Package is too big for phones” reported in this forum. Please log in to your Syncfusion account from the below link to know more details about your query in the incident: 
 
Please let us know if you need further assistance. 
 
Regards, 
Sathish

Aki
Replied On October 9, 2016 11:26 AM UTC

Dear Sathish,

I have updated the incident adding the further information and sample project fileset.

Best Regards,
Aki

Anastasios Moraitis
Replied On October 19, 2016 09:53 PM UTC

hi Aki, i have the same problem, what was the solution?
AM

Sathish Sivakumar [Syncfusion]
Replied On October 20, 2016 04:53 AM UTC

Hi Anastasios,  
Thank you for contacting Syncfusion support. 
The file size of app package for SfPdfViewer control becomes larger when you refer “Syncfusion Controls for UWP XAML” SDK in your project,  which contains complete collection of the assemblies of Syncfusion UWP controls. So we can refer only the necessary assemblies required for creating app package of SfPdfViewer control to overcome the reported problem.  
Please find the list of assemblies required to deploy the SfPdfViewer control in UWP: 
1.       Syncfusion.Pdf.UWP.dll  
2.       Syncfusion.SfPdfViewer.UWP.dll  
3.       Syncfusion.SfColorPickers.UWP.dll  
4.       Syncfusion.SfInput.UWP.dll  
5.       Syncfusion.SfRadialMenu.UWP.dll  
6.       Syncfusion.SfInput.UWP.dll  
You can refer these assemblies directly into your project and it can be available in the below location:  
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.5.1  
E,g: $system drive:\ Program Files (x86)\Syncfusion\Essential Studio\14.3.0.49\Assemblies for Universal Windows\10.0  
Please find the details of file size after creating app package for SfPdfViewer control by referring above assemblies in SfPdfViewerControl project below  
Package  
Platform  
File Size  
App Package  
x86  
16 MB  
X64  
16 MB  
ARM  
16 MB  
  
App bundle package  
 x86, x64 & ARM  
23 MB  
 
  
Please let us know if you need any other assistance.  
Regards,  
Sathish  


Anastasios Moraitis
Replied On October 20, 2016 08:26 AM UTC

Hi Anastasios,  
Thank you for contacting Syncfusion support. 
The file size of app package for SfPdfViewer control becomes larger when you refer “Syncfusion Controls for UWP XAML” SDK in your project,  which contains complete collection of the assemblies of Syncfusion UWP controls. So we can refer only the necessary assemblies required for creating app package of SfPdfViewer control to overcome the reported problem.  
Please find the list of assemblies required to deploy the SfPdfViewer control in UWP: 
1.       Syncfusion.Pdf.UWP.dll  
2.       Syncfusion.SfPdfViewer.UWP.dll  
3.       Syncfusion.SfColorPickers.UWP.dll  
4.       Syncfusion.SfInput.UWP.dll  
5.       Syncfusion.SfRadialMenu.UWP.dll  
6.       Syncfusion.SfInput.UWP.dll  
You can refer these assemblies directly into your project and it can be available in the below location:  
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.5.1  
E,g: $system drive:\ Program Files (x86)\Syncfusion\Essential Studio\14.3.0.49\Assemblies for Universal Windows\10.0  
Please find the details of file size after creating app package for SfPdfViewer control by referring above assemblies in SfPdfViewerControl project below  
Package  
Platform  
File Size  
App Package  
x86  
16 MB  
X64  
16 MB  
ARM  
16 MB  
  
App bundle package  
 x86, x64 & ARM  
23 MB  
 
  
Please let us know if you need any other assistance.  
Regards,  
Sathish  


thanks, if i do that, i should change this import? :  xmlns:syncfusion="using:Syncfusion.Windows.PdfViewer"

Sathish Sivakumar [Syncfusion]
Replied On October 21, 2016 07:03 AM UTC

Hi Anastasios, 
 
Please find the details for your query in the below table: 
 
Query 
Details 
 if i do that, i should change this import? :  xmlns:syncfusion="using:Syncfusion.Windows.PdfViewer" 
No, we need not change this import “using:Syncfusion.Windows.PdfViewer” in the project and it is the default namespace we need to use for referring SfPdfViewer control in project. 
 
We have also created a simple sample for displaying the PDF document in SfPdfViewer by referring only the required assemblies mentioned in our last update instead of referring the entire Syncfusion Controls for UWP XAML SDK and it can be download from the below link: 
 
 
 
Please let us know if you need further assistance. 
 
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

or the page will be automatically redirected to 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

;