Share via


Imagelist.draw Method

Draws an image list item in the specified device context.

Syntax

public void draw(
    int HDC, 
    int imageIdx, 
    int x, 
    int y, 
   [boolean transparent])

Run On

Client

Parameters

  • HDC
    Type: int
    The handle to the image list.
  • imageIdx
    Type: int
    The index of the image to draw.
  • x
    Type: int
    Horizontal coordinate at which to draw in the specified device context.
  • y
    Type: int
    Vertical coordinate at which to draw in the specified device context.
  • transparent
    Type: boolean
    If set to true, the image is drawn transparently, using the mask, regardless of background color. This parameter is optional.

See Also

Reference

Imagelist Class