Share via


Image.displayImage Method

Draws an image with the device context specified by the HDC parameter.

Syntax

public int displayImage(
    int64 HDC, 
   [int Mode, 
    int Xpos, 
    int Ypos, 
    int Width, 
    int Height])

Run On

Client

Parameters

  • HDC
    Type: int64
    The handle provided by the Microsoft Windows operating environment to the device context of an object.
  • Mode
    Type: int
    Optional parameter.
  • Xpos
    Type: int
    Optional parameter.
  • Ypos
    Type: int
    Optional parameter.
  • Width
    Type: int
    Optional parameter.
  • Height
    Type: int
    Optional parameter.

Return Value

Type: int
0 indicates success; otherwise, failure.

See Also

Reference

Image Class