TOC : Script API > JavaScript > JavaScript API > Component > Band > DummyHeaderBand > Method >

 

IsSpaceRemained

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Band > DummyHeaderBand > Method >

 

IsSpaceRemained

 

 

Indicates whether there is available space of given height in the current page.

 

 

 

Prototype :

 

bool IsSpaceRemained

(

        double Height

)

 

 

 

Arguments :

 

Height

If set height to zero or negative value, band's height will be applied by default

 

 

 

Reference :

 

Use IsSpaceRemained() before band binding to see  if the band is going to be printed on the next page. If IsSpaceRemained(0) returns false, the band is going to be printed on the next page.

 

 

 

Example :

 

if(This.IsSpaceRemained(100) == true) {

  _TraceLn("true");

} else {

  _TraceLn("false");

}

 

 

 

Available Events :

 

OnBind