为打印窗口创建新的自定义设置 [英] create new custom setting to printing window

查看:94
本文介绍了为打印窗口创建新的自定义设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Heloo guys。

Heloo guys.

我正在看这个快速入门  http://msdn.microsoft.com/en-us/library/windows/apps/hh761450.aspx  其中显示了如何将自定义列表设置添加到打印窗口。
我注意到我可以添加一个"文本"通过使用createTextOption方法进行设置,我将在打印窗口中输入一个输入文本框。

I'm looking at this quickstart http://msdn.microsoft.com/en-us/library/windows/apps/hh761450.aspx which shows how to add a custom list setting to the print window. I've noticed that I can add a "text" setting by using the createTextOption method and I'll get an input text box in the print windows.

现在问题:是否有机会创建一个使用不同输入类型的新条目输入值?例如,我可以创建一个自定义设置,看起来像是为副本数量显示的设置吗?我注意到PrintCustomTextOptionsDetail
类有一个type属性,但它似乎是只读的,我没有找到任何能够改变该属性值的方法。

Now the question: Is there any chance to create a new entry which uses a different input type for entering the values? For instance, can I create a custom setting which looks like the one that is shown for the number of copies? I've noticed that the PrintCustomTextOptionsDetail class has a type property, but it seems to be read only and I haven't found any method which is able to change the value of that property.

那么,关于如何添加一个新的定义条目的想法,看起来像呈现给用户的页面数量?谢谢。

so, any ideas on how I can add a new definition entry which looks like the number of pages field presented to the user? thanks.

Luis Abreu

Luis Abreu

推荐答案

所以你想要一个文本框和然后是旁边的静态文本?

So you want a text box and then static text next to it?


这篇关于为打印窗口创建新的自定义设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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