PrintQueue.IsDirect 属性

定义

获取一个值,该值指示队列是直接打印到打印机,还是先在后台处理文档,然后再打印。Gets a value that indicates whether the queue prints directly to the printer or spools documents first and then prints them.

public:
 property bool IsDirect { bool get(); };
public bool IsDirect { get; }
member this.IsDirect : bool
Public ReadOnly Property IsDirect As Boolean

属性值

如果队列直接打印到打印机,则为 true;否则为 falsetrue if the queue prints directly to the printer; otherwise, false.

注解

只能通过 Windows 通用打印对话框设置此属性。This property can be set only through the Windows common print dialog.

适用于