Поделиться через


PresentationClass.PrintOut Method

A class in the Microsoft® .NET Framework or a member of such a class that is created when processing a COM coclass that managed code requires to interoperate with the corresponding COM object. Use this class only when you must access an earlier event in this class that has been extended in a later version of the product. Otherwise, use the interface in the .NET Framework that is derived from the COM coclass.

For information about the .NET interface, see Presentation.

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

Syntax

'Declaration
Public Overridable Sub PrintOut ( _
    From As Integer, _
    To As Integer, _
    PrintToFile As String, _
    Copies As Integer, _
    Collate As MsoTriState _
)
'Usage
Dim instance As PresentationClass
Dim From As Integer
Dim To As Integer
Dim PrintToFile As String
Dim Copies As Integer
Dim Collate As MsoTriState

instance.PrintOut(From, To, PrintToFile, _
    Copies, Collate)
public virtual void PrintOut(
    int From,
    int To,
    string PrintToFile,
    int Copies,
    MsoTriState Collate
)

Parameters

Implements

_Presentation.PrintOut(Int32, Int32, String, Int32, MsoTriState)

See Also

Reference

PresentationClass Class

PresentationClass Members

Microsoft.Office.Interop.PowerPoint Namespace