СообЧа > База Знаний > Программирование > Visual Basic

Вопрос

Как пользоваться свойством Duplex класса Printer и какие параметры он может иметь?

Ответ

Duplex Property

Returns or sets a value that determines whether a page is printed on both sides (if the printer supports this feature). Not available at design time.

Syntax

object.Duplex [= value]

The Duplex property syntax has these parts:

Object An object expression that evaluates to an object in the Applies To list.
Value A value or constant that specifies the type of printing, as described in Settings.

Settings

;The settings for value are:

VbPRDPSimplex 1 Single-sided printing with the current orientation setting.
VbPRDPHorizontal 2 Double-sided printing using a horizontal page turn.
VbPRDPVertical 3 Double-sided printing using a vertical page turn.



Copyright © 2000-2004 Сообщество Чайников
Контактная информация