Partager via


PrintRanges.Add Method

Returns a PrintRange object that represents a new print range to be added to the PrintRanges collection.

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

Syntax

'Declaration
Function Add ( _
    Start As Integer, _
    End As Integer _
) As PrintRange
'Usage
Dim instance As PrintRanges
Dim Start As Integer
Dim End As Integer
Dim returnValue As PrintRange

returnValue = instance.Add(Start, End)
PrintRange Add(
    int Start,
    int End
)

Parameters

  • Start
    Type: System.Int32
    The number of the slide that is the starting slide in the range.
  • End
    Type: System.Int32
    The number of the slide that is the ending slide in the range.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.PrintRange

See Also

Reference

PrintRanges Interface

PrintRanges Members

Microsoft.Office.Interop.PowerPoint Namespace