ImageOutput()

语法

OutputID = ImageOutput(#Image)
概要
Returns the OutputID of the image to perform 2D rendering operation on it.

参数

#Image The image to draw on.

返回值

Returns the output ID or zero if drawing is not possible. This value should be passed directly to the StartDrawing() function to start the drawing operation. The return-value is valid only for one drawing operation and cannot be reused.

示例

  StartDrawing(ImageOutput(#Image))
    ; do some drawing stuff here...
  StopDrawing()

Remarks

This command cannot be used with loaded icon files (*.ico).

参阅

StartDrawing()

已支持操作系统

所有

<- ImageID() - Image Index - ImageWidth() ->