<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > GeneralScript > Page > Method >SetThumbnailForegroundImageURL |
Sets the URL of the foreground image displayed in the thumbnail and the page sorter window.
Prototype :
void SetThumbnailForegroundImageURL
(
string ThumbnailForegroundImageURL
)
Arguments :
ThumbnailForegroundImageURL |
URL of the foreground image |
Reference :
The configured foreground image is aligned to Isotropic and Center when displayed. To change the alignment style of the foreground image, use the SetThumbnailForegroundImageStyle function.
The available URLs for each viewer are as follows.
•ActiveX : http, ozp, file
•HTML5 : http, ozp
•Android, iOS : http, ozp, res
Example :
var objPage = ReportTemplate.GetCurrentPage();
if(objPage != null) {
objPage.SetThumbnailForegroundImageURL("ozp://img/logo.gif");
objPage.SetThumbnailForegroundImageStyle("Tile");
}
Available Events :
OnCheckValidity, OnClick, OnEndBind, OnFocus, OnKillFocus, OnLocationUpdated, OnValueChanged