TOC : Script API > JavaScript > JavaScript API > Component > PDFDocument > Method >

 

SetBindingOrderList

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > PDFDocument > Method >

 

SetBindingOrderList

 

 

Sets the binding order of PDFPages added to the PDFDocument.

 

 

 

Prototype :

 

void SetBindingOrderList

(

        string BindingOrderList

)

 

 

 

Arguments :

 

BindingOrderList

PDFPages binding order list

 

 

 

Reference :

 

PDFPage names are separated by comma(,) in the list.

 

SetBindingOrderList() can be used to set not only the binding order of PDFPages but also some PDFPages to be excluded from binding. For example when PDFPage1, PDFPage2, PDFPage3 are designed in sequence, to bind PDFPage1, PDFPage3 in sequence, excluding PDFPage2, create script as below:

     This.SetBindingOrderList("PDFPage3,PDFPage1");

 

But if a report is once excluded, it cannot be bound never again:

This.SetBindingOrderList("PDFPage3,PDFPage1");

This.SetBindingOrderList("PDFPage3,PDFPage1,PDFPage2");

The second line won't bind PDFPage2.

 

 

 

Example :

 

This.SetBindingOrderList("PDFPage3,PDFPage1,PDFPage2");

 

 

 

Available Events :

 

OnInitialize