Image::validResource Method

Determines whether the resource specified by the id parameter is valid.

Syntax

client public static int validResource(int id)

Run On

Client

Parameters

  • id
    Type: int
    The ID of the resource that you want to check.

Return Value

Type: int
0 if the ID is valid.

See Also

Image Class

Image::canLoad Method