PrintTicket.CopyCount PrintTicket.CopyCount PrintTicket.CopyCount PrintTicket.CopyCount Property


Gets or sets the number of copies for the print job.

 property Nullable<int> CopyCount { Nullable<int> get(); void set(Nullable<int> value); };
public Nullable<int> CopyCount { get; set; }
member this.CopyCount : Nullable<int> with get, set
Public Property CopyCount As Nullable(Of Integer)

Property Value

A nullable Int32 value that specifies how many copies to print.


Calling code has attempted to set the property to a value less than 1.


A null value for this property means that this feature setting is not specified. Also, when the value is null, the XML versions of the PrintTicket (see SaveTo and GetXmlStream) will not contain any markup for this feature.

This property corresponds to the Print Schema's JobCopiesAllDocuments keyword, not the DocumentCopiesAllPages keyword, or the PageCopies keyword.

You can test for the printer's maximum by using the MaxCopyCount property.

Applies to