Exported XPS File Size is too big

2 posts, 0 answers
  1. Chun Wai
    Chun Wai avatar
    1 posts
    Member since:
    Jul 2012

    Posted 15 Mar 2016 Link to this post

    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?


  2. Katia
    Katia avatar
    598 posts

    Posted 18 Mar 2016 Link to this post

    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.

    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
Back to Top