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

 

SetThumbnailForegroundImageStyle

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

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

 

SetThumbnailForegroundImageStyle

 

 

Sets the position and alignment style of the foreground image displayed in the thumbnail and the page sorter window.

 

 

 

Prototype :

 

void SetThumbnailForegroundImageStyle

(

       string ThumbnailForegroundImageStyle

)

 

 

 

Arguments :

 

ThumbnailForegroundImageStyle

refer to ImageAlignmentConst

 

 

 

Example :

 

//string

  var objPage = ReportTemplate.GetCurrentPage();

  if(objPage != null) {

     objPage.SetThumbnailForegroundImageURL("ozp://img/logo.gif");

     objPage.SetThumbnailForegroundImageStyle("Tile");

}

 

//constant

  var objPage = ReportTemplate.GetCurrentPage();

  if(objPage != null) {

     objPage.SetThumbnailForegroundImageURL("ozp://img/logo.gif");

     objPage.SetThumbnailForegroundImageStyle(ImageAlignmentConst.Tile);

}

 

 

 

Available Events :

 

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

 

 

 

See also :

 

ImageAlignmentConst