簡體   English   中英

VB.net打印顏色或黑白

[英]VB.net print color or black and white

我在vb.net中有這個代碼,它打印出一個word文檔:

 objWordApp.PrintOut(Range:=word.WdPrintOutRange.wdPrintCurrentPage, _
                            Item:=word.WdPrintOutItem.wdPrintDocumentContent, _
                            Copies:="1", _
                            Pages:="1")

如何添加是以彩色還是黑白打印?

我認為在VBA中使用類似.PageSetup.BlackAndWhite = False的東西,所以如果你的對象有智能感知,這可能會指向正確的方向。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM