Leadtools.WinForms Namespace > RasterImageListItem Class > RasterImageListItem Constructor : RasterImageListItem Constructor(RasterImage,Int32,String) |
'Declaration Public Function New( _ ByVal image As RasterImage, _ ByVal page As Integer, _ ByVal text As String _ )
'Usage Dim image As RasterImage Dim page As Integer Dim text As String Dim instance As New RasterImageListItem(image, page, text)
If the image contains only one page, page must be 1.
The value of RasterImage.Page is not used to control the page number of the item to be viewed in this item. Instead, use the page parameter. This allow the same Leadtools.RasterImage object to be used in multiple items while setting the Page property to different values.