This is a migrated thread and some comments may be shown as answers.

Exported XPS File Size is too big

1 Answer 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chun Wai
Top achievements
Rank 1
Chun Wai asked on 16 Mar 2016, 02:43 AM

Reporting Version = Q3 2014

I created a A4 report with chinese font style (微軟正黑體), but the file size of exported XPS is around 3-4MB.

if under the circumstance of fixed font-style , how can I minimum the file size?

According to what I have found , the FontEmbedding config is for  PDF device only, any similar config for XPS device?

 

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 18 Mar 2016, 02:58 PM
Hi Chun,

As the XPS fonts must always be embedded, the only option we can suggest at the moment is reducing the file size programmatically.
You can specify Compression Option when initializing a new XpsDocument instance.

You can also use a third party library to compress large files.

We would also recommend reviewing Exporting Report Programmatically help article.


Regards,
Katia
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Chun Wai
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or