FMX.MediaLibrary.Actions.TTakePhotoFromLibraryAction

From RAD Studio API Documentation
Jump to: navigation, search

FMX.MediaLibrary.Actions.TCustomTakePhotoActionFMX.StdActns.TSysCommonActionFMX.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionTTakePhotoFromLibraryAction

Delphi

TTakePhotoFromLibraryAction = class(TCustomTakePhotoAction)

C++

class PASCALIMPLEMENTATION TTakePhotoFromLibraryAction : public TCustomTakePhotoAction

Properties

Type Visibility Source Unit Parent
class public
FMX.MediaLibrary.Actions.pas
FMX.MediaLibrary.Actions.hpp
FMX.MediaLibrary.Actions FMX.MediaLibrary.Actions

Description

TTakePhotoFromLibraryAction is the standard action for taking photos from the local library of the device.

Write an event handler for OnDidFinishTaking to manage the taken photo.

When clicking on the control to which a TTakePhotoFromLibraryAction is attached, the library window is displayed and allows the user to choose the photo to be used.

TTakePhotoFromLibraryAction can be found in Action List editor in the Media Library section.

See Also

Code Examples