DocumentClass.PrintOut Method 

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim Background As Object
Dim Append As Object
Dim Range As Object
Dim OutputFileName As Object
Dim From As Object
Dim To As Object
Dim Item As Object
Dim Copies As Object
Dim Pages As Object
Dim PageType As Object
Dim PrintToFile As Object
Dim Collate As Object
Dim ActivePrinterMacGX As Object
Dim ManualDuplexPrint As Object
Dim PrintZoomColumn As Object
Dim PrintZoomRow As Object
Dim PrintZoomPaperWidth As Object
Dim PrintZoomPaperHeight As Object
Dim documentClass1 As DocumentClass
documentClass1.PrintOut(Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight)

Syntax

Public Overridable Sub PrintOut( _
    <InAttribute()> Optional ByRef Background As Object, _
    <InAttribute()> Optional ByRef Append As Object, _
    <InAttribute()> Optional ByRef Range As Object, _
    <InAttribute()> Optional ByRef OutputFileName As Object, _
    <InAttribute()> Optional ByRef From As Object, _
    <InAttribute()> Optional ByRef To As Object, _
    <InAttribute()> Optional ByRef Item As Object, _
    <InAttribute()> Optional ByRef Copies As Object, _
    <InAttribute()> Optional ByRef Pages As Object, _
    <InAttribute()> Optional ByRef PageType As Object, _
    <InAttribute()> Optional ByRef PrintToFile As Object, _
    <InAttribute()> Optional ByRef Collate As Object, _
    <InAttribute()> Optional ByRef ActivePrinterMacGX As Object, _
    <InAttribute()> Optional ByRef ManualDuplexPrint As Object, _
    <InAttribute()> Optional ByRef PrintZoomColumn As Object, _
    <InAttribute()> Optional ByRef PrintZoomRow As Object, _
    <InAttribute()> Optional ByRef PrintZoomPaperWidth As Object, _
    <InAttribute()> Optional ByRef PrintZoomPaperHeight As Object _
)
public virtual void PrintOut(
    [In, Optional] ref object Background, 
    [In, Optional] ref object Append, 
    [In, Optional] ref object Range, 
    [In, Optional] ref object OutputFileName, 
    [In, Optional] ref object From, 
    [In, Optional] ref object To, 
    [In, Optional] ref object Item, 
    [In, Optional] ref object Copies, 
    [In, Optional] ref object Pages, 
    [In, Optional] ref object PageType, 
    [In, Optional] ref object PrintToFile, 
    [In, Optional] ref object Collate, 
    [In, Optional] ref object ActivePrinterMacGX, 
    [In, Optional] ref object ManualDuplexPrint, 
    [In, Optional] ref object PrintZoomColumn, 
    [In, Optional] ref object PrintZoomRow, 
    [In, Optional] ref object PrintZoomPaperWidth, 
    [In, Optional] ref object PrintZoomPaperHeight
);
public: Void PrintOut(
    &Object^ Background, 
    &Object^ Append, 
    &Object^ Range, 
    &Object^ OutputFileName, 
    &Object^ From, 
    &Object^ To, 
    &Object^ Item, 
    &Object^ Copies, 
    &Object^ Pages, 
    &Object^ PageType, 
    &Object^ PrintToFile, 
    &Object^ Collate, 
    &Object^ ActivePrinterMacGX, 
    &Object^ ManualDuplexPrint, 
    &Object^ PrintZoomColumn, 
    &Object^ PrintZoomRow, 
    &Object^ PrintZoomPaperWidth, 
    &Object^ PrintZoomPaperHeight
);
public void PrintOut(
    /*in*/System.Object Background, 
    /*in*/System.Object Append, 
    /*in*/System.Object Range, 
    /*in*/System.Object OutputFileName, 
    /*in*/System.Object From, 
    /*in*/System.Object To, 
    /*in*/System.Object Item, 
    /*in*/System.Object Copies, 
    /*in*/System.Object Pages, 
    /*in*/System.Object PageType, 
    /*in*/System.Object PrintToFile, 
    /*in*/System.Object Collate, 
    /*in*/System.Object ActivePrinterMacGX, 
    /*in*/System.Object ManualDuplexPrint, 
    /*in*/System.Object PrintZoomColumn, 
    /*in*/System.Object PrintZoomRow, 
    /*in*/System.Object PrintZoomPaperWidth, 
    /*in*/System.Object PrintZoomPaperHeight
);
public function PrintOut(
     Background : Object, 
     Append : Object, 
     Range : Object, 
     OutputFileName : Object, 
     From : Object, 
     To : Object, 
     Item : Object, 
     Copies : Object, 
     Pages : Object, 
     PageType : Object, 
     PrintToFile : Object, 
     Collate : Object, 
     ActivePrinterMacGX : Object, 
     ManualDuplexPrint : Object, 
     PrintZoomColumn : Object, 
     PrintZoomRow : Object, 
     PrintZoomPaperWidth : Object, 
     PrintZoomPaperHeight : Object
);

Parameters

  • Background
    This parameter is intended for internal use only.
  • Append
    This parameter is intended for internal use only.
  • Range
    This parameter is intended for internal use only.
  • OutputFileName
    This parameter is intended for internal use only.
  • From
    This parameter is intended for internal use only.
  • To
    This parameter is intended for internal use only.
  • Item
    This parameter is intended for internal use only.
  • Copies
    This parameter is intended for internal use only.
  • Pages
    This parameter is intended for internal use only.
  • PageType
    This parameter is intended for internal use only.
  • PrintToFile
    This parameter is intended for internal use only.
  • Collate
    This parameter is intended for internal use only.
  • ActivePrinterMacGX
    This parameter is intended for internal use only.
  • ManualDuplexPrint
    This parameter is intended for internal use only.
  • PrintZoomColumn
    This parameter is intended for internal use only.
  • PrintZoomRow
    This parameter is intended for internal use only.
  • PrintZoomPaperWidth
    This parameter is intended for internal use only.
  • PrintZoomPaperHeight
    This parameter is intended for internal use only.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

DocumentClass Class
Microsoft.Office.Interop.Word Namespace

Other Resources

DocumentClass Members