PrintCopies property

Microsoft Visio Developer Reference

PrintCopies property

   Example   

Specifies the number of copies to print.

Version added

2002

Syntax

intRet = object.PrintCopies
object.PrintCopies = intValue

intRet

Long. The current number of copies.

object

Required. An expression that returns a Document object.

intValue

Required Long. The new number of copies.

Remarks

The PrintCopies property corresponds to the Number of copies box in the Print dialog box (click Print on the File menu).