LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

RasterImageListItem Constructor(RasterImage,Int32,String)






A Leadtools.RasterImage object that specifies the image to be displayed in the item.
The page number (1-based) if the image has multiple pages.
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
public RasterImageListItem( 
   RasterImage image,
   int page,
   string text
)
'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)
public RasterImageListItem( 
   RasterImage image,
   int page,
   string text
)
function RasterImageListItem( 
   image ,
   page ,
   text 
)
public:
RasterImageListItem( 
   RasterImage^ image,
   int page,
   String^ text
)

Parameters

image
A Leadtools.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.
Remarks

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.

Example
For an example, refer to RasterImageList.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageListItem Class
RasterImageListItem Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.