AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkImage.Choose Method

Presents the user with an option to choose an image stored on their current platform, for example a photo on a phone or an image saved on a PC.

Syntax
Pascal
class function Choose(const Owner: TAgkObject): TAgkImage; static;
Parameters 
Description 
const Owner: TAgkObject 
the object that will become owner of the chosen image (eg. a TAgkScene object). 

The image, or nil if the user cancelled the operation.

If the user cancels the operation nil will be returned. Otherwise their chosen image will be loaded into a new image.

Copyright (c) 2012. All rights reserved.