Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RasterImageListDrawItemEventArgs Constructor
See Also 
Leadtools.WinForms Namespace > RasterImageListDrawItemEventArgs Class : RasterImageListDrawItemEventArgs Constructor



graphics
The Graphics object into which the item should be drawn.
item
The RasterImageListItem to draw.
Initializes a new instance of the RasterImageListDrawItemEventArgs class with the given values.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal graphics As Graphics, _
   ByVal item As RasterImageListItem _
)
Visual Basic (Usage)Copy Code
Dim graphics As Graphics
Dim item As RasterImageListItem
 
Dim instance As RasterImageListDrawItemEventArgs(graphics, item)
C# 
public RasterImageListDrawItemEventArgs( 
   Graphics graphics,
   RasterImageListItem item
)
C++/CLI 
public:
RasterImageListDrawItemEventArgs( 
   Graphics graphics,
   RasterImageListItem^ item
)

Parameters

graphics
The Graphics object into which the item should be drawn.
item
The RasterImageListItem to draw.

Example

For an example, refer to RasterImageList.DrawItem.

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