TOC : Script API > JavaScript > JavaScript API > GeneralScript > Page > Method >

 

SetPrintToNewPaper

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > GeneralScript > Page > Method >

 

SetPrintToNewPaper

 

 

Sets whether to print the specified page on a new paper for duplex printing.

 

 

 

Prototype :

 

void SetPrintToNewPaper

(

       bool PrintToNewPaper

)

 

 

 

Arguments :

 

PrintToNewPaper

set to true to print on a new paper

 

 

 

Example :

 

var objPage = ReportTemplate.GetCurrentPage();

if(objPage != null) {

  objPage.SetPrintToNewPaper(true);

}

 

 

 

Available Events :

 

OnAddToPage,  OnCheckValidity,  OnClick,  OnEndBind,  OnFocus,  OnKillFocus,  OnLocationUpdated,  OnValueChanged