LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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 New 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also