AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkImage.GetImageByID Method

If you only have an internal AGK image ID, then you can use this function to get the image object for this ID.

Syntax
Pascal
class function GetImageByID(const ID: Integer): TAgkImage; static;
Parameters 
Description 
const ID: Integer 
The ID for which you want to retrieve the image object. 

The image object with the given ID, or nil if no image with that ID exists.

The returned object may be a newly created image object in case the image with the given ID was internally created by AGK.

Copyright (c) 2012. All rights reserved.