如何更改XPS文件缩略图? [英] How to Change XPS file thumbnails?

查看:172
本文介绍了如何更改XPS文件缩略图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!



我有许多XPS文件,其页面是空白的。

如何将这些缩略图更改为其他(custom) )通过c#页面?



TNX!

hi!

I have many XPS files that fist pages is blank.
How can i change these thumbnail to anothther (custome) page via c#?

TNX!

推荐答案

1。将XPS文件解压缩到您自己的临时文件夹

2.用新的自定义替换原始缩略图文件

例如在我的项目中:

const string thumbFile = @\Documents\1\Metadata\Page1_Thumbnail.JPG;



3.通过Zip将所有临时内容重新打包到新的XPS。





_______________________________________________________

我是伊朗人,我的语言是波斯语。

对不起如果我的英语很差!
1. Extract XPS File to your own temp folder
2. Replace original thumbnail file with new custom
for example in my project :
const string thumbFile = @"\Documents\1\Metadata\Page1_Thumbnail.JPG";

3. Repack all content of temp to new XPS via Zip.


_______________________________________________________
I'm iranian and my Language is Persian.
Sorry if my English is very Poor!


这篇关于如何更改XPS文件缩略图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆