←Select platform

RasterImageListItem Constructor(RasterImage,Int32,String)

Summary

Initializes a new instance of the RasterImageListItem class with an image, its page and the text to be displayed.

Syntax

C#
VB
C++
public RasterImageListItem(  
   Leadtools.RasterImage image, 
   int page, 
   string text 
) 
Public Function New( _ 
   ByVal image As Leadtools.RasterImage, _ 
   ByVal page As Integer, _ 
   ByVal text As String _ 
) 
public: 
RasterImageListItem(  
   Leadtools.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
A Leadtools.RasterImage object that specifies the image to be displayed in the item.

text
The text to display for the item.

Remarks

If the

image
A Leadtools.RasterImage object that specifies the image to be displayed in the item.

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize