Viscom Software Image Thumbnail CP ActiveX Control

SetClipInfo Method

Description:   

Set the image clip file path and caption at specifies index.

Usage:   

ImageThumbnailCP1.SetClipInfo Parameter1,Parameter2 ,Parameter3

Return Value:

Return true - successful , Return false - Failure.

Parameter:

Parameter1 - the index of image clip you want change. (Data Type: Integer)

Parameter2 - the file path of image clip you want load the image. (Data Type: String)

Parameter3 - the caption of image clip you want change. (Data Type: String)

 

 

Example:   

This Visual Basic example change the image clip's image of  the index 2 :

Private Sub cmdChange_Click()     

ImageThumbnailCP1.SetClipInfo  2 ,"c:\abc.bmp", ""

End Sub