简体   繁体   中英

XPSDocument Writer in Graysacale

我正在使用XPSDocumentWriter在c#中创建XPS文档,如果我必须用灰度(即黑白)编写XPSDocument,我有哪些选择。

You need to use a method of XPSDocumentWriter which takes a PrintTicket which in turn must be setup with OutputColor = OutputColor.Grayscale;

For details and sample code see http://msdn.microsoft.com/en-us/library/system.printing.printticket.outputcolor.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM