Prints the document, without displaying any dialogs or message boxes.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim PageArray As Object
Dim Copies As Integer
Dim Collate As Boolean
Dim Printer As String
Dim PrintFileName As String
instance.PrintOut2(PageArray, Copies, Collate, Printer, PrintFileName)
|
Parameters
- PageArray
- Range of pages to print (see Remarks)
- Copies
- Number of copies to print
- Collate
- True to collate copies, false to not
- Printer
- Name of the printer queue (see Remarks )
- PrintFileName
- Name of file to print to instead of Printer
Return Value
Version |
If... |
Then... |
OLE |
PageArray is an empty VARIANT |
|
COM |
ArraySize = 0 - or - PageArray argument is NULL |
All sheets are printed. |
Example
See Also
Availability
SolidWorks 2004 FCS, Revision Number 12.0