PDFView4NET WinForms Edition
PrintRanges Property (PDFPrintSettings)




O2S.Components.PDFView4NET.Printing Namespace > PDFPrintSettings Class : PrintRanges Property
Gets or sets the ranges of pages to print.
Syntax
'Declaration
 
Public Property PrintRanges As String
'Usage
 
Dim instance As PDFPrintSettings
Dim value As String
 
instance.PrintRanges = value
 
value = instance.PrintRanges
public string PrintRanges {get; set;}
public: __property string* get_PrintRanges();
public: __property void set_PrintRanges( 
   string* value
);
public:
property String^ PrintRanges {
   String^ get();
   void set (    String^ value);
}

Property Value

Multiple page ranges, separated by comma.
Remarks
Use this property to print multiple page ranges, because the PrinterSettings object allows to print only a single continuous page range. When this property is set, the System.Drawing.Printing.PrinterSettings.PrintRange property is ignored. Values accepted by this property look like this: "1-3,5,7,9-12". If a range is not valid, those pages are not printed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPrintSettings Class
PDFPrintSettings Members