TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetWatermarkPict

Set the watermark picture.

bool TerSetWatermarkPict( PictId, wash, repaint)
int PictId;Picture id
bool wash;Show the watermark with a 'washed' look.
bool 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.