Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
RasterImageListItem Constructor(RasterImage,Int32,String)
See Also 
Leadtools.WinForms Namespace > RasterImageListItem Class > RasterImageListItem Constructor : RasterImageListItem Constructor(RasterImage,Int32,String)




image
An RasterImage object that specifies the image to be displayed in the item.
page
The page number (1-based) if the image has multiple pages.
text
The text to display for the item.
Initializes a new instance of the RasterImageListItem class with an image, its page and the text to be displayed.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal image As RasterImage, _
   ByVal page As Integer, _
   ByVal text As String _
)
Visual Basic (Usage)Copy Code
Dim image As RasterImage
Dim page As Integer
Dim text As String
 
Dim instance As RasterImageListItem(image, page, text)
C# 
public RasterImageListItem( 
   RasterImage image,
   int page,
   string text
)
Managed Extensions for C++ 
public: RasterImageListItem( 
   RasterImage image,
   int page,
   string* text
)
C++/CLI 
public:
RasterImageListItem( 
   RasterImage image,
   int page,
   String^ text
)

Parameters

image
An RasterImage object that specifies the image to be displayed in the item.
page
The page number (1-based) if the image has multiple pages.
text
The text to display for the item.

Example

For an example, refer to RasterImageList.

Remarks

If image contains only one page, page must be 1.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also