Creates a thumbnail and adds it to the collection of thumbnail items.
'Declaration
Public Function CreateThumbnailItem( _
ByVal As String, _
ByVal As Integer, _
ByVal As ThumbnailType _
) As ThumbnailItem
'Usage
Dim instance As ThumbnailXpress
Dim filename As String
Dim pageNumber As Integer
Dim type As ThumbnailType
Dim value As ThumbnailItem
value = instance.CreateThumbnailItem(filename, pageNumber, type)
public ThumbnailItem CreateThumbnailItem(
string ,
int ,
ThumbnailType
)
public: ThumbnailItem* CreateThumbnailItem(
string* ,
int ,
ThumbnailType
)
public:
ThumbnailItem^ CreateThumbnailItem(
String^ ,
int ,
ThumbnailType
)
Parameters
- filename
- A string value which represents the file containing the thumbnail.
- pageNumber
- An integer value which represents the page in the image file for the current thumbnail.
- type
- A ThumbnailType which represents the type of thumbnail. If a parent or sub directory is specified, the PageNumber parameter is ignored and the Filename parameter should contain the directory path.
Return Value
The created thumbnail item.