共用方式為


PrintOptions.NumberOfCopies Property

Returns or sets the number of copies of a presentation to be printed. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property NumberOfCopies As Integer
    Get
    Set
'Usage
Dim instance As PrintOptions
Dim value As Integer

value = instance.NumberOfCopies

instance.NumberOfCopies = value
int NumberOfCopies { get; set; }

Property Value

Type: System.Int32

Remarks

Specifying a value for the Copies argument of the PrintOut(Int32, Int32, String, Int32, MsoTriState) method sets the value of this property. The default value is 1.

See Also

Reference

PrintOptions Interface

PrintOptions Members

Microsoft.Office.Interop.PowerPoint Namespace