TE Edit Control Java / HTML-JavaScript Help
Product page

TerSetWatermarkPict

Set the watermark picture.

boolean TerSetWatermarkPict( PictId, wash, repaint)
int PictId;Picture id
boolean wash;Show the watermark with a 'washed' look.
boolean repaint:Repaint the screen after this operation

Description: The picture can be an ID returned by any of these functions: TerPastePicture, TerInsertPictureFile, TerPictureFromFile, TerPictureFromWmf. The 'insert' argument for these function calls must be set to FALSE. To remove an existing picture background, call this function with the PictId set to 0. Call this function with the PictId set to -1 to show a dialog box to the user. This dialog box allows the user to select a picture file name.

Return Value: This function returns True when successful.