Hide Table of Contents
IPrintOut3 Method (IModelDocExtension)

Obsolete. Superseded by IModelDocExtension::PrintOut4.

.NET Syntax

Visual Basic (Declaration) 
Sub IPrintOut3( _
   ByVal ArraySize As System.Integer, _
   ByRef PageArray As System.Integer, _
   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 ArraySize As System.Integer
Dim PageArray As System.Integer
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.IPrintOut3(ArraySize, PageArray, Copies, Collate, Printer, PrintFileName, ConvertToHighQuality)
C# 
void IPrintOut3( 
   System.int ArraySize,
   ref System.int PageArray,
   System.int Copies,
   System.bool Collate,
   System.string Printer,
   System.string PrintFileName,
   System.bool ConvertToHighQuality
)
C++/CLI 
void IPrintOut3( 
&   System.int ArraySize,
&   System.int% PageArray,
&   System.int Copies,
&   System.bool Collate,
&   System.String^ Printer,
&   System.String^ PrintFileName,
&   System.bool ConvertToHighQuality
) 

Parameters

ArraySize
Number of pages to print (see Remarks)
PageArray
  • in-process, unmanaged C++: Pointer to an array of range of pages to print (see Remarks)
  • VBA, VB.NET, C#, and C++/CLI: Not supported

    See In-process Methods for details about this type of method.

  • 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 and ArraySize

    For a part or assembly, the ArraySize and PageArray arguments are 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 ArraySize = 0 or PageArray argument is NULL, the all sheets are 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:   IPrintOut3 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) 2018 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.