Q&A from “File-Format Manipulation in Xamarin.Forms” | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (180).NET Core  (28).NET MAUI  (224)Angular  (113)ASP.NET  (49)ASP.NET Core  (81)ASP.NET MVC  (87)Azure  (41)Black Friday Deal  (1)Blazor  (234)BoldSign  (14)DocIO  (24)Essential JS 2  (110)Essential Studio  (199)File Formats  (72)Flutter  (135)JavaScript  (226)Microsoft  (121)PDF  (83)Python  (1)React  (105)Streamlit  (1)Succinctly series  (131)Syncfusion  (960)TypeScript  (33)Uno Platform  (3)UWP  (3)Vue  (46)Webinar  (53)Windows Forms  (59)WinUI  (72)WPF  (162)Xamarin  (159)XlsIO  (38)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (10)Business intelligence  (55)Button  (4)C#  (163)Chart  (145)Chart of the week  (57)Cloud  (15)Company  (440)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (73)Development  (676)Doc  (7)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (7)Essential Tools  (13)Excel  (43)Extensions  (23)File Manager  (7)Gantt  (20)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (519)Mobile MVC  (9)OLAP server  (2)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (45)Performance  (13)PHP  (2)PivotGrid  (5)Predictive Analytics  (6)Report Server  (3)Reporting  (8)Reporting / Back Office  (9)Rich Text Editor  (12)Road Map  (12)Scheduler  (54)Security  (5)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (32)Solution Services  (4)Spreadsheet  (11)SQL  (15)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (113)UI  (400)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (624)What's new  (337)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)

Q&A from “File-Format Manipulation in Xamarin.Forms” Webinar

On April 18, Syncfusion hosted a webinar on file-format manipulation in Xamarin.Forms. Product solutions specialist Aaron Melamed gave a thorough overview of the subject. In this blog post, we’d like to address the questions we received from the audience. To see the code samples for this presentation, please visit our GitHub page here. To view the recorded webinar, simply visit our YouTube page.

Why parse a string to set a date value?

It was done this way in this sample, but XlsIO just requires a DateTime object, so you can initialize it as desired.

Do developers use OData RESTful services to populate content in layouts created using the file, creation, layout, and handling capabilities you showed today?

Yes, this will work.

If I am the only developer/tester/etc., the Enterprise license should cover everything, correct?


Will the sample code will be available for download?

Yes, you can download the samples from the location below.

Can fonts be embedded in PDFs?

Yes, this is possible. Please refer to the sample linked below for more details.

Does this library work in .NET MVC, too?

Yes, these libraries are completely supported for ASP.NET MVC, as well.

Is it possible to preview other doc types?

Currently, we only have a viewer for PDF.

Are there functional limitations when using the community license?

No. The community license is a complete license.

When dealing with number formats, is there an enumerable or constants for the common formats, or do we have to use the string representation for all number formats?

Currently there is no enumerable or constants to set the format. We will look into providing them in the future.

Do you have plans for a Word viewer?

Since we support on the desktop, we will look into adding this to Xamarin as well, but not in the immediate future.

Do you have an image file manipulation library? Do you plan to add it? By this I mean will we be able to create an image file, set its contents by drawing shapes, add effects, etc.?

No, we do not have an image manipulation library and don’t have any existing plans to create one. However, we would love to further investigate if you can share more specific requirements regarding such a library. Please share your requirements through our support system.

Is it possible to convert a Syncfusion SfChart to a PDF?

Yes, it is possible to convert SfChart to an image and then insert the chart image into a PDF document.  Please refer to the sample linked below for more details.

When creating the PDF, is there an ability to create headers at the top of each page?

Yes, you can create headers that will appear on all pages. Please refer to the links below for more details.


Is it possible to create a Word document, but save it as a .docx and then as a PDF file?

Yes, this is possible, but you would need to do the conversion on the server using our server-side conversion libraries. Please refer to the sample linked below for more details.


Is there any enumeration for file sizes? A4, A2, and so on?

Yes, we provide support for predefined and custom page sizes in PDF.

Is it possible for a particular version of Syncfusion’s controls to not work with a particular version of Xamarin.Forms?

No, this should not occur.

How often do you update Syncfusion libraries?

We update as soon as new versions are available.

Are there any performance measurements for creating/manipulating?

We can send specific metrics but don’t have general metrics available. In general, on mobile devices you should be fine handling several thousand rows.

What are the min phone spec requirements to use this?

We don’t have additional support requirements. As long as Xamarin.Forms is supported, we should be good.

Is it possible to use templates?

Yes, templates are supported for all document libraries.

Do you support Named Ranges in Excel?

Yes. Please refer to the links below for more details.


Can I assume that you have native controls that work within the Xamarin framework as well?

Yes, all the file format libraries are .NET standard libraries, so they will work on all Xamarin platforms.

Is it possible to Preview Docx, Excel, or PPTx docs?

We already support this in our desktop libraries, but it is not available for Xamarin yet.

Does the Xamarin implementation of XlsIO still have the same bug/limitation that when the file is closed in Excel, it prompts the user to save the file even if no changes have been made due to the recalculation?

This happens when we write formula values into cells and Excel computes the values on opening the file. However, we evaluate formulas ourselves before writing to the Excel file in Xamarin, so this limitation does not exist in Xamarin. We have also provided the option to evaluate formulas before writing to file on desktop versions of the libraries, so this issue should not exist on desktops.

Is it possible to convert a created Excel file to PDF? Could this be a simpler solution for creating a PDF from structured data?

Yes, this is possible, but you would need to do the conversion on the server using our server-side conversion libraries. Please refer to the sample below for more details.


Is there any solution that you know of that supports crash reports for Xamarin.Forms applications? Fabric.io doesn’t support Xamarin as far as I know.

Please take a look at Xamarin Insights, linked below.

Is all that we saw here in the webinar available in the community license?


Is there any benchmarking for performance of PDF creation?

We can send specific metrics but don’t have general metrics available.

Does your license allow developers to build reporting solutions, basically reporting servers that render files and send them to clients?

Yes. We have a complete report server product. You can build your own as well.

Do you recommend Xamarin Studio or Visual Studio for professional app development for Mac? Which one will get more frequent updates?

We assume Visual Studio will get more updates going forward. At Syncfusion, we use both approaches and find them both to be good, so it really comes down to using your preferred operating system.

Do the components support insertions of one docx into another docx?

Yes. Please refer to the links below for more details.


When saving the .xls, .doc, or .ppt, the content type is a string. Is there a constant available for these values?

Currently we do not have it, but will look into providing it soon.

Can I read document inputs in the Word documents?

Yes, please refer to the links below for more details.


Do you have limitations with the file size in Excel or Word?

Nothing that we know of.

Can you import xml to Excel files?

Yes. Please refer to the sample linked below.

Do the PDFs have some watermark?

No, we do not insert any watermark. However, the library itself provides support for inserting your own watermarks when required. Please refer to the links below for more details.



Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed