แชร์ผ่าน


Imagelist.draw Method

Definition

Overloads

draw(Int32, Int32, Int32, Int32, Boolean)
draw(Int32, Int32, Int32, Int32)

Draws an image list item in the specified device context.

draw(Int32, Int32, Int32, Int32, Boolean)

public:
 virtual void draw(int _HDC, int _imageIdx, int _x, int _y, bool _transparent);
public virtual void draw (int _HDC, int _imageIdx, int _x, int _y, bool _transparent);
abstract member draw : int * int * int * int * bool -> unit
override this.draw : int * int * int * int * bool -> unit
Public Overridable Sub draw (_HDC As Integer, _imageIdx As Integer, _x As Integer, _y As Integer, _transparent As Boolean)

Parameters

_HDC
Int32

A Boolean value that indicates whether the image is drawn transparently by using the mask, regardless of background color; optional.

_imageIdx
Int32

A Boolean value that indicates whether the image is drawn transparently by using the mask, regardless of background color; optional.

_x
Int32

A Boolean value that indicates whether the image is drawn transparently by using the mask, regardless of background color; optional.

_y
Int32

A Boolean value that indicates whether the image is drawn transparently by using the mask, regardless of background color; optional.

_transparent
Boolean

A Boolean value that indicates whether the image is drawn transparently by using the mask, regardless of background color; optional.

Applies to

draw(Int32, Int32, Int32, Int32)

Draws an image list item in the specified device context.

public:
 virtual void draw(int num1, int num2, int num3, int num4);
public virtual void draw (int num1, int num2, int num3, int num4);
abstract member draw : int * int * int * int -> unit
override this.draw : int * int * int * int -> unit
Public Overridable Sub draw (num1 As Integer, num2 As Integer, num3 As Integer, num4 As Integer)

Parameters

num1
Int32
num2
Int32
num3
Int32
num4
Int32

Applies to