Hide Table of Contents
PrintOut3 Method (IModelDocExtension)

Obsolete. Superseded by IModelDocExtension::PrintOut4.

.NET Syntax

Visual Basic (Declaration) 
Sub PrintOut3( _
   ByVal PageArray As System.Object, _
   ByVal Copies As System.Integer, _
   ByVal Collate As System.Boolean, _
   ByVal Printer As System.String, _
   ByVal PrintFileName As System.String, _
   ByVal ConvertToHighQuality As System.Boolean _
) 
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim PageArray As System.Object
Dim Copies As System.Integer
Dim Collate As System.Boolean
Dim Printer As System.String
Dim PrintFileName As System.String
Dim ConvertToHighQuality As System.Boolean
 
instance.PrintOut3(PageArray, Copies, Collate, Printer, PrintFileName, ConvertToHighQuality)
C# 
void PrintOut3( 
   System.object PageArray,
   System.int Copies,
   System.bool Collate,
   System.string Printer,
   System.string PrintFileName,
   System.bool ConvertToHighQuality
)
C++/CLI 
void PrintOut3( 
&   System.Object^ PageArray,
&   System.int Copies,
&   System.bool Collate,
&   System.String^ Printer,
&   System.String^ PrintFileName,
&   System.bool ConvertToHighQuality
) 

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
ConvertToHighQuality
True to convert to high quality, false to leave as draft quality

Remarks

This method supports printing parts, assemblies, and both single and multisheet drawings.

PageArray

For a part or assembly, the PageArray argument is ignored. No dialogs or message boxes are displayed.

PageArray contains any number of pairs of values, each pair indicating the start page and end page of a range of pages to print. For example, to print sheets 1, 2, 3, 6, and 7 of a drawing, the array should contain 4 elements; 1, 3, 6, 7. This means to print pages 1-3 and 6-7.  A range can be 5, 5, which means to print just page 5. If the array contains only one value, only that page is printed. If that one element is 0, then all sheets are printed.

If PageArray is an empty array, then all sheets are printed. Also, the array can contain just one value, rather than an array, in which case only that page is printed.

 

PrintFileName

To print to a file instead to a printer, set PrintFileName to a non-empty name.

If the PrintFileName is empty, then the document is printed to the printer specified in Printer. If that string is empty, then the document is printed to the default printer for this document. Use IModelDoc2::Printer to get or set this value.

 

See Also

Availability

SOLIDWORKS 2011 FCS, Revision Number 19.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   PrintOut3 Method (IModelDocExtension)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.