Redigeeri

Jagamisviis:


PrinterSettings.Copies Property

Definition

Gets or sets the number of copies of the document to print.

public:
 property short Copies { short get(); void set(short value); };
public short Copies { get; set; }
member this.Copies : int16 with get, set
Public Property Copies As Short

Property Value

The number of copies to print. The default is 1.

Exceptions

The value of the Copies property is less than zero.

Remarks

Not all printers support printing multiple copes. You can use the MaximumCopies property to determine the maximum number of copies the printer supports. If the number of copies is set higher than the maximum copies supported by the printer, only the maximum number of copies will be printed, and no exception will occur.

Note

Some printers might not support printing more than one copy at a time.

Applies to

See also