Hide Table of Contents
PrintRange Property (IPrintSpecification)

Gets or sets the range of pages to print.

.NET Syntax

Visual Basic (Declaration) 
Property PrintRange As System.Object
Visual Basic (Usage) 
Dim instance As IPrintSpecification
Dim value As System.Object
 
instance.PrintRange = value
 
value = instance.PrintRange
C# 
System.object PrintRange {get; set;}
C++/CLI 
property System.Object^ PrintRange {
   System.Object^ get();
   void set ( &   System.Object^ value);
}

Property Value

Array of first and last page numbers of a range to print (see Remarks)

Remarks

The array can contain multiple pairs of integers, each pair indicating the start and end pages of a range of pages to print. For example, to print sheets 1, 2, 3, 6, and 7 of a drawing, this array contains 2 pairs of page numbers { 1, 3, 6, 7 } indicating to print pages 1-3 and 6-7. To print only page 6, this array is { 6, 6 }.

Instead of calling this method to set the print ranges, call IPrintSpecification::AddPrintRange for each range of pages you want to print.

See Also

Availability

SOLIDWORKS 2015 FCS, Revision Number 23.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:   PrintRange Property (IPrintSpecification)
*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) 2015 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.