Viscom Software Image Thumbnail CP ActiveX Control

RemoveCustomType Method

Description:   

If you call AddCustomType method, you can call  RemoveCustomType to delete this  file formats.

Usage:   

ImageThumbnailCP1.RemoveCustomType Parameter1

Return Value:

Return true - successful , Return false - Failure.

Parameter:

Parameter1 - the file extension . (Data Type: String)

 

Example:   

This Visual Basic example Add the pdf file extension into thumbnail and remove it.

Private Sub cmdAdd_Click()     
   ImageThumbnailCP1.AddCustomType "pdf",  "c:\testpdf.jpg"
   ImageThumbnailCP1.RemoveCustomType "pdf"
End Sub